diff options
author | Kotresh HR <khiremat@redhat.com> | 2018-06-14 01:08:35 -0400 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2018-06-20 06:51:21 +0000 |
commit | 841991130c94e3fcf4076917be6da9ce90406932 (patch) | |
tree | 6d7b61513cf5d071ecd5e3b479f831dcf16cd3ab /xlators/protocol/client | |
parent | 7a084b1c42bd1ccbf7e9d816e4a7ed79008a4572 (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.
fixes: bz#1592275
Change-Id: I206a469c83ee7b26da2fe096ae7bf8ff5986ad67
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Diffstat (limited to 'xlators/protocol/client')
0 files changed, 0 insertions, 0 deletions