Re: Invalid DIR * usage in quota xlator

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

 



On Sun, Oct 12, 2014 at 10:09:01AM +0200, Emmanuel Dreyfus wrote:
> When quota xlator is enabled, bricks get this:
> 
> [2014-10-12 07:56:03.090516] E [posix.c:4874:posix_fill_readdir]
> 0-patchy-posix: seekdir(-1154801456) failed on dir=0xb99cb250: Invalid
> argument (offset reused from another DIR * structure?)
> 
> This means something either seekdir on a DIR * that was not obtained by
> opendir(), or that was closedir() and then opendir() again. Can someone
> explain me what directory walks are introduced by quota, and where
> opendir/readdir/closedir happen for that?

Apologies, I'm just catching up, but I'm confused by

	c65d4ea8a10a "Fix invalid seekdir() usage"

Is the result on non-Linux really to fail any readdir using an offset
not returned from the current open?

I can't see how NFS READDIR will work on non-Linux platforms in that
case.

--b.
_______________________________________________
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