Skip to content

Commit ecec6e3

Browse files
author
J. Bruce Fields
committed
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 <[email protected]>
1 parent 70dc78d commit ecec6e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/nfsd/nfsd.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ extern time_t nfsd4_grace;
249249
#define COMPOUND_SLACK_SPACE 140 /* OP_GETFH */
250250
#define COMPOUND_ERR_SLACK_SPACE 12 /* OP_SETATTR */
251251

252-
#define NFSD_LAUNDROMAT_MINTIMEOUT 10 /* seconds */
252+
#define NFSD_LAUNDROMAT_MINTIMEOUT 1 /* seconds */
253253

254254
/*
255255
* The following attributes are currently not supported by the NFSv4 server:

0 commit comments

Comments
 (0)