Re: [PATCH] nbd: use our own workqueue for recv threads

2017-02-01 Thread Jens Axboe
On 02/01/2017 01:11 PM, Josef Bacik wrote: > Since we are in the memory reclaim path we need our recv work to be on a > workqueue that has WQ_MEM_RECLAIM set so we can avoid deadlocks. Also > set WQ_HIGHPRI since we are in the completion path for IO. Applied for 4.11. -- Jens Axboe -- To unsub

[PATCH] nbd: use our own workqueue for recv threads

2017-02-01 Thread Josef Bacik
Since we are in the memory reclaim path we need our recv work to be on a workqueue that has WQ_MEM_RECLAIM set so we can avoid deadlocks. Also set WQ_HIGHPRI since we are in the completion path for IO. Signed-off-by: Josef Bacik --- drivers/block/nbd.c | 13 +++-- 1 file changed, 11 ins