]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: Inode::hold_caps_until is time from monotonic clock now.
authorNeeraj Pratap Singh <neesingh@redhat.com>
Wed, 8 Dec 2021 08:42:59 +0000 (14:12 +0530)
committerNeeraj Pratap Singh <neesingh@redhat.com>
Tue, 28 Jun 2022 19:33:45 +0000 (01:03 +0530)
commit369fdd83ca42d5a8790531c54001c4a58ccccda3
treed37101af871aa4bc7fe2a76b614ce669f70f985a
parent9588b06788b5f76e3f6d4633b0781ab529c22efa
client: Inode::hold_caps_until is time from monotonic clock now.

Inode::hold_caps_until storing time from ceph::coarse_mono_clock now.

This upstream code of this PR i.e. the parent PR contains the file
`src/common/options/mds-client.yaml.in` which intends to fix a part
of this PR whereas this file didn't exist in pacific branch.So, those
changes of `src/common/options/mds-client.yaml.in` are incorporated in
the below mentioned files in Conlicts.
Fixes: https://tracker.ceph.com/issues/52982
Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
(cherry picked from commit 983b10506dc8466a0e47ff0d320d480dd09999ec)

Conflicts:`/src/common/legacy_config_opts.h`
          `/src/common/options.cc`
src/client/Client.cc
src/client/Client.h
src/client/Inode.h
src/client/MetaRequest.h
src/common/legacy_config_opts.h
src/common/options.cc
src/librados/RadosClient.cc
src/mon/MonClient.cc
src/mon/MonClient.h
src/neorados/RADOSImpl.cc
src/tools/cephfs_mirror/Mirror.cc