From: "J. Bruce Fields" <bfields@fieldses.org>
To: Ricardo Santos <xscorpionbr-/E1597aS9LRfJ/NunPodnw@public.gmane.org>
Cc: linux-nfs@vger.kernel.org
Subject: Re: directory attribute cache on NFS4 client
Date: Tue, 2 Sep 2008 13:50:47 -0400 [thread overview]
Message-ID: <20080902175047.GA10855@fieldses.org> (raw)
In-Reply-To: <loom.20080901T163528-489-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
On Mon, Sep 01, 2008 at 04:40:04PM +0000, Ricardo Santos wrote:
> I'm checking the NFS client code to understand it, and I saw this:
>
> -- inode.c
> int nfs_attribute_timeout(struct inode *inode)
> {
> struct nfs_inode *nfsi = NFS_I(inode);
>
> if (nfs_have_delegation(inode, FMODE_READ))
> return 0;
>
> --
>
> So, if a inode has a delegation, will it never be timed out, until the
> delegation been free, right ?
>
> If the delegated inode has been deleted ?
The server should recall the delegation before allowing the delegated
file to be deleted. (The current linux server is buggy--it doesn't do
that. Patches are on the way soon, I hope....)
--b.
next prev parent reply other threads:[~2008-09-02 17:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-29 13:42 directory attribute cache on NFS4 client Ricardo Santos
2008-09-01 16:40 ` Ricardo Santos
[not found] ` <loom.20080901T163528-489-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2008-09-02 17:50 ` J. Bruce Fields [this message]
2008-09-02 19:52 ` Ricardo Santos
[not found] ` <loom.20080902T195042-521-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2008-09-02 20:11 ` david m. richter
2008-09-03 2:57 ` Ricardo Santos
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=20080902175047.GA10855@fieldses.org \
--to=bfields@fieldses.org \
--cc=linux-nfs@vger.kernel.org \
--cc=xscorpionbr-/E1597aS9LRfJ/NunPodnw@public.gmane.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