[Bugs] [Bug 1584981] posix/ctime: EC self heal of directory is blocked with ctime feature enabled
bugzilla at redhat.com
bugzilla at redhat.com
Sun Jun 3 09:10:16 UTC 2018
https://bugzilla.redhat.com/show_bug.cgi?id=1584981
Worker Ant <bugzilla-bot at gluster.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|POST |MODIFIED
--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/20120 committed in master by "Amar Tumballi"
<amarts at redhat.com> with a commit message- posix/ctime: Fix fops racing in
updating mtime/atime
In distributed systems, there could be races with fops
updating mtime/atime which could result in different
mtime/atime for same file. So updating them only if
time is greater than the existing makes sure, only
the highest time is retained. If the mtime/atime
update comes from the explicit utime syscall, it is
allowed to set to previous time.
Thanks Xavi for helping in rooting the issue.
fixes: bz#1584981
Change-Id: If1230a75b96d7f9a828795189fcc699049e7826e
Signed-off-by: Kotresh HR <khiremat at redhat.com>
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=pegtg7Omj5&a=cc_unsubscribe
More information about the Bugs
mailing list