On 10/13/2014 09:45 AM, Emmanuel Dreyfus wrote:
Emmanuel Dreyfus <m...@netbsd.org> wrote:

Erratum: it happens because it attempts to seekdir to the offset
obtained for last record. But I still have to find what code is sending
the request.
This is a find(1) probably forked by quota-crawld glusterd. In fact
running a find . in the fs is enough to trigger the phenomenon: once end
of directory is reached (op_ret > 0, op_errno = ENOENT), readdir is
called 2 more times (op_ret = -1, op_errno = EINVAL), which suggests end
of directory information does not reach the caller process correctly.
Emmanuel,
End of directory is determined by 'op_ret == 0'. On my system with xfs as backend, things are working fine. Which backend filesystem are you using?

Pranith


_______________________________________________
Gluster-devel mailing list
Gluster-devel@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-devel

Reply via email to