Whamcloud - gitweb
LU-12030 tests: Properly detect debug kernel use on rhel7.6 72/38572/4
authorOleg Drokin <green@whamcloud.com>
Thu, 28 Feb 2019 04:40:37 +0000 (23:40 -0500)
committerOleg Drokin <green@whamcloud.com>
Wed, 13 May 2020 00:06:18 +0000 (00:06 +0000)
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 <green@whamcloud.com>
Change-Id: Ice7f350ba2bc6cc733c0a98b0037e6f0980216c9
Reviewed-on: https://review.whamcloud.com/38572
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/tests/conf-sanity.sh

index ca12bbd..fc0435d 100644 (file)
@@ -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, " \