From: Trond Myklebust (trond.myklebust@fys.uio.no)
Date: 02/06/01-05:09:28 AM Z
Subject: Re: [reiserfs-list] Directory cookie issues
From: Trond Myklebust <trond.myklebust@fys.uio.no>
Date: 06 Feb 2001 12:09:28 +0100
Message-ID: <shszog0qd93.fsf@charged.uio.no>
>>>>> " " == Brent <brent@eng.sun.com> writes:
> The problem doesn't get any easier with cookies bigger than 64
> bits. Even a 64 bit OS won't handle those unless the offset in
> the getdents structure is changed to be some variable length
> array of bytes rather than an integer. What kind of offset
> does Linux use in getdents ?
Currently we just pass the cookie directly to getdents. That's a
pretty lame thing to do (violating POSIX and all), but it's done that
way for historical reasons.
I have now prepared a patch that sets up a cookie dictionary and
creates signed 32-bit offsets for use as getdents/lseek offsets. There
are still some issues of garbage collection to work out, but I hope
that'll ready for inclusion into the official kernel RSN.
Cheers,
Trond
This archive was generated by hypermail 2.1.2 : 03/04/05-01:48:32 AM Z CST