commit | d8672d64b88cdb7aa8139fb6d218f40b8cbf60af | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@newdream.net> | Mon Nov 08 09:24:34 2010 -0800 |
committer | Sage Weil <sage@newdream.net> | Mon Nov 08 09:24:34 2010 -0800 |
tree | 71d955bc89b33df3f838f8e1e8c0cbcd3f2bfc62 | |
parent | 8bd59e0188c04f6540f00e13f633f22e4804ce06 [diff] |
ceph: fix update of ctime from MDS The client can have a newer ctime than the MDS due to AUTH_EXCL and XATTR_EXCL caps as well; update the check in ceph_fill_file_time appropriately. This fixes cases where ctime/mtime goes backward under the right sequence of local updates (e.g. chmod) and mds replies (e.g. subsequent stat that goes to the MDS). Signed-off-by: Sage Weil <sage@newdream.net>