Whamcloud - gitweb
LU-12207 tests: allow some margin for sanity/76
With newer slab allocators it is possible that the kernel may keep
some inodes in the per-cpu cache and not release all of them. This
was resulting sanity test_76 failures with a few (often 12) inodes
not being freed of the inodes that are created by the test, like:
inode slab grew from 3224 to 3236
inode slab grew from 70368 to 70380
inode slab grew from 68878 to 68890
Allow some small number of inodes (8 per core) cached on the client
without considering it a test failure failure.
Clean up test_76 code style to current standards.
Test-Parameters: trivial testlist=sanity env=ONLY=76,ONLY_REPEAT=100
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: Ia3f60de2fb471bb32da27d36665a3a0fd43ebbe5
Reviewed-on: https://review.whamcloud.com/37827
Tested-by: Maloo <maloo@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Ben Evans <beevans@whamcloud.com>
Reviewed-by: James Nunez <jnunez@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>