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

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



From: Dave Chinner <dchinner@xxxxxxxxxx>

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

Signed-off-by: Dave Chinner <dchinner@xxxxxxxxxx>
---
 tests/xfs/177 | 7 -------
 1 file changed, 7 deletions(-)

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
-- 
2.45.2





[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux