md/raid5: export is_congested test
authorNeilBrown <neilb@suse.de>
Mon, 26 Jul 2010 01:57:07 +0000 (11:57 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 26 Jul 2010 02:52:29 +0000 (12:52 +1000)
commit11d8a6e3719519fbc0e2c9d61b6fa931b84bf813
tree13a075d1423b2caa3d3264db0cf8cd378c545623
parent4a5add49951e698073011855d1a8a7306bc9308d
md/raid5: export is_congested test

the dm module will need this for dm-raid45.

Also only access ->queue->backing_dev_info->congested_fn
if ->queue actually exists.  It won't in a dm target.

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