Re: starting 90-second grace period

Trond Myklebust
2009-12-11T18:20:41Z

On Fri, 2009-12-11 at 23:39 +0530, Tharindu Rukshan Bamunuarachchi
wrote:
> then why is it 90 by default ... is it RFC/Protocol requirement ?

The purpose of the grace period is to give the clients enough time to
notice that the server has rebooted, and to reclaim their existing locks
without danger of having somebody else steal the lock from them.

It is not a protocol requirement, but it is definitely a strongly
recommended feaature if you don't want to see corruption in your
mailbox/database/logfile/... that relies on those locks.

Trond

> On Fri, Dec 11, 2009 at 11:31 PM, Trond Myklebust
> <trond.myklebust@fys.uio.no> wrote:
> > On Fri, 2009-12-11 at 22:55 +0530, Tharindu Rukshan Bamunuarachchi
> > wrote:
> >> thankx a lot for the info.
> >>
> >> btw, if i set nfs4leasetime to ~10 seconds ... is there any negative effect ?
> >>
> >
> > You mean aside from the very likely event that your clients will lose
> > all their locks when the server reboots?
> >
> > Trond
> >
> >
>
>
>