From 8ecf56cc66e41df31ad5487ab015532e1a9b72e1 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. Lustre-commit: 673e8b0b3c404b14a02e7e874c3aed991bc52eb3 Lustre-change: https://review.whamcloud.com/34342 Test-Parameters: trivial testlist=conf-sanity env=ONLY=63 Signed-off-by: Oleg Drokin Change-Id: Ice7f350ba2bc6cc733c0a98b0037e6f0980216c9 Reviewed-on: https://review.whamcloud.com/38572 Reviewed-by: Andreas Dilger Tested-by: jenkins Tested-by: Maloo --- 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 ca12bbd..fc0435d 100644 --- a/lustre/tests/conf-sanity.sh +++ b/lustre/tests/conf-sanity.sh @@ -4622,7 +4622,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