[Gluster-devel] Invalid DIR * usage in quota xlator

Pranith Kumar Karampuri pkarampu at redhat.com
Mon Oct 13 05:02:12 UTC 2014

On 10/13/2014 09:45 AM, Emmanuel Dreyfus wrote:
> Emmanuel Dreyfus <manu at 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.
      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?


More information about the Gluster-devel mailing list