From: Oleg Drokin Date: Thu, 28 Feb 2019 04:40:37 +0000 (-0500) Subject: LU-12030 tests: Properly detect debug kernel use on rhel7.6 X-Git-Tag: 2.12.53~98 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=673e8b0b3c404b14a02e7e874c3aed991bc52eb3;p=fs%2Flustre-release.git 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 --- 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, " \