From: Jeff Layton Date: Wed, 10 Nov 2021 18:10:50 +0000 (-0500) Subject: qa: account for split of the kclient "metrics" debugfs file X-Git-Tag: v17.1.0~336^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e9f2bff8cd7df1c81ff8bbfa2530f470d9c6af2c;p=ceph-ci.git qa: account for split of the kclient "metrics" debugfs file Recently, Luis posted a patch to turn the metrics debugfs file into a directory with separate files for the different sections in the old metrics file. Account for this change in get_op_read_count(). Fixes: https://tracker.ceph.com/issues/53214 Signed-off-by: Jeff Layton --- diff --git a/qa/tasks/cephfs/kernel_mount.py b/qa/tasks/cephfs/kernel_mount.py index d8566d7534c..964abe55a6e 100644 --- a/qa/tasks/cephfs/kernel_mount.py +++ b/qa/tasks/cephfs/kernel_mount.py @@ -325,7 +325,7 @@ echo '{fdata}' | sudo tee /sys/kernel/debug/dynamic_debug/control return epoch, barrier def get_op_read_count(self): - buf = self.read_debug_file("metrics") + buf = self.read_debug_file("metrics/size") if buf is None: return 0 else: