Red Hat Bugzilla – Bug 773567
gluster's GET/PUT method feature with getxattr()/setxattr() is not working.
Last modified: 2015-10-22 11:46:38 EDT
Description of problem:
Long back when GlusterFS was in still Alpha state (may be 1.3.x releases), we had a feature to create/edit a file, read a file using setxattr()/getxattr() syscalls.
Currently some part of the code is present in posix.c but its not getting hit at all. (found during code-coverage runs)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Make sure its a empty mountpoint, with just one brick in volume (ls /mnt/glusterfs)
2. bash# setxattr -n glusterfs.file.testfile -v "helloworld" /mnt/glusterfs
3. bash# cat /mnt/glusterfs/testfile (should show 'helloworld' as content).
setxattr command fails
The above sequence of commands should work fine.
*** Bug 782257 has been marked as a duplicate of this bug. ***
*** Bug 782685 has been marked as a duplicate of this bug. ***
currently planning to remove the 'edit'/modify option of the file... only create and read will be supported from the xattr, which helps to reduce the race conditions. posted patch @ http://review.gluster.org/2605
because of the large number of bugs filed against mainline version\ is ambiguous and about to be removed as a choice.
If you believe this is still a bug, please change the status back to NEW and choose the appropriate, applicable version for it.