lkml.org 
[lkml]   [2001]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: NFS to Irix server broken again in 2.4.9
On Tue, Sep 04, 2001 at 10:03:43PM +0200, Trond Myklebust wrote:
> >>>>> " " == David Rees <dbr@greenhydrant.com> writes:
>
> > Previous 2.4.X kernels didn't require the 32bitclients option
> > on the IRIX server for some reason.
>
> That was because prior to 2.4.9 the kernel would automatically
> truncate the getdents() offsets to 32 bits. We now have true 64 bit
> offsets, and they actually get passed back to userland.
>
> glibc-2.x's 32 bit version of readdir() still assumes that
> getdents64() syscall returns some an offset (rather than a cookie) and
> that the offset fits into 32bits on ordinary directories.
> Using '32bitclients' on these older IRIX servers sort of shoehorns
> them into the glibc assumptions in the same way the 32 bit truncation
> in kernels 2.4.[0-8] did.

Hmm, the the server I'm running is IRIX 6.5.12 which isn't that old. IRIX
6.5.13 was only released a little while ago (with some specific IRIX/Linux
NFS fixes according to the changelog) so I assume that with 6.5.13 we won't
need the 32bitclients options.

Thanks for the info.

-Dave
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:02    [W:0.056 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site