From: "Tim" <supertimothy@web.de>
To: "'J. Bruce Fields'" <bfields@fieldses.org>
Cc: <linux-nfs@vger.kernel.org>
Subject: AW: nfsv4 and gracetime / leasetime grace_period
Date: Wed, 14 Sep 2011 08:27:59 +0200 [thread overview]
Message-ID: <000001cc72a7$73151c50$593f54f0$@web.de> (raw)
In-Reply-To: <20110914023709.GA28357@fieldses.org>
>> /proc/sys/fs/nfs/nlm_grace_period
>> This is the part I don't understand what it is for. I read it has to
>> be shrunk too (I set it to 10 - which works). Standard value is 0.
> NLM (used with NFSv2/v3) works a little differently: instead of the clients polling at regular intervals, the server calls back to the clients to notify them that it has rebooted. But there's still this grace period, which is the length of time the NLM server waits for the clients to act on the notifications by sending lock reclaims.
> It affects v4 as well, because the v4 server can't end its grace period before the NLM server does: if it did, v4 clients could rush in and start doing new locks before v2/v3 clients had the chance to reclaim all of theirs.
So if I only use NFSv4, I can set this to 1 second? Or would 0 be better?
next prev parent reply other threads:[~2011-09-14 6:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-13 9:43 nfsv4 and gracetime / leasetime grace_period Tim
2011-09-13 12:44 ` J. Bruce Fields
2011-09-13 23:18 ` supertimothy
2011-09-14 2:37 ` J. Bruce Fields
2011-09-14 6:27 ` Tim [this message]
2011-09-14 21:34 ` 'J. Bruce Fields'
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000001cc72a7$73151c50$593f54f0$@web.de' \
--to=supertimothy@web.de \
--cc=bfields@fieldses.org \
--cc=linux-nfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).