Re: regressions due to 64-bit ext4 directory cookies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[forwarding from Ted T'so whose email was rejected by our mailing list. -JM]

Date: Tue, 12 Feb 2013 23:00:03 -0500
From: Theodore Ts'o <tytso@xxxxxxx>
To: "J. Bruce Fields" <bfields@xxxxxxxxxxxx>
Cc: linux-ext4@xxxxxxxxxxxxxxx, sandeen@xxxxxxxxxx, Bernd Schubert
 <bernd.schubert@xxxxxxxxxxxxxxxxxx>, gluster-devel@xxxxxxxxxx
Subject: Re: regressions due to 64-bit ext4 directory cookies

On Tue, Feb 12, 2013 at 03:28:41PM -0500, J. Bruce Fields wrote:
> 06effdbb49af5f6c "nfsd: vfs_llseek() with 32 or 64 bit offsets (hashes)"
> and previous patches solved problems with hash collisions in large
> directories by using 64- instead of 32- bit directory hashes in some
> cases.  But it caused problems for users who assume directory offsets
> are "small".  Two cases we've run across:
>
>         - older NFS clients: 64-bit cookies cause applications on many
>           older clients to fail.

Is there a list of clients (and version numbers) which are having
problems?

> A "no_64bit_cookies" export option would provide a workaround for NFS
> servers with older NFS clients, but not for applications like gluster.

Why isn't it sufficient for gluster?  Are they doing something
horrible such as assuming that telldir() cookies accessed from
userspace are identical to NFS cookies?  Or is it some other horrible
abstraction violation?

                                                - Ted



[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux