]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
client: set LIBMOUNT_FORCE_MOUNT2=always
authorJakob Haufe <sur5r@sur5r.net>
Tue, 30 Apr 2024 15:45:24 +0000 (17:45 +0200)
committerDhairya Parmar <dparmar@redhat.com>
Wed, 12 Jun 2024 09:17:40 +0000 (14:47 +0530)
commitdcda6114f7d689ec16c46b4a06df29c22747b874
tree743164a25c0c2f063b3fb7c7dc04a8f65dce7445
parent193a1eec17430a4cc7dac073c0e1049da7604a3b
client: set LIBMOUNT_FORCE_MOUNT2=always

This is a workaround for libmount 2.38 or later on linux kernel 5.1 or
later.

libmount defaults to the new fsconfig interface which does not support
remounting the way the old mount(2) syscall did. Thus, dentry trimming
fails.

Fixes: https://tracker.ceph.com/issues/62664
Signed-off-by: Jakob Haufe <sur5r@sur5r.net>
(cherry picked from commit 9ca1d4be2b587ce1d3e6c10dc2a98195b2ab3ba9)
src/client/fuse_ll.cc