nfsd: allow more than one laundry job to run at a time
authorJeff Layton <jlayton@poochiereds.net>
Thu, 20 Aug 2015 11:17:01 +0000 (07:17 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 31 Aug 2015 20:32:14 +0000 (16:32 -0400)
commit51a545685905c934237e640083bc3aa40b36dc14
tree48d60e6307a4c5e9ddb291633de83499721f460b
parent46cc8ba30445025f0ed3ed9f429aea573b301122
nfsd: allow more than one laundry job to run at a time

We can potentially have several nfs4_laundromat jobs running if there
are multiple namespaces running nfsd on the box. Those are effectively
separated from one another though, so I don't see any reason to
serialize them.

Also, create_singlethread_workqueue automatically adds the
WQ_MEM_RECLAIM flag. Since we run this job on a timer, it's not really
involved in any reclaim paths. I see no need for a rescuer thread.

Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c
This page took 0.02676 seconds and 5 git commands to generate.