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)
commit00d01bc17cc2807292303961519d9c005794eb1d
tree47816d90951550c55d9ec1fff51c365056986aa1
parentc309df07868baa8b05d2a70637096465746fdbb5
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