Re: [blk-mq Bug] race on removing hctx->dispatch_wait from wait queue
From: Bart Van Assche <hidden> Date: 2018-06-27 20:00:08
On 06/26/18 17:49, Ming Lei wrote:
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.
Bart.