From: "J. Bruce Fields" <bfields@fieldses.org>
To: Ferenc Wagner <wferi@niif.hu>
Cc: linux-nfs@vger.kernel.org
Subject: Re: Seemingly inconsistent directory state under NFSv4
Date: Thu, 24 Feb 2011 12:27:47 -0500 [thread overview]
Message-ID: <20110224172747.GA22070@fieldses.org> (raw)
In-Reply-To: <87vd098jk5.fsf@tac.ki.iif.hu>
By the way, could you configure your mail client not to drop me (or
others) off the cc:? Those of us that subscribe to a lot of high-volume
kernel lists generally treat mail sent to us diferently from mail sent
to a list.
On Thu, Feb 24, 2011 at 05:48:58PM +0100, Ferenc Wagner wrote:
> "J. Bruce Fields" <bfields@fieldses.org> writes:
> One client removed the file, and another could still access it by name
> (although not present in the directory listing). So it could have been
> a client-client conflict, even though we couldn't prove that the removed
> file was actually in use on the client. Is there a way to list the
> delegations being hold by a client?
Not really. They'll show up as LEASE entries in /proc/locks, with the
pid of an nfsd process, but no way to associate them with a client.
Some way to dump lock (and other state) information might be a nice
thing to have some day for debugging and tuning.
> > You can turn off delegations completely with
> > echo 0 >/proc/sys/fs/leases-enable
> > before starting the nfs server.
>
> Wouldn't I lose most of the efficiency advantages of NFSv4 with that
> move?
Probably so. It would at least be a way to verify whether delegations
are the source of your problem, if you have a reproduceable test case.
--b.
next prev parent reply other threads:[~2011-02-24 17:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-11 12:27 Seemingly inconsistent directory state under NFSv4 Ferenc Wagner
2011-02-22 16:42 ` Ferenc Wagner
2011-02-23 19:39 ` J. Bruce Fields
2011-02-24 16:48 ` Ferenc Wagner
2011-02-24 17:27 ` J. Bruce Fields [this message]
2011-02-25 16:43 ` Ferenc Wagner
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=20110224172747.GA22070@fieldses.org \
--to=bfields@fieldses.org \
--cc=linux-nfs@vger.kernel.org \
--cc=wferi@niif.hu \
/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).