From: Arne Jansen Date: Sat, 28 May 2011 19:57:55 +0000 (+0200) Subject: btrfs: scrub: don't reuse bios and pages X-Git-Tag: v3.0-rc2~5^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bc8779349d6278e2713a1ff94418c2a6746a791;p=pandora-kernel.git 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 Signed-off-by: Chris Maosn --- Reading git-diff-tree failed