summaryrefslogtreecommitdiff
path: root/btrfs-crc.c
diff options
context:
space:
mode:
authorSu Yue <suy.fnst@cn.fujitsu.com>2018-05-08 16:30:02 +0800
committerDavid Sterba <dsterba@suse.com>2018-06-07 16:37:30 +0200
commit0ee012318f011d2064761dd2246e1c5f699a9ed7 (patch)
tree1ddb1092945ab719a63d7175269272e2139aad3a /btrfs-crc.c
parent4e320db9dd6885ad3f6264cf2595f0242d6893f8 (diff)
btrfs-progs: check: lowmem: exclude extents if init-extent-tree in lowmem
If options '--init-extent-tree' and '--mode=lowmem' are both input, all metadata blocks will be traversed twice. First one is done by pin_metadata_blocks() in reinit_extent_tree(). Second one is in check_chunks_and_extents_v2(). Excluding instead of pinning metadata blocks before reinitializing th extent tree in lowmem can save some time. Signed-off-by: Su Yue <suy.fnst@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'btrfs-crc.c')
0 files changed, 0 insertions, 0 deletions