|
@@ -586,7 +586,7 @@ static int raid1_congested(void *data, int bits)
|
|
|
/* Note the '|| 1' - when read_balance prefers
|
|
|
* non-congested targets, it can be removed
|
|
|
*/
|
|
|
- if ((bits & (1<<BDI_write_congested)) || 1)
|
|
|
+ if ((bits & (1<<BDI_async_congested)) || 1)
|
|
|
ret |= bdi_congested(&q->backing_dev_info, bits);
|
|
|
else
|
|
|
ret &= bdi_congested(&q->backing_dev_info, bits);
|