DragonFly commits List (threaded) for 2007-11
DragonFly BSD
DragonFly commits List (threaded) for 2007-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: 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 ...


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 20 Nov 2007 16:36:37 -0800 (PST)

: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@backplane.com>



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