diff options
| author | Kotresh HR <khiremat@redhat.com> | 2018-06-14 01:08:35 -0400 |
|---|---|---|
| committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2018-07-02 17:27:52 +0000 |
| commit | 0bd0e7c2b4508cf0fff68bd14e3947287a17e875 (patch) | |
| tree | e6fef65783e54dd1f0c4b12fe04ed42428c36b5b /tools/setgfid2path/gluster-setgfid2path.8 | |
| parent | df511f7738e179d0f9b5761e635ace872832e9b2 (diff) | |
posix/ctime: Fix differential ctime duing entry operations
We should not be relying on backend file's time attributes
to load the initial ctime time attribute structure. This
is incorrect as each replica set would have witnessed the
file creation at different times.
For new file creation, ctime, atime and mtime should be
same, hence initiate the ctime structure with the time
from the frame. But for the files which were created
before ctime feature is enabled, this is not accurate
but still fine as the times would get eventually accurate.
Backport of:
> Patch: https://review.gluster.org/#/c/20281/
> BUG: 1592275
> Change-Id: I206a469c83ee7b26da2fe096ae7bf8ff5986ad67
> Signed-off-by: Kotresh HR <khiremat@redhat.com>
(cherry picked from commit 841991130c94e3fcf4076917be6da9ce90406932)
fixes: bz#1593537
Change-Id: I206a469c83ee7b26da2fe096ae7bf8ff5986ad67
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Diffstat (limited to 'tools/setgfid2path/gluster-setgfid2path.8')
0 files changed, 0 insertions, 0 deletions
