]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: Combine per-page recover in dev-replace and scrub
authorZhao Lei <zhaolei@cn.fujitsu.com>
Tue, 20 Jan 2015 07:11:41 +0000 (15:11 +0800)
committerChris Mason <clm@fb.com>
Thu, 22 Jan 2015 02:06:49 +0000 (18:06 -0800)
commit28b8f6c592e379831eb7dc525f837cc07f6d32a1
treefd5aa5d589e91e11de1f86dfef6157ff59988fc1
parenta060599afd2fc871d33fbf3885a70e5f9447fb9e
Btrfs: Combine per-page recover in dev-replace and scrub

The code are similar, combine them to make code clean and easy to maintenance.
Some lost condition are also completed with benefit of this combination.

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/scrub.c