btrfs: scrub: add explicit plugging
commite7786c3ae517b2c433edc91714e86be770e9f1ce
authorArne Jansen <sensille@gmx.net>
Sat, 28 May 2011 20:58:38 +0000 (28 20:58 +0000)
committerChris Mason <chris.mason@oracle.com>
Sat, 4 Jun 2011 12:03:46 +0000 (4 08:03 -0400)
tree90caab3728a36a579162b4868f41fc3426c5cbb4
parenta4689d2bd3b00dcf5c4320f06e0ab88810fbff9c
btrfs: scrub: add explicit plugging

With the removal of the implicit plugging scrub ends up doing more and
smaller I/O than necessary. This patch adds explicit plugging per chunk.

Signed-off-by: Arne Jansen <sensille@gmx.net>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/scrub.c