From: Jan Harkes <jaharkes@cs.cmu.edu>
To: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org
Subject: Re: [PATCH] path_lookup for 2.4.20-pre4 (ChangeSet@1.587.10.71)
Date: Tue, 8 Jul 2003 12:20:08 -0400 [thread overview]
Message-ID: <20030708162008.GA18924@delft.aura.cs.cmu.edu> (raw)
In-Reply-To: <16138.53118.777914.828030@charged.uio.no>
One thing you might want to add to avoid revalidating all pathnames that
happen to start with a dot, like '.bashrc'.
Jan
On Tue, Jul 08, 2003 at 04:04:46PM +0200, Trond Myklebust wrote:
> diff -u --recursive --new-file linux-2.4.22-odirect/fs/namei.c linux-2.4.22-fix_cto/fs/namei.c
> --- linux-2.4.22-odirect/fs/namei.c 2003-06-27 13:34:41.000000000 +0200
> +++ linux-2.4.22-fix_cto/fs/namei.c 2003-07-08 15:51:08.000000000 +0200
> @@ -732,6 +732,24 @@
> nd->last_type = LAST_DOT;
> else if (this.len == 2 && this.name[1] == '.')
> nd->last_type = LAST_DOTDOT;
+ else
+ goto return_base;
> +return_reval:
> + /*
> + * We bypassed the ordinary revalidation routines.
> + * We may need to check the cached dentry for staleness.
> + */
next prev parent reply other threads:[~2003-07-08 16:05 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-08 14:04 Trond Myklebust
2003-07-08 14:16 ` Alan Cox
2003-07-08 15:00 ` [PATCH] Fastwalk: reduce cacheline bouncing of d_count (Changelog@1.1024.1.11) Trond Myklebust
2003-07-08 15:20 ` Alan Cox
2003-07-08 16:44 ` Herbert Poetzl
2003-07-08 16:53 ` Alan Cox
2003-07-08 17:06 ` Herbert Poetzl
2003-07-08 17:20 ` Matthew Wilcox
2003-07-08 17:42 ` Hanna Linder
2003-07-08 18:10 ` Trond Myklebust
2003-07-08 18:19 ` Hanna Linder
2003-07-08 19:26 ` Marcelo Tosatti
2003-07-08 19:24 ` Marcelo Tosatti
2003-07-08 16:20 ` Jan Harkes [this message]
2003-07-08 16:41 ` Trond Myklebust
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=20030708162008.GA18924@delft.aura.cs.cmu.edu \
--to=jaharkes@cs.cmu.edu \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®