diff options
author | Arne Jansen <sensille@gmx.net> | 2011-05-28 21:57:55 +0200 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-06-04 08:03:17 -0400 |
commit | 1bc8779349d6278e2713a1ff94418c2a6746a791 (patch) | |
tree | 2caf24db7d669825538c15efe17473159da57593 /fs/namespace.c | |
parent | ff5714cca971848963b87d6b477c16ca8abbaa54 (diff) |
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 'fs/namespace.c')
0 files changed, 0 insertions, 0 deletions