]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: dev-replace: skip prealloc extents when copy nocow pages
authorLiu Bo <bo.li.liu@oracle.com>
Wed, 28 Feb 2018 01:10:58 +0000 (18:10 -0700)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Mar 2018 13:09:40 +0000 (15:09 +0200)
commitc93ff8f61f5376497e23884833a8ccb1ca37ced4
tree0e20a6ff64e1121fdda10cd08a5a6815da30ef36
parentdc8c83d89cc1909e5ffe476561125c0ece4526ad
Btrfs: dev-replace: skip prealloc extents when copy nocow pages

It doens't make sense to process prealloc extents as pages will be
filled with zero when reading prealloc extents.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/scrub.c