AFR writev fop(and possibly many others) ignore xdata. How to reproduce : If xdata is set by a translator (in my case, the compression translator) located below AFR, AFR loses xdata. What needs to be done in afr_writev (and others) : if(xdata) local->xdata_req = dict_ref(xdata); and then pass local->xdata_req wherever STACK_WIND is called.
REVIEW: http://review.gluster.org/4845 (afr: make writev not ignore xdata) posted (#1) for review on master by Prashanth Pai (nullpai)
REVIEW: http://review.gluster.org/4845 (afr: make writev not ignore xdata) posted (#2) for review on master by Prashanth Pai (nullpai)
This seems to be a problem with all fops, though the submitted patch only fixes writev (which is OK and appreciated).
REVIEW: http://review.gluster.org/4845 (afr: make writev not ignore xdata) posted (#3) for review on master by Prashanth Pai (ppai)
This issue is addressed by refactor by Avati in http://review.gluster.org/6010. So closing this one. *** This bug has been marked as a duplicate of bug 1021686 ***