]> 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)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 18 May 2022 12:07:08 +0000 (14:07 +0200)
commit16e7fb73a795c3c4679f012b380eb8b7d98cdd93
treef965997b4f8da34886eb5c8e111c2e946fba5c28
parent0a98f4c23d400d12a44a3b774bcdacdda04ad22d
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