]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: replace: cache rbio when rebuild data on missing device
authorLiu Bo <bo.liu@linux.alibaba.com>
Thu, 22 Mar 2018 01:20:11 +0000 (09:20 +0800)
committerDavid Sterba <dsterba@suse.com>
Fri, 30 Mar 2018 23:41:12 +0000 (01:41 +0200)
commit1d189be1e7f486de7c981b9ebefb23ccaef6af80
tree5daf8ab057f86ff3cd71254b3f7f525c5fab9c69
parent19ee5edeb69d862ccebac4ec46c603fb18e769d3
Btrfs: replace: cache rbio when rebuild data on missing device

Rebuild on missing device is as same as recover, after it's done, rbio
has data which is consistent with on-disk data, so it can be cached to
avoid further reads.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: Liu Bo <bo.liu@linux.alibaba.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/raid56.c