public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jakob Oestergaard <jakob@unthought.net>
To: Leif Nixon <nixon@nsc.liu.se>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Cache invalidation bug in NFS v3 - trivially reproducible
Date: Tue, 11 Oct 2005 11:22:33 +0200	[thread overview]
Message-ID: <20051011092232.GA1625@unthought.net> (raw)
In-Reply-To: <m33bn8bet4.fsf@nammatj.nsc.liu.se>

On Tue, Oct 11, 2005 at 11:09:27AM +0200, Leif Nixon wrote:
...
> 
> Now client n2 is stuck in a state where it uses its old cached data
> forever (or at least for several hours):
> 
>   NFS client n1                NFS client n2
> 
>   $ cat f
>   2
> 			       $ cat f
> 			       1

I can confirm this on NFSv3 UDP export from patched 2.6.11.11 server
(dual opteron 64-bit kernel) to two different SMP (32-bit x86) clients
with 2.6.12.4 and 2.6.11.11 kernels.

There are definitely timing issues - in order to reproduce the problem I
had to use "touch . ; echo 2 > r" and "touch r; cat r" on the clients -
I couldn't type the commands quickly enough one-by-one.

But right now I have:

[phoenix:joe] $ cat r
2

[raven:joe] $ cat r
1

Beautiful :)

-- 

 / jakob


  reply	other threads:[~2005-10-11  9:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-11  9:09 Cache invalidation bug in NFS v3 - trivially reproducible Leif Nixon
2005-10-11  9:22 ` Jakob Oestergaard [this message]
2005-10-11 14:47 ` Trond Myklebust
2005-10-12  4:31   ` Willy Tarreau
2005-10-13 22:34 ` Trond Myklebust
2005-10-14 13:34   ` Leif Nixon

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=20051011092232.GA1625@unthought.net \
    --to=jakob@unthought.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nixon@nsc.liu.se \
    /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