From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: David Rees <dbr@greenhydrant.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: NFS to Irix server broken again in 2.4.9
Date: 04 Sep 2001 22:03:43 +0200 [thread overview]
Message-ID: <shswv3eena8.fsf@charged.uio.no> (raw)
In-Reply-To: <15253.1002.189305.674221@barley.abo.fi> <20010904120737.A17459@greenhydrant.com>
In-Reply-To: David Rees's message of "Tue, 4 Sep 2001 12:07:37 -0700"
>>>>> " " == 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.
Cheers,
Trond
next prev parent reply other threads:[~2001-09-04 20:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-04 16:40 NFS to Irix server broken again in 2.4.9 Mikko Huhtala
2001-09-04 19:07 ` David Rees
2001-09-04 20:03 ` Trond Myklebust [this message]
2001-09-04 20:20 ` David Rees
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=shswv3eena8.fsf@charged.uio.no \
--to=trond.myklebust@fys.uio.no \
--cc=dbr@greenhydrant.com \
--cc=linux-kernel@vger.kernel.org \
/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