]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
NFS/localio: use GFP_NOIO and non-memreclaim workqueue in nfs_local_commit
authorMike Snitzer <snitzer@hammerspace.com>
Wed, 7 Jan 2026 16:08:56 +0000 (11:08 -0500)
committerAnna Schumaker <anna.schumaker@oracle.com>
Thu, 22 Jan 2026 15:51:10 +0000 (10:51 -0500)
commit9bb0060f7860aa4561c5b21163dd45ceb66946a9
tree4785869e859fe6691349a7d44b1151626ffe3090
parent67435d2d8a33a75f9647724952cb1b18279d2e95
NFS/localio: use GFP_NOIO and non-memreclaim workqueue in nfs_local_commit

nfslocaliod_workqueue is a non-memreclaim workqueue (it isn't
initialized with WQ_MEM_RECLAIM), see commit b9f5dd57f4a5
("nfs/localio: use dedicated workqueues for filesystem read and
write").

Use nfslocaliod_workqueue for LOCALIO's SYNC work.

Also, set PF_LOCAL_THROTTLE | PF_MEMALLOC_NOIO in
nfs_local_fsync_work.

Fixes: b9f5dd57f4a5 ("nfs/localio: use dedicated workqueues for filesystem read and write")
Signed-off-by: Mike Snitzer <snitzer@hammerspace.com>
Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
fs/nfs/localio.c