linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "J. Bruce Fields" <bfields@fieldses.org>
To: Steven French <sfrench@us.ibm.com>
Cc: akpm@linux-foundation.org, hch@infradead.org,
	Christoph Hellwig <hch@lst.de>,
	linux-fsdevel@vger.kernel.org, neilb@suse.de
Subject: Re: + knfsd-exportfs-add-exportfsh-header-fix.patch added to -mm tree
Date: Wed, 16 May 2007 17:33:43 -0400	[thread overview]
Message-ID: <20070516213343.GG18927@fieldses.org> (raw)
In-Reply-To: <OF16AE2DE2.AA544D3E-ON872572DD.005D1587-862572DD.005DC9DC@us.ibm.com>

On Wed, May 16, 2007 at 12:03:57PM -0500, Steven French wrote:
> I thought that until a few days ago, a sequence like the following (two 
> nfs servers exporting the same clustered data)
> 
> on client 1 lock range A through B of file1 (exported from nfs server 1)
> on client 2 lock range A through C of file 1 (exported from nfs server 2)
> on client 1 write  A through B
> on client 2 write A through C
> on client 1 unlock A through B
> on client 2 unlock A through C
> 
> would corrupt data (theoretically could be fixed as nfsd calls lock 
> methods 
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=fd85b8170dabbf021987875ef7f903791f4f181e) 

Right.

> but the more obvious point is that with two nfsd servers exporting the 
> same file data via the same cluster fs (under nfsd), the latencies can be 
> longer and the opportunity for stale metadata (file sizes)

Hm.  How could nfsd get stale metadata?

I'm just (probably naively) assuming that a "cluster" filesystem
attempts to provide much higher cache consistency than actually
necessary to keep nfs clients happy.  But, if not, it would be nice to
understand the problem.

--b.

  reply	other threads:[~2007-05-16 21:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200705152152.l4FLqJsV018874@shell0.pdx.osdl.net>
2007-05-16  6:57 ` + knfsd-exportfs-add-exportfsh-header-fix.patch added to -mm tree Christoph Hellwig
2007-05-16 12:53   ` Christoph Hellwig
2007-05-16 14:55   ` Steven French
2007-05-16 16:02     ` J. Bruce Fields
2007-05-16 17:03       ` Steven French
2007-05-16 21:33         ` J. Bruce Fields [this message]
2007-05-17  0:05     ` Neil Brown
2007-05-17  3:11       ` Steven French
2007-05-17  4:26         ` Neil Brown
2007-05-22  9:10     ` Christoph Hellwig

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=20070516213343.GG18927@fieldses.org \
    --to=bfields@fieldses.org \
    --cc=akpm@linux-foundation.org \
    --cc=hch@infradead.org \
    --cc=hch@lst.de \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=neilb@suse.de \
    --cc=sfrench@us.ibm.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;
as well as URLs for NNTP newsgroup(s).