diff mbox series

[19/40] xfs/177: remove unused slab object count location checks

Message ID 20241127045403.3665299-20-david@fromorbit.com (mailing list archive)
State New
Headers show
Series fstests: concurrent test execution | expand

Commit Message

Dave Chinner Nov. 27, 2024, 4:51 a.m. UTC
From: Dave Chinner <dchinner@redhat.com>

Stale code; we count XFS inodes through the sysfs stats code now
so remove it.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
---
 tests/xfs/177 | 7 -------
 1 file changed, 7 deletions(-)
diff mbox series

Patch

diff --git a/tests/xfs/177 b/tests/xfs/177
index 22719ba1c..82b3ca264 100755
--- a/tests/xfs/177
+++ b/tests/xfs/177
@@ -58,13 +58,6 @@  dump_debug_info() {
 	echo "round $1 baseline: $baseline_count high: $high_count fresh: $fresh_count post: $post_count end: $end_count" >> $seqres.full
 }
 
-# Either of these need to be available to monitor slab usage
-xfs_ino_objcount_file=/sys/kernel/slab/xfs_inode/objects
-slabinfo_file=/proc/slabinfo
-if [ ! -r "$xfs_ino_objcount_file" ] && [ ! -r "$slabinfo_file" ]; then
-	_notrun "Cannot find xfs_inode slab count?"
-fi
-
 # Background reclamation of disused xfs inodes is scheduled for ($xfssyncd / 6)
 # centiseconds after the first inode is tagged for reclamation.  It's not great
 # to encode this implementation detail in a test like this, but there isn't