Red Hat Bugzilla – Bug 795289
trusted.glusterfs.pathinfo returns I/O error for a dht volume
Last modified: 2015-04-20 07:58:01 EDT
On a DHT* volume getting extended attribute for a file return I/O error.
The problem is in getting the hashed_subvol in dht_getxattr() due to loc->name being NULL. The side effect of this is call_cnt getting initialized to an incorrect value resulting in the following log messages from cbk and a failed fop call.
Log messgages (client):
[2012-02-20 11:39:50.913102] E [dht-common.c:1730:dht_vgetxattr_cbk] 0-this->name: Unable to find hashed_subvol for path (<REPLICATE:colon-dr-replicate-1> <POSIX:h3ckers-pride:/d1r0/f0> <POSIX:h3ckers-pride:/d1r1/f0>) Link:
CHANGE: http://review.gluster.com/3175 (cluster/dht: Remove un-used pathinfo code for link files) merged in master by Vijay Bellur (firstname.lastname@example.org)