]> bbs.cooldavid.org Git - net-next-2.6.git/commit
md/plug: optionally use plugger to unplug an array during resync/recovery.
authorNeilBrown <neilb@suse.de>
Tue, 1 Jun 2010 09:37:29 +0000 (19:37 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 26 Jul 2010 02:53:08 +0000 (12:53 +1000)
commit252ac5221a71be72b7e7c7b7482af91e9c962e8c
treecb9542b1391dabc136ce0052eb28948e77a6e2e5
parent2ac8740151b082f045e58010eb92560c3a23a0e9
md/plug: optionally use plugger to unplug an array during resync/recovery.

If an array doesn't have a 'queue' then md_do_sync cannot
unplug it.
In that case it will have a 'plugger', so make that available
to the mddev, and use it to unplug the array if needed.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/md.c
drivers/md/md.h
drivers/md/raid5.c