[Gluster-devel] 3.3 requires extended attribute on /

Krishnan Parthasarathi kparthas at redhat.com
Sun May 20 14:14:10 UTC 2012


I have submitted the fix for review: http://review.gluster.com/3380
I have not tested the fix with "/" having EA disabled. It would be great
if you could confirm the looping forever doesn't happen with this fix.


----- Original Message -----
From: "Emmanuel Dreyfus" <manu at netbsd.org>
To: "Krishnan Parthasarathi" <kparthas at redhat.com>
Cc: gluster-devel at nongnu.org
Sent: Sunday, May 20, 2012 1:41:04 PM
Subject: Re: [Gluster-devel] 3.3 requires extended attribute on /

Krishnan Parthasarathi <kparthas at redhat.com> wrote:

> It is strange that the you see glusterd_path_in_use() loop forever. If I
> am not wrong, the inner loop checks for presence of trusted.gfid and
> trusted.glusterfs.volume-id and should exit after that, and the outer loop
> performs dirname on the path repeatedly and dirname(3) guarantees such an
> operation should return "/" eventually, which we check.

Here is my setup when I tried that:
/  with EA enabled
/export/wd3a ibrick with EA enabled

But I may have been testing with an untintended patch in
glusterd_path_in_use(). I will retry with the right fix once it will be

Emmanuel Dreyfus
manu at netbsd.org

More information about the Gluster-devel mailing list