[Lustre-devel] readdir for striped dir
Oleg Drokin
Oleg.Drokin at Sun.COM
Thu Mar 25 09:26:30 PDT 2010
Hello!
On Mar 24, 2010, at 6:23 PM, Andreas Dilger wrote:
> In SUSv2 I didn't see any mention of entry ordering, per se, though
> telldir() and seekdir() should presumably be repeatable for NFS re-
> export, which implies that the user-visible ordering can't change
> randomly between invocations, and it shouldn't change between clients
> or clustered NFS export would fail.
We just need to remember starting MDS in the cookie and then the cookie
would be 100% repeatable. (or derive that in some other 100% repeatable
client-neutral way, but without having all clients to always choose the
same order for new readdirs of the same dir of course)
We need to do it anyway so that we don't end up returning some entries
we already returned in the past in clustered NFS reexport environment.
Bye,
Oelg
More information about the lustre-devel
mailing list