Re: [PATCH] block: fix io hung by block throttle

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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.



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux