* expire clients more promptly
@ 2010-10-11 23:31 J. Bruce Fields
0 siblings, 0 replies; only message in thread
From: J. Bruce Fields @ 2010-10-11 23:31 UTC (permalink / raw)
To: linux-nfs
I'm planning on queuing this up for 2.6.37.
Honestly, this is mainly just to make a few pynfs tests pass more
reliably, which isn't a good enough reason on its own.
But I also can't see any problem with letting the laundromat thread run
as much as once a second.
--b.
commit 76b409f70568ef011e476ce60eab6770572f4839
Author: J. Bruce Fields <bfields@redhat.com>
Date: Mon Oct 11 16:49:44 2010 -0400
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>
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:
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-10-11 23:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-11 23:31 expire clients more promptly J. Bruce Fields
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).