summaryrefslogtreecommitdiffstats
path: root/block/blk-settings.c
diff options
context:
space:
mode:
authorArne Jansen <sensille@gmx.net>2011-05-28 21:57:55 +0200
committerChris Mason <chris.mason@oracle.com>2011-06-04 08:03:17 -0400
commit1bc8779349d6278e2713a1ff94418c2a6746a791 (patch)
tree2caf24db7d669825538c15efe17473159da57593 /block/blk-settings.c
parentff5714cca971848963b87d6b477c16ca8abbaa54 (diff)
downloadop-kernel-dev-1bc8779349d6278e2713a1ff94418c2a6746a791.zip
op-kernel-dev-1bc8779349d6278e2713a1ff94418c2a6746a791.tar.gz
btrfs: scrub: don't reuse bios and pages
The current scrub implementation reuses bios and pages as often as possible, allocating them only on start and releasing them when finished. This leads to more problems with the block layer than it's worth. The elevator gets confused when there are more pages added to the bio than bi_size suggests. This patch completely rips out the reuse of bios and pages and allocates them freshly for each submit. Signed-off-by: Arne Jansen <sensille@gmx.net> Signed-off-by: Chris Maosn <chris.mason@oracle.com>
Diffstat (limited to 'block/blk-settings.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud