David Sterba writes:
> On Tue, Mar 18, 2014 at 01:48:00PM +0630, chandan wrote:
>> The earlier patchset posted by Chandra Seethraman was to get 4k
>> blocksize to work with ppc64's 64k PAGE_SIZE.
>
> Are we talking about metadata block sizes or data block sizes?
>
>> The root node of "tree root"
Signed-off-by: Aneesh Kumar K.V
---
fs/btrfs/acl.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/fs/btrfs/acl.c b/fs/btrfs/acl.c
index d16..6d1410e 100644
--- a/fs/btrfs/acl.c
+++ b/fs/btrfs/acl.c
@@ -60,8 +60,10 @@ static struct posix_acl *btrfs_get_acl(struct
Signed-off-by: Aneesh Kumar K.V
---
debugbtrfs/Makefile |2 +-
debugbtrfs/debug_btrfs.h |3 +
debugbtrfs/debug_tree.c | 107
debugbtrfs/pager.c | 49 +
lib/ctree.c | 22 ++--
lib/extent-tree.c| 10 +-
lib/print-tree.c
Signed-off-by: Aneesh Kumar K.V
---
debugbtrfs/cmds.c | 191
debugbtrfs/debug_btrfs_cmds.ct |3 +
lib/volumes.c | 16
lib/volumes.h | 12 +++
4 files changed, 206 insertions(+), 16 deletions
Signed-off-by: Aneesh Kumar K.V
---
debugbtrfs/Makefile|2 +-
debugbtrfs/debug_btrfs_cmds.ct | 24
debugbtrfs/debug_tree.c| 238
3 files changed, 263 insertions(+), 1 deletions(-)
create mode 100644 debugbtrfs/debug_tree.c
Signed-off-by: Aneesh Kumar K.V
---
debugbtrfs/cmds.c | 23 +++
debugbtrfs/debug_btrfs.c | 16 +++-
debugbtrfs/debug_btrfs.h |1 +
debugbtrfs/debug_btrfs_cmds.ct |3 +++
4 files changed, 34 insertions(+), 9 deletions(-)
diff
Build libbtrfs.a and link against that for the commands
Signed-off-by: Aneesh Kumar K.V
---
Makefile| 72 +++
lib/Makefile| 47
bit-radix.c => lib/bit-radix.c |
Signed-off-by: Aneesh Kumar K.V
---
Makefile |3 ++
debugbtrfs/Makefile| 44 +
debugbtrfs/cmds.c | 27 ++
debugbtrfs/debug_btrfs.c | 59
debugbtrfs
Signed-off-by: Aneesh Kumar K.V
---
debugbtrfs/Makefile |5 +-
debugbtrfs/debug_btrfs.h |3 +
debugbtrfs/debug_tree.c | 106
debugbtrfs/pager.c | 49 +
lib/ctree.c | 22 ++--
lib/extent-tree.c| 10 +-
lib/print-tree.c
Signed-off-by: Aneesh Kumar K.V
---
debugbtrfs/debug_btrfs_cmds.ct | 19 -
debugbtrfs/debug_tree.c| 159 ---
2 files changed, 99 insertions(+), 79 deletions(-)
diff --git a/debugbtrfs/debug_btrfs_cmds.ct b/debugbtrfs/debug_btrfs_cmds.ct
index
Signed-off-by: Aneesh Kumar K.V
---
debugbtrfs/cmds.c | 100
debugbtrfs/debug_btrfs_cmds.ct |3 +
2 files changed, 103 insertions(+), 0 deletions(-)
diff --git a/debugbtrfs/cmds.c b/debugbtrfs/cmds.c
index cd2901b..be7da31 100644
--- a
Signed-off-by: Aneesh Kumar K.V
---
Makefile |3 +
debugbtrfs/Makefile| 44 +++
debugbtrfs/cmds.c | 27 +
debugbtrfs/debug_btrfs.c | 59 ++
debugbtrfs/debug_btrfs.h | 29 +
debugbtrfs/debug_btrfs_cmds.ct
Signed-off-by: Aneesh Kumar K.V
---
debugbtrfs/cmds.c | 23 +
debugbtrfs/debug_btrfs.c | 16 +--
debugbtrfs/debug_btrfs.h |1 +
debugbtrfs/debug_btrfs_cmds.ct |3 ++
debugbtrfs/debug_tree.c| 54
Build libbtrfs.a and link against that for the commands
Signed-off-by: Aneesh Kumar K.V
---
Makefile| 72 +++
lib/Makefile| 47
bit-radix.c => lib/bit-radix.c |
Hi,
The below set of patches add debug-btrfs command to btrfs-progs package.
The new command depends on the libss.a library provided e2fsprogs. To build
one have to set E2FSPRGS_BUILD_DIR to point to the e2fsprogs build directory.
Once we get e2fsprogs to create a proper libss package we should be
This helps to cleanup the rename and unlink case
Signed-off-by: Aneesh Kumar K.V
---
fs/btrfs/compat.h |1 +
fs/btrfs/inode.c| 12
fs/btrfs/tree-log.c |5 ++---
3 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/fs/btrfs/compat.h b/fs/btrfs/compat.h
This patch make sure we update directory link count correctly
during mkdir and rename
Signed-off-by: Aneesh Kumar K.V
---
fs/btrfs/inode.c | 21 +
1 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 32aa27d..9a56b3b
This patch make sure we update the directory link count properly
during delete
Signed-off-by: Aneesh Kumar K.V
---
fs/btrfs/inode.c | 11 ++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 9a56b3b..12b9d6e 100644
--- a/fs
Even though we allocate more, we should be updating inode i_size
as per the arguments passed
Signed-off-by: Aneesh Kumar K.V
---
Changes from V1:
We should update i_size only if actual_len and cur_offset are both
larger than i_size. Otherwise if actual_len is < i_size and cur_offset >
19 matches
Mail list logo