From 673e8b0b3c404b14a02e7e874c3aed991bc52eb3 Mon Sep 17 00:00:00 2001 From: Oleg Drokin Date: Wed, 27 Feb 2019 23:40:37 -0500 Subject: [PATCH] LU-12030 tests: Properly detect debug kernel use on rhel7.6 kmalloc-128 slab seems to be gone, so let's use dma-kmalloc-128 instead. Change-Id: Ice7f350ba2bc6cc733c0a98b0037e6f0980216c9 Signed-off-by: Oleg Drokin Reviewed-on: https://review.whamcloud.com/34342 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: James Nunez --- lustre/tests/conf-sanity.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/tests/conf-sanity.sh b/lustre/tests/conf-sanity.sh index a6c3162..1971070 100644 --- a/lustre/tests/conf-sanity.sh +++ b/lustre/tests/conf-sanity.sh @@ -4633,7 +4633,7 @@ test_63() { # If kmalloc-128 is also 1 per page - this is a debug kernel # and so this is not an error. local kmalloc128=$(do_facet $SINGLEMDS "cat /proc/slabinfo" | - awk '/^(kmalloc|size)-128 / { print $5 / $6 }') + awk '/^(dma-kmalloc|size)-128 / { print $5 / $6 }') # 32 128-byte chunks in 4k [ "${kmalloc128%.*}" -lt "32" ] || error "ldiskfs inode too big, only $inode_slab objs/page, " \ -- 1.8.3.1