commit | 124d6db07c3bd0bdb57ba0e22ff4e5b87e7cb32e | [log] [tgz] |
---|---|---|
author | Josef Bacik <jbacik@fb.com> | Wed Feb 01 16:11:11 2017 -0500 |
committer | Jens Axboe <axboe@fb.com> | Wed Feb 01 16:28:06 2017 -0700 |
tree | 2b9ea08621a7199aa331cf71e9a44e18dafdf0f7 | |
parent | 72f2f8f6929cf680d42ca44f87b7d370aff94d85 [diff] |
nbd: use our own workqueue for recv threads 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 <jbacik@fb.com> Signed-off-by: Jens Axboe <axboe@fb.com>