[LU-8522] sanity 76 fails on clients with CONFIG_SLAB unset (inode slab grew from 400 to 525) Created: 22/Aug/16  Updated: 13/Aug/20  Resolved: 13/Aug/20

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.9.0, Lustre 2.13.0
Fix Version/s: Lustre 2.14.0

Type: Bug Priority: Minor
Reporter: John Hammond Assignee: Neil Brown
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-12207 sanity test_76: inode slab grew from ... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

If CONFIG_SLAB is unset then /proc/slabinfo is not writable. So the tuning done in sanity test_76 is ineffective and the test fails. In fact it fails every time I run it locally:

== sanity test 76: confirm clients recycle inodes properly =========================================== 11:30:51 (1471883451)
lustre/tests/sanity.sh: line 5769: echo: write error: Input/output error
before inodes: 400
after inodes: 525
wait 2 seconds inodes: 525
wait 4 seconds inodes: 525
wait 6 seconds inodes: 525
wait 8 seconds inodes: 525
wait 10 seconds inodes: 525
wait 12 seconds inodes: 525
wait 14 seconds inodes: 525
wait 16 seconds inodes: 525
wait 18 seconds inodes: 525
wait 20 seconds inodes: 525
wait 22 seconds inodes: 525
wait 24 seconds inodes: 525
wait 26 seconds inodes: 525
wait 28 seconds inodes: 525
wait 30 seconds inodes: 525
wait 32 seconds inodes: 525
 sanity test_76: @@@@@@ FAIL: inode slab grew from 400 to 525 
  Trace dump:
  = /root/lustre-release-ee/lustre/tests/test-framework.sh:4779:error_noexit()
  = /root/lustre-release-ee/lustre/tests/test-framework.sh:4810:error()
  = lustre/tests/sanity.sh:5798:test_76()
  = /root/lustre-release-ee/lustre/tests/test-framework.sh:5057:run_one()
  = /root/lustre-release-ee/lustre/tests/test-framework.sh:5094:run_one_logged()
  = /root/lustre-release-ee/lustre/tests/test-framework.sh:4911:run_test()
  = lustre/tests/sanity.sh:5803:main()
Dumping lctl log to /tmp/test_logs/1471883448/sanity.test_76.*.1471883485.log
Dumping logs only on local client.
FAIL 76 (35s)


 Comments   
Comment by Gerrit Updater [ 06/Aug/20 ]

Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/39579
Subject: LU-8522 tests: improve slabinfo accuracy when slub is used.
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 6afc1e62558b60483cb5231b3904099a7d6024f6

Comment by Gerrit Updater [ 13/Aug/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/39579/
Subject: LU-8522 tests: improve slabinfo accuracy when slub is used.
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: a6b5441de4269ee634a83fc717d3c28380c0fcfd

Comment by Peter Jones [ 13/Aug/20 ]

Landed for 2.14

Generated at Sat Feb 10 02:18:18 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.