Thread (15 messages) 15 messages, 3 authors, 2022-05-16

Re: [PATCH v2] nbd: Don't use workqueue to handle recv work

From: Christoph Hellwig <hch@infradead.org>
Date: 2021-12-29 17:35:57
Also in: lkml

On Mon, Dec 27, 2021 at 05:12:41PM +0800, Xie Yongji wrote:
The rescuer thread might take over the works queued on
the workqueue when the worker thread creation timed out.
If this happens, we have no chance to create multiple
recv threads which causes I/O hung on this nbd device.
If a workqueue is used there aren't really 'receive threads'.
What is the deadlock here?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help