Bug 1698078 - ctime: Creation of tar file on gluster mount throws warning "file changed as we read it"
Summary: ctime: Creation of tar file on gluster mount throws warning "file changed as ...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: ctime
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kotresh HR
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1699703 1699709
TreeView+ depends on / blocked
 
Reported: 2019-04-09 14:55 UTC by Kotresh HR
Modified: 2019-04-23 10:12 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1699703 1699709 (view as bug list)
Environment:
Last Closed: 2019-04-15 02:24:17 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gluster.org Gerrit 22540 0 None Merged posix/ctime: Fix stat(time attributes) inconsistency during readdirp 2019-04-15 02:24:16 UTC

Description Kotresh HR 2019-04-09 14:55:05 UTC
Description of problem:
On latest master where ctime feature is enabled by default, creation of tar file throws warning that 'file changed as we read it'

Version-Release number of selected component (if applicable):
mainline

How reproducible:
Always

Steps to Reproduce:
1. Create a replica 1*3 gluster volume and mount it.
2. Untar a file onto gluster mount
   #tar xvf ~/linux-5.0.6.tar.xz -C /gluster-mnt/
3. Create tar file from untarred files
   #mkdir /gluster-mnt/test-untar/
   #cd /gluster-mnt
   #tar -cvf ./test-untar/linux.tar ./linux-5.0.6

Actual results:
Creation of tar file from gluster mount throws warning 'file changed as we read it'

Expected results:
Creation of tar file from gluster mount should not throw any warning.

Additional info:

Comment 1 Worker Ant 2019-04-09 14:59:38 UTC
REVIEW: https://review.gluster.org/22540 (posix/ctime: Fix stat(time attributes) inconsistency during readdirp) posted (#1) for review on master by Kotresh HR

Comment 2 Worker Ant 2019-04-15 02:24:17 UTC
REVIEW: https://review.gluster.org/22540 (posix/ctime: Fix stat(time attributes) inconsistency during readdirp) merged (#4) on master by Amar Tumballi


Note You need to log in before you can comment on or make changes to this bug.