Thread (8 messages) 8 messages, 3 authors, 2018-06-27

Re: [blk-mq Bug] race on removing hctx->dispatch_wait from wait queue

From: Ming Lei <hidden>
Date: 2018-06-27 23:24:25

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help