Description of problem: Gluster clients using -1 as pid are considered internal to the gluster ecosystem and therefore marker translator should not update xtimes for the changes made by thnm. Version-Release number of selected component (if applicable): Seen on master & release-3.2 How reproducible: Solid. Steps to Reproduce: 1. rm -rf /backing/dir 2. gluster volume create my-vol my-ip:/backing/dir && gluster volume start my-vol 3. gluster volume set my-vol indexing on 4. glusterfs --client-pid=-1 --volfile-id=my-vol -s localhost /mnt/gluster0/ 5. touch /mnt/gluster0/x 6. getfattr -m /backing/dir | grep xtime | wc -l Actual results: 1 Expected results: 0 Additional info:
CHANGE: http://review.gluster.com/2559 (features/marker: xtime should not be updated for modifications done by special client.) merged in master by Vijay Bellur (vijay)
CHANGE: http://review.gluster.com/2564 (features/marker: xtime should not be updated for modifications done by special client.) merged in release-3.2 by Vijay Bellur (vijay)
Verified on gluster-3.2.6qa2. It works as expected.
CHANGE: http://review.gluster.com/2971 (features/marker: Replacing -1 with GF_CLIENT_PID_GSYNCD as part of code cleanup.) merged in master by Vijay Bellur (vijay)
CHANGE: http://review.gluster.org/2969 (features/marker: Replacing -1 with GF_CLIENT_PID_GSYNCD as part of code cleanup.) merged in release-3.2 by Anand Avati (avati)