Btrfs-progs, btrfsck: add block group check function
Subsystems (2)
RFC PATCH 1/1 Btrfs-progs, btrfsck: add block group check function
From: Chen Yang <[email protected]>
This patch adds the function to check correspondence between block group, chunk and device extent.
--- Makefile | 2 +- btrfsck.c | 569 +++++++++++++++++++++++++++++++++++++++++++++++++++- dev-extent-cache.c | 188 +++++++++++++++++ dev-extent-cache.h | 60 ++++++ 4 files changed, 812 insertions(+), 7 deletions(-) create mode 100644 dev-extent-cache.c create mode 100644 dev-extent-cache.h
Makefile +1 -1
@@ -4,7 +4,7 @@ CFLAGS = -g -O0 objects = ctree.o disk-io.o radix-tree.o extent-tree.o print-tree.o \ root-tree.o dir-item.o file-item.o inode-item.o \ inode-map.o crc32c.o rbtree.o extent-cache.o extent_io.o \ - volumes.o utils.o btrfs-list.o btrfslabel.o repair.o + volumes.o utils.o btrfs-list.o btrfslabel.o repair.o dev-extent-cache.o cmds_objects = cmds-subvolume.o cmds-filesystem.o cmds-device.o cmds-scrub.o \ cmds-inspect.o cmds-balance.o
btrfsck.c +563 -6
645 lines not on this page · raw message
dev-extent-cache.c new file +188 -0
188 lines not on this page · raw message
dev-extent-cache.h new file +60 -0
60 lines not on this page · raw message
Signature · 1 line
1.7.6.5
Quoted 4 lines · Miao Xie
From: Chen Yang <[email protected]>
This patch adds the function to check correspondence between block group, chunk and device extent.
Excellent, thank you. Could you please put this into a git tree? I'm having trouble with whitespace (tabs -> spaces) in the patch.
-chris
Quoted 8 lines · Chris Mason
Quoted 4 lines · Miao Xie
From: Chen Yang <[email protected]>
This patch adds the function to check correspondence between block group, chunk and device extent.
Excellent, thank you. Could you please put this into a git tree? I'm having trouble with whitespace (tabs -> spaces) in the patch.
You can pull it by
git://github.com/miaoxie/btrfs-progs.git block-group-check
I have re-based it on the latest tree
Thanks
Miao