From: Steve French <smfrench@austin.rr.com>
To: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: linux-fsdevel@vger.kernel.org
Subject: Re: [RFC PATCH] cleaning up negative dentries when remote directory is changed
Date: Thu, 24 Nov 2005 20:29:11 -0600 [thread overview]
Message-ID: <438676F7.2090005@austin.rr.com> (raw)
In-Reply-To: <1132885081.8985.36.camel@lade.trondhjem.org>
Trond Myklebust wrote:
> Nope. The d_revalidate() dentry operation is the right place to do this.
> There is nothing in the VFS that special-cases revalidation of negative
> dentries, so d_revalidate() will indeed be called whenever a cached
> entry is looked up.
>
> AFAICS, the reason why CIFS fails to do this is that you have not
> initialised dentry->d_op on the negative dentry. IOW: CIFS negative
> dentries currently don't have a d_revalidate()...
>
> Cheers,
> Trond
>
>
>
Argh ... It looks you are probably right, I am trying adding the dentry
ops to negative dentries. I like it when there are obvious reasons for
strange behavior.
Thanks.
prev parent reply other threads:[~2005-11-25 2:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-25 1:33 [RFC PATCH] cleaning up negative dentries when remote directory is changed Steve French
2005-11-25 1:55 ` Trond Myklebust
2005-11-25 2:06 ` Steve French
2005-11-25 2:18 ` Trond Myklebust
2005-11-25 2:29 ` Steve French [this message]
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=438676F7.2090005@austin.rr.com \
--to=smfrench@austin.rr.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=trond.myklebust@fys.uio.no \
/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 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.