[Bugs] [Bug 1593542] New: ctime: Upgrade/ Enabling ctime feature wrongly updates older files with latest {a|m|c}time

bugzilla at redhat.com bugzilla at redhat.com
Thu Jun 21 04:09:56 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1593542

            Bug ID: 1593542
           Summary: ctime: Upgrade/Enabling ctime feature wrongly updates
                    older files with latest {a|m|c}time
           Product: GlusterFS
           Version: mainline
         Component: posix
          Assignee: bugs at gluster.org
          Reporter: khiremat at redhat.com
                CC: bugs at gluster.org



Description of problem:
Upgrade scenario: Currently for older files, the ctime gets updated during
{a|m|c}time modification fop and eventually becomes consistent. 
With any {a|m|c}time modification, the ctime is initialized with latest time
which is incorrect. So how do we handle this upgrade scenario.

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

How reproducible:
Always

Steps to Reproduce:
1.  Create EC/replica volume, mount it, create a file.
2.  Enable ctime feature
3.  touch the created file {m|a|c}time will be latest. Only access time should
have been updated.

Actual results:
 {a|m|c}time gets updated.

Expected results:
 Only access time should have been updated.


Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list