path: root/xlators/protocol/client/src/client-handshake.c
diff options
authorKotresh HR <>2018-06-01 01:48:31 -0400
committerAmar Tumballi <>2018-06-03 09:09:47 +0000
commita6f0e7a4f1ca203762cae2ed5e426b52124c74dc (patch)
treee95cc91ba349b73dca9bb6bf27fb385c8e55ebf7 /xlators/protocol/client/src/client-handshake.c
parent2c1131e5868e46cfc806fb3a1cb63a5e554b4d6c (diff)
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 <>
Diffstat (limited to 'xlators/protocol/client/src/client-handshake.c')
0 files changed, 0 insertions, 0 deletions