summaryrefslogtreecommitdiffstats
path: root/tests/basic/ctime/ctime-readdir.c
Commit message (Collapse)AuthorAgeFilesLines
* posix/ctime: Fix stat(time attributes) inconsistency during readdirpKotresh HR2019-04-151-0/+29
Problem: Creation of tar file on gluster volume throws warning 'file changed as we read it' Cause: During readdirp, for few of the files whose inode is not present, time attributes were served from backend. This caused the ctime of few files to be different between before readdir and after readdir by tar. Solution: If ctime feature is enabled and inode is not present, don't serve the time attributes from backend file, serve it from xattr. fixes: bz#1698078 Change-Id: I427ef865f97399475faf5aa6ca495f7e317603ae Signed-off-by: Kotresh HR <khiremat@redhat.com>