All of lore.kernel.org
 help / color / mirror / Atom feed
* grace period setting
@ 2010-03-02 23:12 J. Bruce Fields
  2010-03-02 23:12 ` [PATCH 1/7] nfsd4: simplify references to nfsd4 lease time J. Bruce Fields
  0 siblings, 1 reply; 15+ messages in thread
From: J. Bruce Fields @ 2010-03-02 23:12 UTC (permalink / raw)
  To: linux-nfs

The NFSv4 lease-time configuration interface we currently have doesn't
actually allow setting the grace period directly.

Mostly this is noticed by developers trying to set a smaller grace
period to speed testing.

However, it also makes it difficult to make reboot-recovery behavior
correct, since there's no way for userland to force the kernel to
observe the correct grace period on reboot if the previous server was
using something other than the default lease time.

So, add a grace-period setting interface as well.

Note if you actually want a shorter grace period you'll also need to
adjust the nlm_grace_period sysctl (/proc/sys/fs/nfs/nlm_grace_period),
since the server doesn't end grace until both have expired.

--b.



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2010-03-08 18:17 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-02 23:12 grace period setting J. Bruce Fields
2010-03-02 23:12 ` [PATCH 1/7] nfsd4: simplify references to nfsd4 lease time J. Bruce Fields
2010-03-02 23:12   ` [PATCH 2/7] nfsd4: edit comment for concision J. Bruce Fields
2010-03-02 23:12     ` [PATCH 3/7] nfsd4: simplify lease/grace interaction J. Bruce Fields
2010-03-02 23:12       ` [PATCH 4/7] nfsd4: remove unnecessary lease-setting function J. Bruce Fields
2010-03-02 23:12         ` [PATCH 5/7] nfsd4: reshuffle lease-setting code to allow reuse J. Bruce Fields
2010-03-02 23:12           ` [PATCH 6/7] nfsd4: allow setting grace period time J. Bruce Fields
2010-03-02 23:12             ` [PATCH 7/7] nfsd4: document lease/grace-period limits J. Bruce Fields
2010-03-03 15:47           ` [PATCH 5/7] nfsd4: reshuffle lease-setting code to allow reuse Peter Staubach
2010-03-06 18:31             ` J. Bruce Fields
2010-03-03 18:06     ` [PATCH 2/7] nfsd4: edit comment for concision Chuck Lever
2010-03-06 18:50       ` J. Bruce Fields
2010-03-08 15:31         ` Chuck Lever
2010-03-08 18:10           ` J. Bruce Fields
2010-03-08 18:16             ` Chuck Lever

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.