[Bugs] [Bug 1425697] dht_setxattr returns EINVAL when a file is deleted during the FOP

bugzilla at redhat.com bugzilla at redhat.com
Wed May 3 10:27:31 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1425697

Prasad Desala <tdesala at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ON_QA                       |VERIFIED



--- Comment #7 from Prasad Desala <tdesala at redhat.com> ---
Verified this BZ on glusterfs version 3.8.4-24.el7rhgs.x86_64.

Followed the same steps as in the description, after the fix dht_setxattr and
dht_removexattr returns ENOENT when the file is deleted.

Output console snips:
=====================
Set xattr:
==========
[root at dhcp tmp_fuse]# setfattr -n trusted.test.sample1 -v "testing" block 
setfattr: block: No such file or directory
[root at dhcp tmp_fuse]# setfattr -n trusted.test.sample1 -v "testing" char
setfattr: char: No such file or directory
[root at dhcp tmp_fuse]# setfattr -n trusted.test.sample1 -v "testing" vitest
setfattr: vitest: No such file or directory
[root at dhcp tmp_fuse]# setfattr -n trusted.test.sample1 -v "testing" pipefile 
setfattr: pipefile: No such file or directory
[root at dhcp tmp_fuse]# setfattr -n trusted.test.sample1 -v "testing" zero 
setfattr: zero: No such file or directory
[root at dhcp tmp_fuse]# setfattr -n trusted.test.sample1 -v "testing" dir_test
setfattr: dir_test: No such file or directory

Remove xattr:
=============
[root at dhcp tmp_fuse]# setfattr -x trusted.test.sample1 char
setfattr: char: No such file or directory
[root at dhcp tmp_fuse]# setfattr -x trusted.test.sample1 pipefile 
setfattr: pipefile: No such file or directory
[root at dhcp tmp_fuse]# setfattr -x trusted.test.sample1 zero 
setfattr: zero: No such file or directory

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=0e9yzpCAR9&a=cc_unsubscribe


More information about the Bugs mailing list