]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: switch to old method to invalidate dcache if euid != 0 49944/head
authorXiubo Li <xiubli@redhat.com>
Thu, 20 Oct 2022 04:16:55 +0000 (12:16 +0800)
committerXiubo Li <xiubli@redhat.com>
Fri, 10 Mar 2023 05:49:39 +0000 (13:49 +0800)
commit384eda6586ad3481643f82c6d9e51f3cd38b0789
tree8ab432f41074e74022c3ac4f9dd2d68f62abedd5
parentc8078f1b57c1fd59b305f5b72e5dafd5000b13ff
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>
(cherry picked from commit b9b25a54414b60f5da841f3d16b2e267b670ec5b)
src/client/Client.cc