diff options
author | Yan, Zheng <zyan@redhat.com> | 2017-06-01 10:44:53 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2017-06-14 19:33:23 +0200 |
commit | 56199016e8672feb7b903eda003a863d5bf2b8c4 (patch) | |
tree | a3be21422d9d9c38e94535c5cb37f525ac372eeb /fs/ceph/acl.c | |
parent | ceph: check i_nlink while converting a file handle to dentry (diff) | |
download | linux-56199016e8672feb7b903eda003a863d5bf2b8c4.tar.xz linux-56199016e8672feb7b903eda003a863d5bf2b8c4.zip |
ceph: use current_kernel_time() to get request time stamp
ceph uses ktime_get_real_ts() to get request time stamp. In most
other cases, current_kernel_time() is used to get time stamp for
filesystem operations (called by current_time()).
There is granularity difference between ktime_get_real_ts() and
current_kernel_time(). The later one can be up to one jiffy behind
the former one. This can causes inode's ctime to go back.
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/acl.c')
0 files changed, 0 insertions, 0 deletions