public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Gordon Lack <gmlack@freenet.co.uk>
To: Neil Brown <neilb@cse.unsw.edu.au>
Cc: linux-kernel@vger.kernel.org
Subject: Re: NFSv3 pathname problems in 2.4 kernels
Date: Mon, 23 Jul 2001 23:20:40 +0100	[thread overview]
Message-ID: <3B5CA338.890F9586@freenet.co.uk> (raw)
In-Reply-To: <3B5B32B2.B96E6BD3@freenet.co.uk> <15195.35313.83387.515099@notabene.cse.unsw.edu.au>

Neil Brown wrote:
> 
> This shouldn't be a problem for Solaris 2.6, but definately is for
> Irix.

   Well, there are many 2.6 systems and they all fail in the same aay
as Irix.  So does Solaris 2.7.  (2.8 seems to be Ok).

> > b) if so, do they have a solution?
> 
> 1/ Don't use irix.

   Not an option!

> 2/ Don't use NFSv3

   Not an option - some of the files are multi-GB ones.

> 3/ Get a patch from Irix... I believe an upcoming release of Irix
> fixed the problem, but I don't recall the details.

   Fixed in 6.5.13 (I believe) but that requires fixing it in *many* clients, and doesn't help the
Solaris2.6/2.7 systems.

> Look in fs/nfsd/nfsfh.c, in fh_compose.
> If you change:
>         if (ref_fh &&
>             ref_fh->fh_handle.fh_version == 0xca &&
>             parent->d_inode->i_sb->s_op->dentry_to_fh == NULL) {
> to
>         if (parent->d_inode->i_sb->s_op->dentry_to_fh == NULL) {
> you will probably get what you want, for ext2 at least.

   Thanks, but this is for xfs (I didn't fancy fsck'ing a 470GB file
system!).  I suppose it's suck it and see....

> "Best" option is to complain to SGI and get a patch.

   Not necessarily.  That is certainly a long(ish)-term path, but there
are *far* more clients than servers, so a server-side fix, even if just
a temporary fudge, is must better in practical terms. Change Control procedures
for systems is more accurately described as Change Prevention!


   Many thanks...

  reply	other threads:[~2001-07-23 22:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-22 20:08 NFSv3 pathname problems in 2.4 kernels Gordon Lack
2001-07-23  2:20 ` Neil Brown
2001-07-23 22:20   ` Gordon Lack [this message]
2001-07-23 23:38     ` Neil Brown

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=3B5CA338.890F9586@freenet.co.uk \
    --to=gmlack@freenet.co.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=neilb@cse.unsw.edu.au \
    /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