summaryrefslogtreecommitdiff
path: root/block/genhd.c
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fb.com>2017-02-02 00:11:11 +0300
committerJens Axboe <axboe@fb.com>2017-02-02 02:28:06 +0300
commit124d6db07c3bd0bdb57ba0e22ff4e5b87e7cb32e (patch)
tree2b9ea08621a7199aa331cf71e9a44e18dafdf0f7 /block/genhd.c
parent72f2f8f6929cf680d42ca44f87b7d370aff94d85 (diff)
downloadlinux-124d6db07c3bd0bdb57ba0e22ff4e5b87e7cb32e.tar.xz
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>
Diffstat (limited to 'block/genhd.c')
0 files changed, 0 insertions, 0 deletions