Bug 783916

Summary: value for Stripe related xattrs are not showing the proper value upon getxattr on mount point
Product: [Community] GlusterFS Reporter: shylesh <shmohan>
Component: stripeAssignee: shishir gowda <sgowda>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: mainlineCC: gluster-bugs, nsathyan
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.4.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-24 18:02:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 817967    

Description shylesh 2012-01-23 08:47:22 UTC
Description of problem:

on the point doing getxattr shows no value for the stripe related xattrs

Version-Release number of selected component (if applicable):
Mainline

How reproducible:
Often

Steps to Reproduce:
1.create a stripe volume
2. touch a file on the mount point
3. run "getxattr -d -e text -m . *"
  
Actual results:
Stripe related xattrs will not be having any value

Expected results:


Additional info:

Comment 1 shishir gowda 2012-01-23 08:52:08 UTC
This is a regression. Bug 771313 introduced this.

the size being passed to sys_lgetxattr is 0, hence the value received is always NULL.

Comment 2 Anand Avati 2012-01-23 17:42:45 UTC
CHANGE: http://review.gluster.com/2676 (storage/posix: Pass correct size to sys_lgetxattr) merged in master by Vijay Bellur (vijay)

Comment 3 krishnan parthasarathi 2012-01-24 09:04:21 UTC
*** Bug 766532 has been marked as a duplicate of this bug. ***

Comment 4 shylesh 2012-05-07 07:13:40 UTC
Now stripe related xattrs will not be shown on the mount point.