]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs scrub: don't coalesce pages that are logically discontiguous
authorArne Jansen <sensille@gmx.net>
Wed, 25 May 2011 12:22:50 +0000 (12:22 +0000)
committerChris Mason <chris.mason@oracle.com>
Thu, 26 May 2011 21:52:52 +0000 (17:52 -0400)
commit0dbbea2237916b776011b8ded19bdcddc5e21378
tree47816d90951550c55d9ec1fff51c365056986aa1
parent0e72c51ac7055042758c50ad6d160003f1567254
btrfs scrub: don't coalesce pages that are logically discontiguous

scrub_page collects several pages into one bio as long as they are physically
contiguous. As we only save one logical address for the whole bio, don't
collect pages that are physically contiguous but logically discontiguous.

Signed-off-by: Arne Jansen <sensille@gmx.net>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/scrub.c