Red Hat Bugzilla – Bug 1024666
setfattr fails on directories when gfid-access xlator is loaded
Last modified: 2014-04-17 07:50:11 EDT
Description of problem:
gfid and inode are changed in ga_virtual_lookup_cbk. Because of these changes, operations on the file are failing with EINVAL because in setxattr call of gfid-access xlator it does not do the reverse equivalent of what happens in ga_virtual_lookup_cbk so dht-layout-set happens on one inode but setxattr is sent on some other inode.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. create a directory hierarchy with some depth.
2. for each gfid of these directories perform a setfattr
3. Some of the commands fail with Invalid Argument error.
REVIEW: http://review.gluster.org/6194 (features/gfid-access: Handle inode remap when parent inode is NULL) posted (#1) for review on master by Pranith Kumar Karampuri (email@example.com)
COMMIT: http://review.gluster.org/6194 committed in master by Vijay Bellur (firstname.lastname@example.org)
Author: Pranith Kumar K <email@example.com>
Date: Wed Oct 30 11:57:01 2013 +0530
features/gfid-access: Handle inode remap when parent inode is NULL
Signed-off-by: Pranith Kumar K <firstname.lastname@example.org>
Tested-by: Gluster Build System <email@example.com>
Reviewed-by: Amar Tumballi <firstname.lastname@example.org>
Reviewed-by: Vijay Bellur <email@example.com>
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.5.0, please reopen this bug report.
glusterfs-3.5.0 has been announced on the Gluster Developers mailinglist , packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist  and the update infrastructure for your distribution.