]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
client: switch to old method to invalidate dcache if euid != 0
authorXiubo Li <xiubli@redhat.com>
Thu, 20 Oct 2022 04:16:55 +0000 (12:16 +0800)
committerXiubo Li <xiubli@redhat.com>
Mon, 30 Jan 2023 07:34:57 +0000 (15:34 +0800)
commitb9b25a54414b60f5da841f3d16b2e267b670ec5b
treec66eec11713c6a4168065543e4aec5abb8cc1914
parentf9c78fe72f3d7c02e927f71e0fbd841605c42708
client: switch to old method to invalidate dcache if euid != 0

Force to use the old and slow method to invalidate the dcache
if the euid is non-root, or the remount may fail with return
code 1 or 32.

https://tracker.ceph.com/issues/56532
Signed-off-by: Xiubo Li <xiubli@redhat.com>
src/client/Client.cc