linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "H . J . Lu" <hjl@valinux.com>
To: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: NFS maillist <nfs@lists.sourceforge.net>,
	Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: [NFS] Updated patch for the [2.4.x] NFS 'missing directory entry a.k.a. IRIX server' problem...
Date: Mon, 26 Feb 2001 23:06:47 -0800	[thread overview]
Message-ID: <20010226230647.A14094@valinux.com> (raw)
In-Reply-To: <14997.9938.106305.635202@charged.uio.no> <20010226152826.A20653@valinux.com> <15003.20448.999929.948597@charged.uio.no>
In-Reply-To: <15003.20448.999929.948597@charged.uio.no>; from trond.myklebust@fys.uio.no on Tue, Feb 27, 2001 at 07:57:36AM +0100

On Tue, Feb 27, 2001 at 07:57:36AM +0100, Trond Myklebust wrote:
> >>>>> " " == H J Lu <hjl@valinux.com> writes:
> 
>      > I don't know how it will work with real 64bit cookies on a
>      > 32bit host for NFS V3 since you truncate it into 32bit during
>      > sign extension.
> 
> It won't for the moment, but that's a problem with the readdir() API
> which uses the 32-bit off_t rather than loff_t for the filldir()

I noticed that also.

> interface. The reason I added an extra truncation for the value of
> file->f_pos (which is used to fill the d_off field only for the last
> dirent) was for consistency with this interface.
> 
> I do have a patch to change the format of filldir too, but it'll
> probably have to wait until Linux 2.5.
> 

I much prefer to have a new getdents system call which will also return
d_type so that the 32 bit function in glibc can use this new getdents
instead of getdents64.


-- 
H.J. Lu (hjl@valinux.com)

  reply	other threads:[~2001-02-27  7:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-22 14:48 Updated patch for the [2.4.x] NFS 'missing directory entry a.k.a. IRIX server' problem Trond Myklebust
2001-02-26 23:28 ` [NFS] " H . J . Lu
2001-02-27  6:57 ` Trond Myklebust
2001-02-27  7:06   ` H . J . Lu [this message]
2001-02-27  7:41   ` Trond Myklebust
2001-02-27 19:12     ` Jamie Lokier
2001-02-27 23:04 ` H . J . Lu
2001-02-27 23:24   ` H . J . Lu
2001-02-28 11:19   ` 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=20010226230647.A14094@valinux.com \
    --to=hjl@valinux.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nfs@lists.sourceforge.net \
    --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 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).