aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfsd.h
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2010-10-11 16:49:44 -0400
committerJ. Bruce Fields <bfields@redhat.com>2010-10-11 20:00:18 -0400
commitecec6e34e18660799444c5a163c7313a20fba701 (patch)
tree87b04a3703a6e7ae19c5ebc9b94a6fb6f6810b03 /fs/nfsd/nfsd.h
parent70dc78da2cc76e7804c597fea3a0aff67ec8d7ad (diff)
downloadkernel_samsung_aries-ecec6e34e18660799444c5a163c7313a20fba701.zip
kernel_samsung_aries-ecec6e34e18660799444c5a163c7313a20fba701.tar.gz
kernel_samsung_aries-ecec6e34e18660799444c5a163c7313a20fba701.tar.bz2
nfsd4: expire clients more promptly
Expire clients more promptly, at the expense of possibly running the laundromat thread more frequently. Though it's not the default, I'd like it to be feasible to run with a lease time of just a few seconds, at which point a minimum 10 second wait between laundromat runs seems a little much. Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfsd.h')
-rw-r--r--fs/nfsd/nfsd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfsd.h b/fs/nfsd/nfsd.h
index b76ac3a..6b641cf 100644
--- a/fs/nfsd/nfsd.h
+++ b/fs/nfsd/nfsd.h
@@ -249,7 +249,7 @@ extern time_t nfsd4_grace;
#define COMPOUND_SLACK_SPACE 140 /* OP_GETFH */
#define COMPOUND_ERR_SLACK_SPACE 12 /* OP_SETATTR */
-#define NFSD_LAUNDROMAT_MINTIMEOUT 10 /* seconds */
+#define NFSD_LAUNDROMAT_MINTIMEOUT 1 /* seconds */
/*
* The following attributes are currently not supported by the NFSv4 server: