diff options
author | J. Bruce Fields <bfields@redhat.com> | 2010-10-11 22:49:44 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2010-10-12 02:00:18 +0200 |
commit | ecec6e34e18660799444c5a163c7313a20fba701 (patch) | |
tree | 87b04a3703a6e7ae19c5ebc9b94a6fb6f6810b03 /fs/nfsd/nfsd.h | |
parent | sunrpc: Use helper to set v4 mapped addr in ip_map_parse (diff) | |
download | linux-ecec6e34e18660799444c5a163c7313a20fba701.tar.xz linux-ecec6e34e18660799444c5a163c7313a20fba701.zip |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfsd.h b/fs/nfsd/nfsd.h index b76ac3a82e39..6b641cf2c19a 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: |