md/raid5: add simple plugging infrastructure.
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)
commit2ac8740151b082f045e58010eb92560c3a23a0e9
tree39bff686e28f033339c6d1cf47042b6dc1586c2f
parent11d8a6e3719519fbc0e2c9d61b6fa931b84bf813
md/raid5: add simple plugging infrastructure.

md/raid5 uses the plugging infrastructure provided by the block layer
and 'struct request_queue'.  However when we plug raid5 under dm there
is no request queue so we cannot use that.

So create a similar infrastructure that is much lighter weight and use
it for raid5.

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