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-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=0dea7d5aee6dd4c44033abc40ee5b3ce755c8d7e;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 9ee7da2620..ef7ca2d272 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'