Re: regarding special treatment of ENOTSUP for setxattr

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

 



On 05/07/2014 03:44 PM, Pranith Kumar Karampuri wrote:

----- Original Message -----
From: "Raghavendra Gowdappa" <rgowdapp@xxxxxxxxxx>
To: "Pranith Kumar Karampuri" <pkarampu@xxxxxxxxxx>
Cc: "Vijay Bellur" <vbellur@xxxxxxxxxx>, gluster-devel@xxxxxxxxxxx, "Anand Avati" <aavati@xxxxxxxxxx>
Sent: Wednesday, May 7, 2014 3:42:16 PM
Subject: Re:  regarding special treatment of ENOTSUP for setxattr

I think with "repetitive log message suppression" patch being merged, we
don't really need gf_log_occasionally (except if they are logged in DEBUG or
TRACE levels).
That definitely helps. But still, setxattr calls are not supposed to fail with ENOTSUP on FS where we support gluster. If there are special keys which fail with ENOTSUPP, we can conditionally log setxattr failures only when the key is something new?

Pranith

----- Original Message -----
From: "Pranith Kumar Karampuri" <pkarampu@xxxxxxxxxx>
To: "Vijay Bellur" <vbellur@xxxxxxxxxx>
Cc: gluster-devel@xxxxxxxxxxx, "Anand Avati" <aavati@xxxxxxxxxx>
Sent: Wednesday, 7 May, 2014 3:12:10 PM
Subject: Re:  regarding special treatment of ENOTSUP for
setxattr



----- Original Message -----
From: "Vijay Bellur" <vbellur@xxxxxxxxxx>
To: "Pranith Kumar Karampuri" <pkarampu@xxxxxxxxxx>, "Anand Avati"
<aavati@xxxxxxxxxx>
Cc: gluster-devel@xxxxxxxxxxx
Sent: Tuesday, May 6, 2014 7:16:12 PM
Subject: Re:  regarding special treatment of ENOTSUP for
setxattr

On 05/06/2014 01:07 PM, Pranith Kumar Karampuri wrote:
hi,
    Why is there occasional logging for ENOTSUP errno when setxattr
    fails?

In the absence of occasional logging, the log files would be flooded
with this message every time there is a setxattr() call.
How to know which keys are failing setxattr with ENOTSUPP if it is not
logged
when the key keeps changing?

Pranith
-Vijay


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

_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-devel
Checkout http://review.gluster.com/#/c/3140/ & the associated BZ.

Thanks
Naga
_______________________________________________
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