All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Chinner <dgc@sgi.com>
To: Jeff Layton <jlayton@redhat.com>
Cc: Valdis.Kletnieks@vt.edu, Peter Staubach <staubach@redhat.com>,
	Andrew@sc8-sf-spam2-b.sourceforge.net, nfsv4@linux-nfs.org,
	linux-kernel@vger.kernel.org,
	Trond Myklebust <trond.myklebust@fys.uio.no>,
	nfs@lists.sourceforge.net, Pierre Ossman <drzeus-list@drzeus.cx>,
	Morton <akpm@linux-foundation.org>
Subject: Re: [NFS] What's slated for inclusion in 2.6.24-rc1 from the NFS client git tree...
Date: Mon, 8 Oct 2007 08:56:09 +1000	[thread overview]
Message-ID: <20071007225609.GQ23367404@sgi.com> (raw)
In-Reply-To: <20071005141222.5afbb6b9.jlayton@redhat.com>

On Fri, Oct 05, 2007 at 02:12:22PM -0400, Jeff Layton wrote:
> On Fri, 05 Oct 2007 13:30:10 -0400
> Valdis.Kletnieks@vt.edu wrote:
> 
> > On Thu, 04 Oct 2007 10:00:50 EDT, Trond Myklebust said:
> > 
> > > How about a boot/module parameter to turn it on or off?
> > > 
> > > I don't see any point in having a sysctl for something like this: either
> > > you have legacy applications or you don't. It is not something that you
> > > switch off as you go off to lunch.
> > 
> > How does Joe Sysadmin tell if he has an affected legacy app or not?
> > 
> > (The obvious "try it and see what breaks" is a non-starter for many places,
> > because you too easily end up in a loop of "enable it, find 4-5 show stoppers,
> > turn it off, fix them, lather rinse repease".  Been there, done that, got
> > the tshirt - a project I got dragged into involves a large storage array that
> > appears to insist on exporting 64-bit stuff, and a large farm of clients that
> > are very 64-bit unclean....)
> > 
> 
> Note that "try it and see what breaks" isn't reliable either. If glibc
> gets back a 64 bit inode number that just happens to fit in the 32-bit
> field, then everything will work. You don't actually get an EOVERFLOW
> until st_ino overflows the field, and that may not happen often enough
> for testing this way to detect it...

There's a damn easy way of testing this.

Use XFS on a 64 bit Linux NFS server, mount is '-o inode64,ino64'
and then export it to you client that is going to have problems.
the "ino64" mount option guarantees that the userspace visible
inode number is always > 32 bits in length....

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group

  reply	other threads:[~2007-10-07 22:56 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-03 23:41 What's slated for inclusion in 2.6.24-rc1 from the NFS client git tree Trond Myklebust
2007-10-03 23:41 ` Trond Myklebust
2007-10-03 23:52 ` Jeff Garzik
2007-10-04  6:52 ` Pierre Ossman
2007-10-04  6:52   ` Pierre Ossman
2007-10-04 14:00   ` [NFS] " Trond Myklebust
2007-10-04 14:00     ` Trond Myklebust
2007-10-04 16:43     ` Pierre Ossman
2007-10-04 18:42       ` Andrew Morton
2007-10-04 18:42         ` [NFS] " Andrew Morton
2007-10-04 19:16         ` Trond Myklebust
2007-10-04 19:16           ` Trond Myklebust
2007-10-04 19:41           ` Peter Staubach
2007-10-04 19:41             ` [NFS] " Peter Staubach
2007-10-05  6:25             ` Pierre Ossman
2007-10-05  6:25               ` [NFS] " Pierre Ossman
2007-10-05 12:24               ` Jeff Layton
2007-10-05 17:36               ` [NFS] " Trond Myklebust
2007-10-05 17:54                 ` Pierre Ossman
2007-10-05 17:54                   ` [NFS] " Pierre Ossman
2007-10-04 19:59           ` Andrew Morton
2007-10-04 19:59             ` Andrew Morton
2007-10-05  0:58             ` Trond Myklebust
2007-10-05  0:58               ` Trond Myklebust
2007-10-05 17:30     ` Valdis.Kletnieks
2007-10-05 17:30       ` [NFS] " Valdis.Kletnieks
2007-10-05 17:52       ` Trond Myklebust
2007-10-05 17:52         ` Trond Myklebust
2007-10-05 18:00       ` Jeff Layton
2007-10-05 18:00         ` [NFS] " Jeff Layton
2007-10-08  8:36         ` Greg Banks
2007-10-05 18:12       ` Jeff Layton
2007-10-05 18:12         ` Jeff Layton
2007-10-07 22:56         ` David Chinner [this message]
2007-10-04 20:16 ` Chuck Lever
2007-10-05 17:31   ` 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=20071007225609.GQ23367404@sgi.com \
    --to=dgc@sgi.com \
    --cc=Andrew@sc8-sf-spam2-b.sourceforge.net \
    --cc=Valdis.Kletnieks@vt.edu \
    --cc=akpm@linux-foundation.org \
    --cc=drzeus-list@drzeus.cx \
    --cc=jlayton@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nfs@lists.sourceforge.net \
    --cc=nfsv4@linux-nfs.org \
    --cc=staubach@redhat.com \
    --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.