Re: Invalid DIR * usage in quota xlator

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 10/13/2014 12:19 PM, Emmanuel Dreyfus wrote:
On Mon, Oct 13, 2014 at 10:32:12AM +0530, Pranith Kumar Karampuri wrote:
      End of directory is determined by 'op_ret == 0'.
I get op_ret > 0, op_errno == ENOENT at quota xlator level.

On my system with xfs
as backend, things are working fine. Which backend filesystem are you using?
FFS, but I am not sure that is the problem since ENOENT on last entry
is produced by glusterfs itself.
Op_errno is valid only if 'op_ret < 0'. so that doesn't say much. After the last readdir call with op_ret > 0, there will be one more readdir call for which op_ret will come as '0'. That means reading of the directory is complete.

Pranith

I wil investigate further.



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




[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux