mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: David Mansfield <lkml@dm.cobite.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: NFS file handle cached incorrectly
Date: Tue, 13 Apr 2004 09:57:30 -0700	[thread overview]
Message-ID: <1081875450.2583.11.camel@lade.trondhjem.org> (raw)
In-Reply-To: <Pine.LNX.4.58.0404121736070.23214@dhcp07.cobite.com>

På ty , 13/04/2004 klokka 07:25, skreiv David Mansfield:

> I don't think this is quite correct.  The 1 second or less gap is not 
> between two modifications of the directory.  It is between the initial 
> lookup and a remote modification.  The mtime IS being updated, it's 
> just not being checked. ie.

In my version of the patch (which I assume is what Steve grabbed) the
first thing nfs_cached_lookup() does is to call nfs_revalidate_inode(). 

It may well be that the directory attribute cache has not timed out yet.
If so, that will indeed cause the mtime not to be checked on the client.
If this really is a problem for you, then I suggest you make the
directory attribute caching less aggressive. 'man 5 nfs' and read up on
"acdirmin/acdirmax".

Cheers,
  Trond

      reply	other threads:[~2004-04-13 16:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-12 20:38 David Mansfield
2004-04-12 21:01 ` Trond Myklebust
2004-04-12 21:07   ` Trond Myklebust
2004-04-13 14:25     ` David Mansfield
2004-04-13 16:57       ` Trond Myklebust [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=1081875450.2583.11.camel@lade.trondhjem.org \
    --to=trond.myklebust@fys.uio.no \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkml@dm.cobite.com \
    /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®