]> git.baikalelectronics.ru Git - kernel.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, 25 May 2022 18:45:14 +0000 (20:45 +0200)
commit6d2234cc0a5c35c8f123b05dc06e862aad9c07f8
tree586d6627cccf69428c5c31d423d0ef9a0af20b3f
parentf559fa2e8a224774e0162af84b8be05c3beb5af2
ceph: disable updating the atime since cephfs won't maintain it

Since 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>
Acked-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/addr.c
fs/ceph/super.c