summaryrefslogtreecommitdiffstats
path: root/block/partitions
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2018-08-08 01:20:02 +0200
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2018-08-08 23:07:38 +0200
commit46483c2ea4664679130d6489112f180c2bfc801d (patch)
tree4417e26e7713b54f319b4ce6f8712c99d07d7cd5 /block/partitions
parentNFSv4: Fix error handling in nfs4_sp4_select_mode() (diff)
downloadlinux-46483c2ea4664679130d6489112f180c2bfc801d.tar.xz
linux-46483c2ea4664679130d6489112f180c2bfc801d.zip
NFS: Use an appropriate work queue for direct-write completion
When a direct-write completes, a work_struct is schedule to handle the completion. When NFS is being used for swap, the direct write might be a swap-out, so memory allocation can block until the write completes. The work queue currently used is not WQ_MEM_RECLAIM, so tasks can block waiting for memory - this leads to deadlock. So use nfsiod_workqueue instead. This will always have a running thread, and work items should never block waiting for memory. Signed-off-by: Neil Brown <neilb@suse.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'block/partitions')
0 files changed, 0 insertions, 0 deletions