[Gluster-devel] files exist but readdir do not see them
Emmanuel Dreyfus
manu at netbsd.org
Tue Jul 12 12:35:07 UTC 2011
On Tue, Jul 12, 2011 at 08:29:00AM +0000, Emmanuel Dreyfus wrote:
> How is it supposed to work? I suspect there is some assumption on
> what offsets the client will use in readdir operations. Or did
> I misunderstood dht logic?
Ok, I understood the issue. In FUSE, struct dirent's off is not an
offset, it is an opaque cookie send by the filesystem and that I
have to send back. NetBSD's FUSE implementation did not handle
it correctly. I fixed it and it works now.
--
Emmanuel Dreyfus
manu at netbsd.org
More information about the Gluster-devel
mailing list