]> 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)
commitd1e84440fe78621ae354e79e90b40bfe2efebeca
tree47816d90951550c55d9ec1fff51c365056986aa1
parent676e7e20f4ed3862267e4effa6cdc8b9d7cbc876
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