Re: [PATCH] block: fix io hung by block throttle
From: Junxiao Bi
Date: Mon Apr 19 2021 - 12:40:36 EST
On 4/18/21 11:09 PM, Junxiao Bi wrote:
- finish_wait(&rqw->wait, &data.wq);
+ mutex_lock(&rqw->throttle_mutex);
+ wait_event(rqw->wait, acquire_inflight_cb(rqw, private_data));
+ mutex_unlock(&rqw->throttle_mutex);
This will break the throttle? There is a inflight io limitation. With
this change, there can be only one io inflight whatever the limit is.
Sorry, ignore this. I should go sleep that time.
Thanks,
Junxiao.