[Gluster-devel] metadata race confition (was: ename(2) race condition)

Anand Avati anand.avati at gmail.com
Tue May 22 20:09:52 UTC 2012


On Tue, May 22, 2012 at 2:08 AM, Emmanuel Dreyfus <manu at netbsd.org> wrote:

>
> Further investigation shows you are right. I traced the
> struct fuse_entry_out returned by glusterfs on LOOKUP;
>
> "/subdir", uid = 500, gid = 500, mode = 040755, attr_valid = 1
>

...


> "/subdir", uid = 0, gid = 0, mode = 040700, attr_valid = 1
>

Note that even mode has changed, not just the uid/gid. It will probably
help if you can put a breakpoint in this case and inspect the stack about
where these attribute fields are fetched from (some cache? from posix?)

Avati
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20120522/1cdd5727/attachment-0003.html>


More information about the Gluster-devel mailing list