From 5eb098e2e29c103b1c3b930ee3485e08e6458ac6 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 19 May 2004 02:40:39 -0700 Subject: [PATCH] [PATCH] kNFSd: Reduce timeout when waiting for idmapper userspace daemon. From: NeilBrown From: "J. Bruce Fields" 1 second should be plenty of time; if we're going to take longer than that it's probably better just to return NFS4ERR_DELAY and let the client retry anyway. --- fs/nfsd/nfs4idmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/nfsd/nfs4idmap.c b/fs/nfsd/nfs4idmap.c index f55ad2f0bcaf4..35dfac2bb4ec0 100644 --- a/fs/nfsd/nfs4idmap.c +++ b/fs/nfsd/nfs4idmap.c @@ -470,7 +470,7 @@ idmap_lookup_wait(struct idmap_defer_req *mdr, struct svc_rqst *rqstp, if (2 * threads_waiting > rqstp->rq_server->sv_nrthreads) goto out; threads_waiting++; - schedule_timeout(10 * HZ); + schedule_timeout(1 * HZ); threads_waiting--; } out: -- 2.53.0