On Wed, Jun 27, 2018 at 01:00:08PM -0700, Bart Van Assche wrote:
On 06/26/18 17:49, Ming Lei wrote:
quoted
Only the waitqueue's lock is held for blk_mq_dispatch_wake(), but this
hctx->dispatch_wait can be added to another waitqueue, so it isn't
enough to just hold waitqueue's lock.
Hello Ming,
That makes sense to me. I will post an update that addresses this issue.
I have sent a new patch days ago:
https://marc.info/?l=linux-block&m=152998658713265&w=2
Thanks,
Ming