[Gluster-devel] Readdir d_off encoding

J. Bruce Fields bfields at fieldses.org
Mon Dec 22 18:26:47 UTC 2014


On Mon, Dec 22, 2014 at 09:30:29AM -0500, Jeff Darcy wrote:
> By contrast, the failure mode for the map-caching approach - a simple
> failure in readdir - is relatively benign.  Such failures are also
> likely to be less common, even if we adopt the *unprecedented*
> requirement that the cache be strictly space-limited.  If we relax that
> requirement, the problem goes away entirely.

I'm not sure what you mean by "strictly space-limited", but please note
that some sort of cache-eviction policy will be required to keep the
cache from growing without bound.  (NFS unfortunately allows a client to
present the server any cookie it has ever seen; they live forever.)

--b.


More information about the Gluster-devel mailing list