]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
ceph: disable updating the atime since cephfs won't maintain it
authorXiubo Li <xiubli@redhat.com>
Wed, 20 Apr 2022 05:13:02 +0000 (13:13 +0800)
committerJeff Layton <jlayton@kernel.org>
Fri, 29 Apr 2022 20:06:36 +0000 (16:06 -0400)
commit7e872a13ffab4d31fa9f02a8e8f3acd2a540c2f9
treecbfdb19c6b40418e648043e00cfc6bbf9e007cc4
parentb90fb4a76d35c5cadce3c16912c8115b8540ea25
ceph: disable updating the atime since cephfs won't maintain it

Since the cephFS makes no attempt to maintain atime, we shouldn't
try to update it in mmap and generic read cases and ignore updating
it in direct and sync read cases.

And even we update it in mmap and generic read cases we will drop
it and won't sync it to MDS. And we are seeing the atime will be
updated and then dropped to the floor again and again.

URL: https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/thread/VSJM7T4CS5TDRFF6XFPIYMHP75K73PZ6/
Signed-off-by: Xiubo Li <xiubli@redhat.com>
fs/ceph/addr.c
fs/ceph/super.c