cvs commit: src/include dirent.h src/sys/sys dirent.h vfsops.h src/sys/emulation/linux/i386/linprocfs linprocfs_vnops.c src/sys/kern vfs_vopops.c src/sys/vfs/fdesc fdesc_vnops.c src/sys/vfs/gnu/ext2fs ext2_lookup.c src/sys/vfs/hpfs hpfs_vnops.c ...

Matthew Dillon dillon at apollo.backplane.com
Tue Nov 20 16:37:51 PST 2007


:On Tue, Nov 20, 2007 at 01:03:51PM -0800, Matthew Dillon wrote:
:>   Log:
:>   Make necessary changes to readdir/getdirentries to support HAMMER.  HAMMER
:>   needs to use 64 bit directory cookies.
:
:Be careful when using 64bit cookies. At least Linux doesn't like that
:very much. This applies to both Linux emulation and NFS.
:
:Joerg

    Well, someone will have to test it, but NFSv3 explicitly specs 64 bit
    cookies so if linux doesn't support them with NFSv3, linux has a real
    problem.

    In anycase, the NFS protocols haven't changed for UFS exports, since
    UFS uses the file offset in the directory for the cookie.   HAMMER,
    however, uses a hash key + iterator to deal with collisions and needs
    all 64 bits to represent the cookie.

					-Matt
					Matthew Dillon 
					<dillon at backplane.com>





More information about the Commits mailing list