Re: If not readdir() then what?

From: H. Peter Anvin
Date: Thu Apr 12 2007 - 13:38:34 EST


J. Bruce Fields wrote:
On Thu, Apr 12, 2007 at 08:21:16AM -0400, Theodore Tso wrote:
Again, compared to a directory fd cache, what you're proposing a huge
hit to the filesystem, and at the moment, given that telldir/seekdir
is rarely used by everyone else, it's mainly NFS which is the main bad
actor here by insisting on the use of a small 31/63-bit cookie as a
condition of protocol correctness.

If we want to get bigger cookies into the protocol, then the sooner we
start working on that the better.... How big is big enough? And is a
larger cookie sufficient on its own?


Any fixed size is too small. It should be a dynamic size.

-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/