]> 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>
Mon, 25 Apr 2022 09:07:48 +0000 (11:07 +0200)
commit2beac8576a0a18a00d44ca3b265ebf637fe87435
treef8a36592e1e8f7c215ffbe00fcec0ca089796963
parent2bdb7240ba81c7911ad5230427d509cd581d0777
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