Thread (5 messages) 5 messages, 2 authors, 2021-08-25

Re: [PATCH] nbd: Fix races introduced by nbd_index_mutex scope reduction

flat view

From: Christoph Hellwig <hch@lst.de>
Date: 2021-08-25 14:18:51

On Wed, Aug 25, 2021 at 10:38:00PM +0900, Tetsuo Handa wrote:
I guess you might want below diff, for reinit_completion() immediately after
complete_all() likely resets completion count before all threads sleeping at
wait_for_completion_timeout() check the completion count.
Use of simple sequence count will be robuster.
Yes, this is very simple to what I have locally.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help