From: Venky Shankar Date: Wed, 6 Oct 2021 11:12:59 +0000 (-0400) Subject: nuke: ignore internal directory listing when scanning for stale mounts in debugfs... X-Git-Tag: 1.2.0~231^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1682%2Fhead;p=teuthology.git nuke: ignore internal directory listing when scanning for stale mounts in debugfs directory kclient patchset: https://patchwork.kernel.org/project/ceph-devel/list/?series=556049 introduces meta directory to add debugging entries. This needs to be filtered when scanning ceph debugfs directory. Signed-off-by: Venky Shankar --- diff --git a/teuthology/nuke/actions.py b/teuthology/nuke/actions.py index 9ee7da262..ef7ca2d27 100644 --- a/teuthology/nuke/actions.py +++ b/teuthology/nuke/actions.py @@ -134,6 +134,10 @@ def stale_kernel_mount(remote): 'sudo', 'find', '/sys/kernel/debug/ceph', '-mindepth', '1', + run.Raw('!'), + '-path', '/sys/kernel/debug/ceph/meta', + run.Raw('!'), + '-path', '/sys/kernel/debug/ceph/meta/client_features', '-type', 'd', run.Raw('|'), 'read'