md: report device as congested when suspended

This should writeback from coming when the device is temporarily
suspended.

Signed-off-by: NeilBrown <neilb@suse.de>
这个提交包含在:
NeilBrown
2009-09-23 18:10:29 +10:00
父节点 0da3c6194e
当前提交 3fa841d7e7
修改 8 个文件,包含 24 行新增0 行删除

查看文件

@@ -3332,6 +3332,9 @@ static int raid5_congested(void *data, int bits)
/* No difference between reads and writes. Just check
* how busy the stripe_cache is
*/
if (mddev_congested(mddev, bits))
return 1;
if (conf->inactive_blocked)
return 1;
if (conf->quiesce)