From patchwork Wed May 3 08:02:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Wagner X-Patchwork-Id: 89620 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1156698vqo; Wed, 3 May 2023 01:13:15 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7v4gRG8PAv1MlHUvyfOTK48yAhPL5Xn1F8JsNRKbzNDZH/6BREERJ4hgnYqph4/P2aIZhC X-Received: by 2002:a05:6a20:1591:b0:f0:93d9:9c03 with SMTP id h17-20020a056a20159100b000f093d99c03mr1660129pzj.15.1683101594931; Wed, 03 May 2023 01:13:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683101594; cv=none; d=google.com; s=arc-20160816; b=DXOCWG8jV0oXu+e32Z5Rje++Q+D6QxmqZvuRCbn2R7MxGhiVLU0u9s1xYBMmAsRofi NquZNQF7gekdcn68SMtAwJSt0hEL5XFczeb0wR/1EWubI4pGrSRdoRGZo9c4CSebRImD ia2hsb55VC/kJd+GuLXwshobMUq8Fa3hbcc7N8GwAo+vHqW1JWp6mPiFcrszSw+EJnji teTN4Rj00JZWRGLwbvrG36cIDK2X0McX8t3vsA90zCDpsvNKh3O6raYKM+3oXKrgnwLl PpFDfvrexG+nG6vykfT2+G9s/PCbWDAhE/QdDO0MSlce5eVLJqr4Pj2uJVpPJnWVgeaG psvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=4bRFSw9rxVQLqGZBvGuslpAX0iVRdM7aaVOtxg8PZvc=; b=AAFcjI2C89rrJr8Y+6RdvA1W8arfsWX4ObgySRR+eClr1E+YExxBHqsWmtMlXHKVre Fi2mq9EsqraIZUz8p1trQ7E3dFxFzX3OQGstD7vVb2g2Gt5grVlwUYA+MjYM0GuFwPYG KsDyvvI5sbiJPtKJvVuBlINKuelqDSTVogj/LVbXnqd29v60YTfU08wN17qRqdmRFbSI zN/q5USoodJwm3izoJLnuksoX1m4yvo4+eMwYkJNmXbAQN8bTFPXP+KacNj/GFYooOjs 6xpKiuEWopA0PK3aog14zKzuCW1aU1iyHeYoNBeRgG80BxumHrVRYZEuqXm3yXCg8XKj 4c9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=Ln27yFrq; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g23-20020aa796b7000000b0063b7812639bsi31960703pfk.312.2023.05.03.01.12.56; Wed, 03 May 2023 01:13:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=Ln27yFrq; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229686AbjECIDO (ORCPT + 99 others); Wed, 3 May 2023 04:03:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229532AbjECIDM (ORCPT ); Wed, 3 May 2023 04:03:12 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ADAA7E74; Wed, 3 May 2023 01:03:11 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 5393D200AB; Wed, 3 May 2023 08:03:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1683100990; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4bRFSw9rxVQLqGZBvGuslpAX0iVRdM7aaVOtxg8PZvc=; b=Ln27yFrqNCXB3yS7H42t6qvVNrubgyGezPoZuHu01peP63/liD61ZkJmTjRFp5/vZzwkHe 1aF5717Zn6huFHYHIVC3kQh3oielcTiAwvYqT+z9TUMkGsuOgtiuPXzlpJfepGFD5/daAi zCwhSEoFgPWubVx7X5hDPgwPjlwI/P0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1683100990; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4bRFSw9rxVQLqGZBvGuslpAX0iVRdM7aaVOtxg8PZvc=; b=0urN29/kP+PZyud7Sm9sj1ujYRc5hrDrTJMdcqntuI01TARrTwEcOWpLmh5tuuZqnmO4PO eavgtNg7qJdHfABQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 463FE1331F; Wed, 3 May 2023 08:03:10 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id ChkNET4VUmQtYgAAMHmgww (envelope-from ); Wed, 03 May 2023 08:03:10 +0000 From: Daniel Wagner To: linux-nvme@lists.infradead.org Cc: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, Chaitanya Kulkarni , Shin'ichiro Kawasaki , Hannes Reinecke , Daniel Wagner Subject: [PATCH blktests v3 01/12] nvme/rc: Auto convert test device size info Date: Wed, 3 May 2023 10:02:47 +0200 Message-Id: <20230503080258.14525-2-dwagner@suse.de> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230503080258.14525-1-dwagner@suse.de> References: <20230503080258.14525-1-dwagner@suse.de> MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764859937808366475?= X-GMAIL-MSGID: =?utf-8?q?1764859937808366475?= Introduce a convert_to_mb() helper which converts the size argument to MBytes and use in test device require function. This makes it possible to use user input strings in future. Reviewed-by: Hannes Reinecke Signed-off-by: Daniel Wagner Reviewed-by: Chaitanya Kulkarni --- common/rc | 30 +++++++++++++++++++++++++++--- tests/nvme/035 | 2 +- 2 files changed, 28 insertions(+), 4 deletions(-) diff --git a/common/rc b/common/rc index af4c0b1cab22..0b15d1fe4c6b 100644 --- a/common/rc +++ b/common/rc @@ -324,9 +324,12 @@ _get_pci_parent_from_blkdev() { tail -2 | head -1 } -_require_test_dev_size_mb() { - local require_sz_mb=$1 - local test_dev_sz_mb=$(($(blockdev --getsize64 "$TEST_DEV")/1024/1024)) +_require_test_dev_size() { + local require_sz_mb + local test_dev_sz_mb + + require_sz_mb="$(convert_to_mb "$1")" + test_dev_sz_mb="$(($(blockdev --getsize64 "$TEST_DEV")/1024/1024))" if (( "$test_dev_sz_mb" < "$require_sz_mb" )); then SKIP_REASONS+=("${TEST_DEV} required at least ${require_sz_mb}m") @@ -422,3 +425,24 @@ _have_writeable_kmsg() { _run_user() { su "$NORMAL_USER" -c "$1" } + +convert_to_mb() +{ + local str=$1 + local res + + res=$(echo "${str}" | sed -n 's/^\([0-9]\+\)$/\1/p') + if [[ -n "${res}" ]]; then + echo "$((res / 1024 / 1024))" + fi + + res=$(echo "${str}" | sed -n 's/^\([0-9]\+\)[mM]$/\1/p') + if [[ -n "${res}" ]]; then + echo "$((res))" + fi + + res=$(echo "${str}" | sed -n 's/^\([0-9]\+\)[gG]$/\1/p') + if [[ -n "${res}" ]]; then + echo "$((res * 1024))" + fi +} diff --git a/tests/nvme/035 b/tests/nvme/035 index d169e351e3d0..eb1024edddbf 100755 --- a/tests/nvme/035 +++ b/tests/nvme/035 @@ -17,7 +17,7 @@ requires() { } device_requires() { - _require_test_dev_size_mb 1024 + _require_test_dev_size 1024m } test_device() { From patchwork Wed May 3 08:02:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Wagner X-Patchwork-Id: 89621 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1156742vqo; Wed, 3 May 2023 01:13:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4ZST0rmiES+fmK3SLokOEEtnDu34z25lNuRsMCMED5H/ZQ6TY0e8jvqX7/5t+ZCe9itZAj X-Received: by 2002:a05:6a00:2e12:b0:642:fbed:2808 with SMTP id fc18-20020a056a002e1200b00642fbed2808mr7651080pfb.25.1683101599382; Wed, 03 May 2023 01:13:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683101599; cv=none; d=google.com; s=arc-20160816; b=TtQQzHR4thb+z8Ph5RbdhxDfIwAIXLVX1o5aWsp+IBQkYc9fX7qkIwqaS913i4C5PY neqhjVFHphf21bJoQRl3RYoLrobnLK5kvdO8PbvfgFkilSRs1JmUgOG0/wvnrZwm7gYq 7/B7gDNmfBDrHXLQ+mJRUcmklLaniVJfFbIDA2jz2S2nGSfgMEoz09icKA3Wjtu8L0s+ oa7i3Aegry/KULX/iWeKf4yWYmOs0YJEyALU3Ah8oSE+nXkjh3GNKeEbg1Egoyp3Jafm YAJICooHuG+uO9Nf+N1u4FoYw1o1zT/Gc9Aj4QUAlLNzQD/obk4aNItF1ADVkO0kgOk4 ze7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=Xw83kEvyDvOY4G+duwKj+zpJnWldo/RL4BBA4e0mSGM=; b=SRsY+fFpb1xrgViYAtknhmj/vR5HN6CnR3hWnRQx89kv3d1kB4qZL8WoimdunhZHoq MB6V4pZxVvj00TgVPn8TkmorZYTgLdipSa36TC4bfAFfLOulQLIdZp0uQjTPj4gUb4/3 uhmB77DM5tnmHfv4H+8O+hJcFGWSiWbkBZRhzp7AA9i989M/a4qH8FkRDSEKgG7sDIIF Z9/qA6UAxAL3tobzUF77LgYhJTcQVn2M0qj1L6F3Aqm9Gyf319cL7VW532KRSv1PnTB/ rtzmUTZPo0ksjEcdYKpGGUFKcHBp53h1aYi/GogvRBLLQV1acsBwfOIV7OMkxw0l3aUq 04rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=J4gbtqMO; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r29-20020aa79edd000000b0064304aaf265si2463305pfq.201.2023.05.03.01.13.06; Wed, 03 May 2023 01:13:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=J4gbtqMO; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229760AbjECIDU (ORCPT + 99 others); Wed, 3 May 2023 04:03:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229559AbjECIDN (ORCPT ); Wed, 3 May 2023 04:03:13 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4BAF310F5; Wed, 3 May 2023 01:03:12 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id EEDCA200AD; Wed, 3 May 2023 08:03:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1683100990; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Xw83kEvyDvOY4G+duwKj+zpJnWldo/RL4BBA4e0mSGM=; b=J4gbtqMOaRgITZNuTkoHNOTSHNPZQVgIAUhLkOtKGIzeLOBaWeo940hhp+gl5Omfsv9Xml QszrUOiYnj+RF/CiuxWU+uAdW2/u/JTJZ6xJynFvs/zvxwJA4oBlehEdPn7BPMiWgvgsRl 6Gg/Ik9TNNjBWwz/67d1Umf5x1v/IWE= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1683100990; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Xw83kEvyDvOY4G+duwKj+zpJnWldo/RL4BBA4e0mSGM=; b=qpcx2sDyYcBTYxeXHcHB+6JB1vu5LPj/85rqnKETu851ayoBKHu3LJ3UkeLfmToFuzWWZ4 TlvdCYH2EwfGPxDA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id E18621331F; Wed, 3 May 2023 08:03:10 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id scv+Nj4VUmQvYgAAMHmgww (envelope-from ); Wed, 03 May 2023 08:03:10 +0000 From: Daniel Wagner To: linux-nvme@lists.infradead.org Cc: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, Chaitanya Kulkarni , Shin'ichiro Kawasaki , Hannes Reinecke , Daniel Wagner Subject: [PATCH blktests v3 02/12] nvme: Do not hard code device size for dd test Date: Wed, 3 May 2023 10:02:48 +0200 Message-Id: <20230503080258.14525-3-dwagner@suse.de> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230503080258.14525-1-dwagner@suse.de> References: <20230503080258.14525-1-dwagner@suse.de> MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764859942782827367?= X-GMAIL-MSGID: =?utf-8?q?1764859942782827367?= Read the block device sizes instead hard coding them, so that the device size can be configurable in future. Reviewed-by: Hannes Reinecke Signed-off-by: Daniel Wagner Reviewed-by: Chaitanya Kulkarni --- tests/nvme/014 | 10 +++++++++- tests/nvme/015 | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/tests/nvme/014 b/tests/nvme/014 index d13cff7921da..875e99eea346 100755 --- a/tests/nvme/014 +++ b/tests/nvme/014 @@ -23,6 +23,9 @@ test() { local port local nvmedev local loop_dev + local size + local bs + local count local file_path="$TMPDIR/img" local subsys_name="blktests-subsystem-1" @@ -41,7 +44,12 @@ test() { cat "/sys/block/${nvmedev}n1/uuid" cat "/sys/block/${nvmedev}n1/wwid" - dd if=/dev/urandom of="/dev/${nvmedev}n1" count=128000 bs=4k status=none + size="$(blockdev --getsize64 "/dev/${nvmedev}n1")" + bs="$(blockdev --getbsz "/dev/${nvmedev}n1")" + count=$((size / bs)) + + dd if=/dev/urandom of="/dev/${nvmedev}n1" \ + count="${count}" bs="${bs}" status=none nvme flush "/dev/${nvmedev}" -n 1 diff --git a/tests/nvme/015 b/tests/nvme/015 index bb52ba2598db..8cb343e1d31c 100755 --- a/tests/nvme/015 +++ b/tests/nvme/015 @@ -22,6 +22,9 @@ test() { local port local nvmedev + local size + local bs + local count local file_path="$TMPDIR/img" local subsys_name="blktests-subsystem-1" @@ -38,7 +41,12 @@ test() { cat "/sys/block/${nvmedev}n1/uuid" cat "/sys/block/${nvmedev}n1/wwid" - dd if=/dev/urandom of="/dev/${nvmedev}n1" count=128000 bs=4k status=none + size="$(blockdev --getsize64 "/dev/${nvmedev}n1")" + bs="$(blockdev --getbsz "/dev/${nvmedev}n1")" + count=$((size / bs)) + + dd if=/dev/urandom of="/dev/${nvmedev}n1" \ + count="${count}" bs="${bs}" status=none nvme flush "/dev/${nvmedev}n1" -n 1 From patchwork Wed May 3 08:02:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Wagner X-Patchwork-Id: 89619 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1156344vqo; Wed, 3 May 2023 01:12:37 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7OlBWU0M/KZxs9Wm5UcxU17voIc+kBopPBUA7NuAqZCX0ArthAvihajGD16uydX64v6FXx X-Received: by 2002:a05:6a20:9d91:b0:d3:78ab:77c3 with SMTP id mu17-20020a056a209d9100b000d378ab77c3mr20097529pzb.48.1683101556682; Wed, 03 May 2023 01:12:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683101556; cv=none; d=google.com; s=arc-20160816; b=rTEe2fDKZAlPwffR+LXdE8b12nu4hQCLZYEYSHtkTCAEm1P+9Ar+O8AJhRkAS8P1VH jCRWnWFBAw44yu/AeAwDKrx3XvsdMQhXoGXV1iD1h7/yBRJMMAP9k1+8vvYzxA00nDkj FlZJPtzOjfliP0f7xFXvWLApIXMF+XRnDScmsbiZ5JMEM/0R8ka/l/ZjFic4NibogxwV vUpyVhJ2+g+pd0dj94owdX5+Aw3KiWTjX+xoiEC2cD9cXbEMEv/MhGnCvcQ2XlHMViry SXHRYr9g9XU/fjjvuq6o61Kf/XxkXPAz6q/9l3q9NXasranh9jE1p9ndu54sJo0CwMLS otdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=OHyLoSeY6bQ/dWfNCp2pJm0/BcIAe4YZOdyK2WISgIM=; b=k1BiqziJcdsMjD09iSDNGUyFUX/Z6e5ewk5aAH3sU+yfXIh39a8THrVil7UcCENf/y LzRunypkUMA/DRRG89uTsOp+q9mkNINHHsIkFCKPNIDsKtuYbnJ5gh56BgnzGaR+Ppxr 6j9/T/EC8FFGEJrqISKnMGaTAVUWYMindoQYSDUw4IvO+CgLjcHemgdEc32IxxgVSNzt +2aQSdiY0e9nKOK/Qjbw88NT3KPifMPf8YXL2+QncA7jp1oymqpD1wGJcAO6TvpbuQ5F Q9r3c506hharyFP+Gk+9ghfBNHoFpx8+BQbWA/+Km9kd+fy+WCU/KYQ8rXIi/lyG8Sjh vrgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=f3nOzPgq; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l65-20020a639144000000b0051f7686dfb7si32319154pge.189.2023.05.03.01.12.24; Wed, 03 May 2023 01:12:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=f3nOzPgq; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229834AbjECID0 (ORCPT + 99 others); Wed, 3 May 2023 04:03:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229675AbjECIDN (ORCPT ); Wed, 3 May 2023 04:03:13 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3FCA1716; Wed, 3 May 2023 01:03:12 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 8A71921D04; Wed, 3 May 2023 08:03:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1683100991; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=OHyLoSeY6bQ/dWfNCp2pJm0/BcIAe4YZOdyK2WISgIM=; b=f3nOzPgqtMoGfGKUson9CJmdn1/wwMpH0YXr3JSHfjDI/HRASmNz349PqaRZTYuIwlQkUM HWm0xIVnr8CU+fduiQiLan9Rnoc9pbansSCRyZc/J02HeQGdxUc29eZtrLuhe43SiyHs89 rsep41uspNt3NUT9LGl6+hc/Jd08cWI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1683100991; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=OHyLoSeY6bQ/dWfNCp2pJm0/BcIAe4YZOdyK2WISgIM=; b=G4aoxJpgAAjFOBndkq6a4W5bppQvIZWy0v1cVsnPyvP0G1TxIaziNOQ2sljJ5m+Ny0tiio K8REybhEj7KRziBw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 7E0861331F; Wed, 3 May 2023 08:03:11 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id O7J2Hj8VUmQxYgAAMHmgww (envelope-from ); Wed, 03 May 2023 08:03:11 +0000 From: Daniel Wagner To: linux-nvme@lists.infradead.org Cc: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, Chaitanya Kulkarni , Shin'ichiro Kawasaki , Hannes Reinecke , Daniel Wagner Subject: [PATCH blktests v3 03/12] common/xfs: Make size argument optional for _xfs_run_fio_verify_io Date: Wed, 3 May 2023 10:02:49 +0200 Message-Id: <20230503080258.14525-4-dwagner@suse.de> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230503080258.14525-1-dwagner@suse.de> References: <20230503080258.14525-1-dwagner@suse.de> MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764859897615821729?= X-GMAIL-MSGID: =?utf-8?q?1764859897615821729?= Make the size argument optional by reading the filesystem info. The caller doesn't have to guess (or calculate) how big the max IO size. The log data structure of XFS is reducing the capacity. Signed-off-by: Daniel Wagner Reviewed-by: Chaitanya Kulkarni --- common/xfs | 14 +++++++++++++- tests/nvme/012 | 2 +- tests/nvme/013 | 2 +- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/common/xfs b/common/xfs index 2c5d96164ac1..413c2820ffaf 100644 --- a/common/xfs +++ b/common/xfs @@ -24,10 +24,22 @@ _xfs_run_fio_verify_io() { local mount_dir="/mnt/blktests" local bdev=$1 local sz=$2 + local sz_mb + local avail + local avail_mb _xfs_mkfs_and_mount "${bdev}" "${mount_dir}" >> "${FULL}" 2>&1 - _run_fio_verify_io --size="$sz" --directory="${mount_dir}/" + avail="$(df --output=avail "${mount_dir}" | tail -1)" + avail_mb="$((avail / 1024))" + + if [[ -z "${sz}" ]]; then + sz_mb="${avail_mb}" + else + sz_mb="$(convert_to_mb "${sz}")" + fi + + _run_fio_verify_io --size="${sz_mb}m" --directory="${mount_dir}/" umount "${mount_dir}" >> "${FULL}" 2>&1 rm -fr "${mount_dir}" diff --git a/tests/nvme/012 b/tests/nvme/012 index e60082c2e751..c9d24388306d 100755 --- a/tests/nvme/012 +++ b/tests/nvme/012 @@ -44,7 +44,7 @@ test() { cat "/sys/block/${nvmedev}n1/uuid" cat "/sys/block/${nvmedev}n1/wwid" - _xfs_run_fio_verify_io "/dev/${nvmedev}n1" "900m" + _xfs_run_fio_verify_io "/dev/${nvmedev}n1" _nvme_disconnect_subsys "${subsys_name}" diff --git a/tests/nvme/013 b/tests/nvme/013 index 9d60a7df4577..265b6968fd34 100755 --- a/tests/nvme/013 +++ b/tests/nvme/013 @@ -41,7 +41,7 @@ test() { cat "/sys/block/${nvmedev}n1/uuid" cat "/sys/block/${nvmedev}n1/wwid" - _xfs_run_fio_verify_io "/dev/${nvmedev}n1" "900m" + _xfs_run_fio_verify_io "/dev/${nvmedev}n1" _nvme_disconnect_subsys "${subsys_name}" From patchwork Wed May 3 08:02:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Wagner X-Patchwork-Id: 89611 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1153005vqo; Wed, 3 May 2023 01:05:17 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4L3u2QwwOa3k/JmZwFg+oCeyJwwlHuD6Pne5lcq9e+2XHEpoZqWDsJgAPJaKTy3bWKgX8G X-Received: by 2002:a05:6a20:7da6:b0:f5:5232:4bde with SMTP id v38-20020a056a207da600b000f552324bdemr22231560pzj.23.1683101117515; Wed, 03 May 2023 01:05:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683101117; cv=none; d=google.com; s=arc-20160816; b=B0CE80B8zHy5rObciCdmO4/FcUV3+Jh0+2b0PmPJujKbl39UOl/K6EksDmAHuWUnDl dcPTEJR1JBMqug5VAduO9EETYK0SJjlUnJO1gLtmtx2OxqKs0ZzGDRM5NOPJGJjNzG1q 8L6NCzVBEv3PbCveRCtUOq0LfFtykxX/aF+bxzkBqN93CAHIBMM0iy1/m7Gvbo+EK6Tm +lYyoP0UMpJHQzubu0KrUqIGGaOvSIiCI+cpWaFfAjNiZAgbvwAP+qoVrrM3zfNw5iS4 Gwy1VDpMhACYPo2v2oHQ+cSd7f4Lx72ziO/2cdooDq9YxD2cRzf8jXYUJuW7+uz4UaRE lAdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=blxJG8cSb9nAOdVRY3eSjODYe9Zj/GUTrxASYKRPMLY=; b=CL3hz38QiP3U854OWvTYYbh+FGxZoy333B8gLSNUx3IDEeVD7tEV6ryiK+pTfn497X aZJcGvmh/j3VoBCRx+tENplLdkPvwKgIfpYhkCjJyF7ApLm2FbIvl8VHLwYUri81lNu5 su5AQ2VW8vRFaTCh+Xj+KF0CLOaoLypWSieHqKVWEO62vvb//yxnb2npm5DBJDKRpqGH sKQxkLP0PzsiiHmeu4PepZ2iRU6tR16Bf8CQ9ulie1IxRVeITEvo759+ZeQXRQxS0BCX dfqNYci8hHciSoCQ6uHyY/u9vwObargF9FI+3gRv8srtFcTkz8+VknvMmlWhSvgMDnFn uRsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=bqoL0PAs; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r29-20020a63441d000000b00513c817a392si29461577pga.405.2023.05.03.01.05.03; Wed, 03 May 2023 01:05:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=bqoL0PAs; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229719AbjECIDm (ORCPT + 99 others); Wed, 3 May 2023 04:03:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229638AbjECIDO (ORCPT ); Wed, 3 May 2023 04:03:14 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6AB37E74; Wed, 3 May 2023 01:03:13 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 24D9D2233B; Wed, 3 May 2023 08:03:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1683100992; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=blxJG8cSb9nAOdVRY3eSjODYe9Zj/GUTrxASYKRPMLY=; b=bqoL0PAsnBVoBT+vIpTrr9Jset9nzF3lrBJXsVMbuSoNhTG2zu6/wtaluV7O2LU2DutVGG Z9v54fs4JRFGFQmHGwyaMDvWYnvoTpU5kBfvkFUgS/BKHxPUb6Z0o4PS8oW1YWJFBDe3hx TM2dAwYZQVVesKKsft+iGmk7pS+MWxg= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1683100992; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=blxJG8cSb9nAOdVRY3eSjODYe9Zj/GUTrxASYKRPMLY=; b=8KqA9O/ZNgmjUTpiONgED2mK5EzNsj5MZmjAK3nxMQFj4gGQ9Hl/a/HixnskEhFE4P+HAW 63To15r+HFiOQ7BQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 1696A1331F; Wed, 3 May 2023 08:03:12 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 8VA0BUAVUmQzYgAAMHmgww (envelope-from ); Wed, 03 May 2023 08:03:12 +0000 From: Daniel Wagner To: linux-nvme@lists.infradead.org Cc: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, Chaitanya Kulkarni , Shin'ichiro Kawasaki , Hannes Reinecke , Daniel Wagner Subject: [PATCH blktests v3 04/12] common/xfs: Limit fio size job to fit into xfs fs Date: Wed, 3 May 2023 10:02:50 +0200 Message-Id: <20230503080258.14525-5-dwagner@suse.de> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230503080258.14525-1-dwagner@suse.de> References: <20230503080258.14525-1-dwagner@suse.de> MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764859437400080374?= X-GMAIL-MSGID: =?utf-8?q?1764859437400080374?= The usable capacity of the filesystem is less than the raw partition/device size due to the additional meta/log data. Ensure that the job size for fio is not exceeding the limits. Because we have hard coded the path where we mount the filesystem and don't want to expose this, we just update max size inside _xfs_run_fio_verify_io(). No need to leak this into the caller. Signed-off-by: Daniel Wagner --- common/xfs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/xfs b/common/xfs index 413c2820ffaf..37ce85878df2 100644 --- a/common/xfs +++ b/common/xfs @@ -37,6 +37,9 @@ _xfs_run_fio_verify_io() { sz_mb="${avail_mb}" else sz_mb="$(convert_to_mb "${sz}")" + if [[ "${sz_mb}" -gt "${avail_mb}" ]]; then + sz_mb="${avail_mb}" + fi fi _run_fio_verify_io --size="${sz_mb}m" --directory="${mount_dir}/" From patchwork Wed May 3 08:02:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Wagner X-Patchwork-Id: 89622 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1156995vqo; Wed, 3 May 2023 01:13:58 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5nPGIi49kxrP65gidQbPQi3AvAikpO9wvwOoh1lMiMkrwY6WrSBBfurzBtHXAcTTIWzV2Q X-Received: by 2002:a05:6a20:144a:b0:f2:e20a:c8f4 with SMTP id a10-20020a056a20144a00b000f2e20ac8f4mr1337586pzi.31.1683101637914; Wed, 03 May 2023 01:13:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683101637; cv=none; d=google.com; s=arc-20160816; b=JQQc4UkNnBLqGCqK7vQ/w/Nu9xVPSDN4YYQwgupXEAmI/TcNFHr8HanxydN7TsZcAh 9RK9LFUtTIdexlYTAMTy4DrIu1fpQnGyeItXglOhH8FDIiWzg9hxKc3SR1wxR3wkWuBN 1vskNma7T49zJ5mhNHZtiI9HgGpUFwy0xLBh8ewCTTynAhBWgZcnug82aXm3rkwymp59 sXJd+D3/XdA2vZ4mI6vrmv+i4M09v1RIp1U8kRgDVHeartwIXKuoPqkHjxGwr81Nv0LW V66rDn8JWGx+kw496mpNcGafoiG2jnG2otkkfFGDTVOB4y7h1xoPXUCMWxfSy0+xND8f QawQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=W7w0k+oXuT3ygMJBORCHbE7gJuAfade3I+Yj4aO2iQ4=; b=fESsK2a/buVBBQFfboCVDKtoAJ9ao18qhQ3oLSHM3HfLZwPRMq66SYLM5VfiXrcZVv BwWI9loJf4/0KASfCNWsw+Q9UdUHIwUYL3l5qWgUrXf+eNuJmX09ouMNs0K4EU0Q3xor arnvDFIhp01fYLvyiHM1Shb1QifzM1XIp+/IfyPu+ghTZJ74KqxckkZlyWTTH+R3z3l+ l/gplSS9fsZORpDWu5JNJd+91mW7/WgOTtDHVO/ti/Rll+c94fv3gvvdACH03v9SBovv 7J6mTdCWXTDQwTyIGQZUDtfzNGWJgooOC3BiHc4DgELHuEK5wkeOpTYVkU8824J3LfcC TsxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=QnWEZFn5; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o12-20020aa7978c000000b00628a75401bdsi32770821pfp.142.2023.05.03.01.13.45; Wed, 03 May 2023 01:13:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=QnWEZFn5; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229554AbjECIDj (ORCPT + 99 others); Wed, 3 May 2023 04:03:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229532AbjECIDP (ORCPT ); Wed, 3 May 2023 04:03:15 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E8D110F5; Wed, 3 May 2023 01:03:14 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id C54632233D; Wed, 3 May 2023 08:03:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1683100992; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=W7w0k+oXuT3ygMJBORCHbE7gJuAfade3I+Yj4aO2iQ4=; b=QnWEZFn5QsXCkwyHBQsdL6x12IWRpfaU0FhE/tNMa0MHiWKsu2XILyr1gYWyAl9B1W2rG/ 3oxlsp92hqnyMInwoHxnico5eVjAci+JoDkgH0+Izt/YEV4ztfZsRachvVQAXo8KTVD84+ bGFsNAJEJbUYNWVDL0u5p96VKsZe7PI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1683100992; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=W7w0k+oXuT3ygMJBORCHbE7gJuAfade3I+Yj4aO2iQ4=; b=XQIMNtqZ8muZDol8RlsMpug/UOB/qwYif3FZgM1zc4yyBJsUtN04+nPYrB96tlHF/PC33z K2dG+UicqUyGAtCQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id B811B1331F; Wed, 3 May 2023 08:03:12 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id /kHuLEAVUmQ3YgAAMHmgww (envelope-from ); Wed, 03 May 2023 08:03:12 +0000 From: Daniel Wagner To: linux-nvme@lists.infradead.org Cc: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, Chaitanya Kulkarni , Shin'ichiro Kawasaki , Hannes Reinecke , Daniel Wagner Subject: [PATCH blktests v3 05/12] nvme: Use runtime fio background jobs Date: Wed, 3 May 2023 10:02:51 +0200 Message-Id: <20230503080258.14525-6-dwagner@suse.de> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230503080258.14525-1-dwagner@suse.de> References: <20230503080258.14525-1-dwagner@suse.de> MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764859983021052745?= X-GMAIL-MSGID: =?utf-8?q?1764859983021052745?= The fio jobs are supposed to run long in background during the test. Instead relying on a job size use explicit runtime for this. Signed-off-by: Daniel Wagner --- tests/nvme/032 | 4 ++-- tests/nvme/040 | 9 +++++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/tests/nvme/032 b/tests/nvme/032 index 017d4a339971..2e4b7f0760c7 100755 --- a/tests/nvme/032 +++ b/tests/nvme/032 @@ -38,8 +38,8 @@ test_device() { sysfs="/sys/bus/pci/devices/${pdev}" # start fio job - _run_fio_rand_io --filename="$TEST_DEV" --size=1g \ - --group_reporting &> /dev/null & + _run_fio_rand_io --filename="$TEST_DEV" \ + --group_reporting --time_based --runtime=-1 &> /dev/null & sleep 5 diff --git a/tests/nvme/040 b/tests/nvme/040 index 04bd726cd309..05b4f5472ef5 100755 --- a/tests/nvme/040 +++ b/tests/nvme/040 @@ -21,6 +21,7 @@ test() { local port local loop_dev local nvmedev + local fio_pid echo "Running ${TEST_NAME}" @@ -37,8 +38,10 @@ test() { # start fio job echo "starting background fio" - _run_fio_rand_io --filename="/dev/${nvmedev}n1" --size=1g \ - --group_reporting --ramp_time=5 &> /dev/null & + _run_fio_rand_io --filename="/dev/${nvmedev}n1" \ + --group_reporting --ramp_time=5 \ + --time_based --runtime=-1 &> /dev/null & + fio_pid=$! sleep 5 # do reset/remove operation @@ -48,6 +51,8 @@ test() { echo "deleting controller" _nvme_delete_ctrl "${nvmedev}" + { kill "${fio_pid}"; wait; } &> /dev/null + _remove_nvmet_subsystem_from_port "${port}" "${subsys}" _remove_nvmet_subsystem "${subsys}" _remove_nvmet_port "${port}" From patchwork Wed May 3 08:02:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Wagner X-Patchwork-Id: 89616 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1153636vqo; Wed, 3 May 2023 01:06:37 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7U5ljbv38RtIjRfF7zS7NJk4DkWygHB6rgsvYtUyQVbQXuDjpHrnSl5dhMdvyhLMRS0N4q X-Received: by 2002:a17:902:d4c5:b0:1ab:14da:981 with SMTP id o5-20020a170902d4c500b001ab14da0981mr1544492plg.35.1683101197424; Wed, 03 May 2023 01:06:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683101197; cv=none; d=google.com; s=arc-20160816; b=CK6IoqYFoAIM1aHgUq+XqYeLfDXHGVLNVO7WO3Pe/eY4jNugGd3jhD2tv1x0Omypds XXsxN0ePJfLV+aKT7rBpq+GnyPo15RHtkrCBQWtzVD4igWmRFOhcqjvK9z1x+gZXVbHN K0mNN9Swpybg6LBIbG9P/vHe9u6UFbch97P26hBlxg7H2uUc37KdKE5wYJf1H8zf2fM5 IXnGy4J7zpCgsW4yfH+LJDxpIXttEuBKGXdpQblU1czH/BG0Dm6Y58AlDmVVjptNdn5b pit5Tw/0rTisrCZWvpzZYgs7RktvUJYTbpdzokgcXc6p8xi8162mRoGHChz3iDGmxHXW YLhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=zuH7OxLZZ6mL7lQtqpx6kEOj3SSaSSRaBrLmSYsP3ug=; b=k88d5s52ykHIxgfFcMuJ+RereD6fGL2aWd3bQaOQM+zm6TURK32usYeT91OOWbRFo7 tRGzGukqoCcJ9jPEO1OwV5zAABg8bE4l83YhXmVmPZyZns3bzzzmi6nKeOeo+iB8SQr/ j66OuK+4Nqh3Q1ceW2vW4l9ijj2vkfopNG4D6ydY7FUxY50tmJ7rsEn6Tmydg1RyNoQ8 IdnRvoQOos6Cn4rzAsUVoA0AmcRB3sA4ZHVI1LnYt564SBbUkw/ih8BsZJtSKzItjEwd Ph+c8NZRQsG4z/D9gH1NTX5aW7APw0rIMTLz3vSoyCCWLzaf4ck1XbZE0jJVbIM1QIgu qHfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=SRxHYgUv; dkim=neutral (no key) header.i=@suse.de header.b=MQsYinun; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o11-20020a1709026b0b00b001a4f1a956d8si30951451plk.57.2023.05.03.01.06.21; Wed, 03 May 2023 01:06:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=SRxHYgUv; dkim=neutral (no key) header.i=@suse.de header.b=MQsYinun; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229793AbjECIDs (ORCPT + 99 others); Wed, 3 May 2023 04:03:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229501AbjECIDP (ORCPT ); Wed, 3 May 2023 04:03:15 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ADBADE74; Wed, 3 May 2023 01:03:14 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 669B9200AE; Wed, 3 May 2023 08:03:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1683100993; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zuH7OxLZZ6mL7lQtqpx6kEOj3SSaSSRaBrLmSYsP3ug=; b=SRxHYgUvOSN/luK2rX8SG+kDeTVs9HlxQ0Q56silroZmpi65o5b1Z9mA/hy6YejXCc55za t8XBXMTuruM6kEBn1mSXCSMFOZyewF/2Gbug6JdhZeDjGjlbWuCfrt2MzqvUjHxnDo7pQx 1k5AUC6CzVMuf57L6AD1y6rHAVrUfG8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1683100993; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zuH7OxLZZ6mL7lQtqpx6kEOj3SSaSSRaBrLmSYsP3ug=; b=MQsYinun/4qb6UR8wykBHkBj3B7HWuhYIDDbO1gfb8OtbtSXjXKPJVdER2q9b9QvUDR5fT ZgYcKFCeuM1bpuCg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 59B0C1331F; Wed, 3 May 2023 08:03:13 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id R8DkFUEVUmQ5YgAAMHmgww (envelope-from ); Wed, 03 May 2023 08:03:13 +0000 From: Daniel Wagner To: linux-nvme@lists.infradead.org Cc: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, Chaitanya Kulkarni , Shin'ichiro Kawasaki , Hannes Reinecke , Daniel Wagner Subject: [PATCH blktests v3 06/12] Documentation: Add info on nvme_tr_type Date: Wed, 3 May 2023 10:02:52 +0200 Message-Id: <20230503080258.14525-7-dwagner@suse.de> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230503080258.14525-1-dwagner@suse.de> References: <20230503080258.14525-1-dwagner@suse.de> MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764859521182465641?= X-GMAIL-MSGID: =?utf-8?q?1764859521182465641?= Mention that the nvme tests can be parametrized. Signed-off-by: Daniel Wagner Reviewed-by: Chaitanya Kulkarni --- Documentation/running-tests.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/running-tests.md b/Documentation/running-tests.md index 3550f377f487..7e827fba7ac0 100644 --- a/Documentation/running-tests.md +++ b/Documentation/running-tests.md @@ -98,6 +98,13 @@ requires that the kernel be compiled with `CONFIG_BLK_DEV_ZONED` enabled. RUN_ZONED_TESTS=1 ``` +### NVMe test parameterizing + +The NVMe tests can be additionally parameterized via environment variables. + +- nvme_tr_type: 'loop' (default), 'tcp', 'rdma' and 'fc' + Run the tests with the given transport. + ### Running nvme-rdma nvmeof-mp srp tests Most of these tests will use the rdma_rxe (soft-RoCE) driver by default. The siw (soft-iWARP) driver is also supported. From patchwork Wed May 3 08:02:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Wagner X-Patchwork-Id: 89614 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1153224vqo; Wed, 3 May 2023 01:05:46 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6rQ/nDL/vaFlrtw19PQg9n+q/umBgk8UlAZ8w9fcxOMDSeh5mMBBxhc4ps4cYwN7m61puH X-Received: by 2002:a17:902:daca:b0:1aa:eed3:5457 with SMTP id q10-20020a170902daca00b001aaeed35457mr1552028plx.39.1683101145996; Wed, 03 May 2023 01:05:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683101145; cv=none; d=google.com; s=arc-20160816; b=phELEDOmYX//xPWYKV4lyAhdCguXgrhGzneI+/UrXu461afxfxEzjOQpyueCJwo8c6 SaFgBdq1FpxwWYGNEI7cXCqgXxpFjbhCpG51YYWg4un1XItudRfzMtQjwwJW+tD6M4ZM MMiZ1jeeLn7Na0ePijxLaj2PZLFLxFFdUzfEbMb3wMX9UwnByRCqVDbN5YzxG/iKWY/7 kH4cpUj1Ea8kV5aMdXs9xqtBihqSG2Ra3BlR5mf4CZ/vlcRcAgqJylgZ1j1P4Oq/BmA4 cioolYQe2HBw0dXVn9iS8JnTTMvSH2lKu7OKimg8W4Eg3g7NZ3xl/KgGapkLsAAn0BPv kt2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=OzuqS/q1GW99bRz+TiMRmoluWTJwGKSXphN+rPD19yw=; b=B0V1csMpZofUKj9IMcofCB7hWDffj/FFPJ0Z7TCQzOaUhq2CqW3pB/Bbk5kNPNPDNQ 0SjUqR/3qjgf+mlAVe2tRuN6KttfTQAEN3P1KIV326TTXfpM14VeYcrtxV2/gFctQiGZ 9Us7CUOalKUbP8jyufyGn3KdGhp6QpZBbWdOoA8CQcMfElf2ylZlmx9GEvs/jQAy8q5z K8q+jq0SzMopFe1mV0fGB631+Ti/ukCCxVdPaIHtGWz7ctmSumORx/st1g5NWXYMcnkP Jx3+SB2Sf/49Pe809/BKSP+XyscckcImWiCyNLty+/VTMPxqKP4yL7vaks6Ll8w0sXoW uDNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=necyGC8L; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l7-20020a17090a4d4700b0024e067e6bcdsi962534pjh.101.2023.05.03.01.05.33; Wed, 03 May 2023 01:05:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=necyGC8L; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229840AbjECIEM (ORCPT + 99 others); Wed, 3 May 2023 04:04:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229705AbjECIDU (ORCPT ); Wed, 3 May 2023 04:03:20 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6082B44A1; Wed, 3 May 2023 01:03:15 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 0CEC8200AB; Wed, 3 May 2023 08:03:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1683100994; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=OzuqS/q1GW99bRz+TiMRmoluWTJwGKSXphN+rPD19yw=; b=necyGC8Lp3ANc59nThbk+iHT+whUB60sZSyHP1cucceZByUWse4pJcn0ACJlerLUc594pl e2HjtnvLqgeDtw6EkOCH3dQawiTfltzudwzr6xOsvXZRrhn8DGdpoR83raRes9dTw7pi9k eBPOR4iwxG87yOETVS9MIImOvjEeGns= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1683100994; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=OzuqS/q1GW99bRz+TiMRmoluWTJwGKSXphN+rPD19yw=; b=EzwvqGbiI2OTo2gDqCkWbAcDMnQqFVardkYauejOJov7/K2b0HS4B8MRsnr3qHCkgRuuzO SpcbJK6Cd2pM2fAQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id F04B41331F; Wed, 3 May 2023 08:03:13 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id NgBWOkEVUmQ9YgAAMHmgww (envelope-from ); Wed, 03 May 2023 08:03:13 +0000 From: Daniel Wagner To: linux-nvme@lists.infradead.org Cc: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, Chaitanya Kulkarni , Shin'ichiro Kawasaki , Hannes Reinecke , Daniel Wagner Subject: [PATCH blktests v3 07/12] nvme: Make test image size configurable Date: Wed, 3 May 2023 10:02:53 +0200 Message-Id: <20230503080258.14525-8-dwagner@suse.de> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230503080258.14525-1-dwagner@suse.de> References: <20230503080258.14525-1-dwagner@suse.de> MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764859467155603685?= X-GMAIL-MSGID: =?utf-8?q?1764859467155603685?= The reduce the overall runtime of the testsuite by making the default size of the test image small. For verification jobs, the default can be overwriten via the newly introduced nvme_img_size environment variable. Reviewed-by: Hannes Reinecke Signed-off-by: Daniel Wagner Reviewed-by: Chaitanya Kulkarni --- Documentation/running-tests.md | 3 +++ tests/nvme/004 | 2 +- tests/nvme/005 | 2 +- tests/nvme/006 | 2 +- tests/nvme/007 | 2 +- tests/nvme/008 | 2 +- tests/nvme/009 | 2 +- tests/nvme/010 | 5 +++-- tests/nvme/011 | 5 +++-- tests/nvme/012 | 2 +- tests/nvme/013 | 2 +- tests/nvme/014 | 2 +- tests/nvme/015 | 2 +- tests/nvme/017 | 2 +- tests/nvme/018 | 2 +- tests/nvme/019 | 2 +- tests/nvme/020 | 2 +- tests/nvme/021 | 2 +- tests/nvme/022 | 2 +- tests/nvme/023 | 2 +- tests/nvme/024 | 2 +- tests/nvme/025 | 2 +- tests/nvme/026 | 2 +- tests/nvme/027 | 2 +- tests/nvme/028 | 2 +- tests/nvme/029 | 3 ++- tests/nvme/031 | 2 +- tests/nvme/032 | 1 - tests/nvme/034 | 2 +- tests/nvme/035 | 4 ++-- tests/nvme/040 | 2 +- tests/nvme/041 | 2 +- tests/nvme/042 | 2 +- tests/nvme/043 | 2 +- tests/nvme/044 | 2 +- tests/nvme/045 | 2 +- tests/nvme/047 | 2 +- tests/nvme/048 | 2 +- tests/nvme/rc | 1 + 39 files changed, 46 insertions(+), 40 deletions(-) diff --git a/Documentation/running-tests.md b/Documentation/running-tests.md index 7e827fba7ac0..6b34a253fd97 100644 --- a/Documentation/running-tests.md +++ b/Documentation/running-tests.md @@ -104,6 +104,9 @@ The NVMe tests can be additionally parameterized via environment variables. - nvme_tr_type: 'loop' (default), 'tcp', 'rdma' and 'fc' Run the tests with the given transport. +- nvme_img_size: '1G' (default) + Run the tests with given image size in bytes. 'm' and 'g' postfix + are supported. ### Running nvme-rdma nvmeof-mp srp tests diff --git a/tests/nvme/004 b/tests/nvme/004 index 9dda538b1ac0..cab98ff44326 100755 --- a/tests/nvme/004 +++ b/tests/nvme/004 @@ -25,7 +25,7 @@ test() { local port port="$(_create_nvmet_port "${nvme_trtype}")" - truncate -s 1G "$TMPDIR/img" + truncate -s "${nvme_img_size}" "$TMPDIR/img" local loop_dev loop_dev="$(losetup -f --show "$TMPDIR/img")" diff --git a/tests/nvme/005 b/tests/nvme/005 index de567a74a891..8e15a13f3794 100755 --- a/tests/nvme/005 +++ b/tests/nvme/005 @@ -24,7 +24,7 @@ test() { local port port="$(_create_nvmet_port "${nvme_trtype}")" - truncate -s 1G "$TMPDIR/img" + truncate -s "${nvme_img_size}" "$TMPDIR/img" local loop_dev loop_dev="$(losetup -f --show "$TMPDIR/img")" diff --git a/tests/nvme/006 b/tests/nvme/006 index d993861c06ba..ea0db93791a7 100755 --- a/tests/nvme/006 +++ b/tests/nvme/006 @@ -24,7 +24,7 @@ test() { _setup_nvmet - truncate -s 1G "$TMPDIR/img" + truncate -s "${nvme_img_size}" "$TMPDIR/img" loop_dev="$(losetup -f --show "$TMPDIR/img")" diff --git a/tests/nvme/007 b/tests/nvme/007 index d53100f3ff7b..243a79f5a254 100755 --- a/tests/nvme/007 +++ b/tests/nvme/007 @@ -25,7 +25,7 @@ test() { file_path="${TMPDIR}/img" - truncate -s 1G "${file_path}" + truncate -s "${nvme_img_size}" "${file_path}" _create_nvmet_subsystem "${subsys_name}" "${file_path}" \ "91fdba0d-f87b-4c25-b80f-db7be1418b9e" diff --git a/tests/nvme/008 b/tests/nvme/008 index 5568fe46e463..5abc4240ca46 100755 --- a/tests/nvme/008 +++ b/tests/nvme/008 @@ -26,7 +26,7 @@ test() { local file_path="$TMPDIR/img" local subsys_name="blktests-subsystem-1" - truncate -s 1G "${file_path}" + truncate -s "${nvme_img_size}" "${file_path}" loop_dev="$(losetup -f --show "${file_path}")" diff --git a/tests/nvme/009 b/tests/nvme/009 index 2814c79164ee..491d3c809ab0 100755 --- a/tests/nvme/009 +++ b/tests/nvme/009 @@ -24,7 +24,7 @@ test() { local file_path="$TMPDIR/img" local subsys_name="blktests-subsystem-1" - truncate -s 1G "${file_path}" + truncate -s "${nvme_img_size}" "${file_path}" _create_nvmet_subsystem "${subsys_name}" "${file_path}" \ "91fdba0d-f87b-4c25-b80f-db7be1418b9e" diff --git a/tests/nvme/010 b/tests/nvme/010 index b7b1d5188e9b..805f80d40620 100755 --- a/tests/nvme/010 +++ b/tests/nvme/010 @@ -26,7 +26,7 @@ test() { local file_path="${TMPDIR}/img" local subsys_name="blktests-subsystem-1" - truncate -s 1G "${file_path}" + truncate -s "${nvme_img_size}" "${file_path}" loop_dev="$(losetup -f --show "${file_path}")" @@ -41,7 +41,8 @@ test() { cat "/sys/block/${nvmedev}n1/uuid" cat "/sys/block/${nvmedev}n1/wwid" - _run_fio_verify_io --size=950m --filename="/dev/${nvmedev}n1" + _run_fio_verify_io --size=${nvme_img_size} \ + --filename="/dev/${nvmedev}n1" _nvme_disconnect_subsys "${subsys_name}" diff --git a/tests/nvme/011 b/tests/nvme/011 index 4bfe9af084e4..da8cbac11124 100755 --- a/tests/nvme/011 +++ b/tests/nvme/011 @@ -26,7 +26,7 @@ test() { local file_path="${TMPDIR}/img" local subsys_name="blktests-subsystem-1" - truncate -s 1G "${file_path}" + truncate -s "${nvme_img_size}" "${file_path}" _create_nvmet_subsystem "${subsys_name}" "${file_path}" \ "91fdba0d-f87b-4c25-b80f-db7be1418b9e" @@ -39,7 +39,8 @@ test() { cat "/sys/block/${nvmedev}n1/uuid" cat "/sys/block/${nvmedev}n1/wwid" - _run_fio_verify_io --size=950m --filename="/dev/${nvmedev}n1" + _run_fio_verify_io --size="${nvme_img_size}" \ + --filename="/dev/${nvmedev}n1" _nvme_disconnect_subsys "${subsys_name}" diff --git a/tests/nvme/012 b/tests/nvme/012 index c9d24388306d..ecf44fcb5a51 100755 --- a/tests/nvme/012 +++ b/tests/nvme/012 @@ -29,7 +29,7 @@ test() { local file_path="${TMPDIR}/img" local subsys_name="blktests-subsystem-1" - truncate -s 1G "${file_path}" + truncate -s "${nvme_img_size}" "${file_path}" loop_dev="$(losetup -f --show "${file_path}")" diff --git a/tests/nvme/013 b/tests/nvme/013 index 265b6968fd34..e249add46295 100755 --- a/tests/nvme/013 +++ b/tests/nvme/013 @@ -28,7 +28,7 @@ test() { local subsys_name="blktests-subsystem-1" - truncate -s 1G "${file_path}" + truncate -s "${nvme_img_size}" "${file_path}" _create_nvmet_subsystem "${subsys_name}" "${file_path}" \ "91fdba0d-f87b-4c25-b80f-db7be1418b9e" diff --git a/tests/nvme/014 b/tests/nvme/014 index 875e99eea346..55d920f2660b 100755 --- a/tests/nvme/014 +++ b/tests/nvme/014 @@ -29,7 +29,7 @@ test() { local file_path="$TMPDIR/img" local subsys_name="blktests-subsystem-1" - truncate -s 1G "${file_path}" + truncate -s "${nvme_img_size}" "${file_path}" loop_dev="$(losetup -f --show "${file_path}")" diff --git a/tests/nvme/015 b/tests/nvme/015 index 8cb343e1d31c..071141380e43 100755 --- a/tests/nvme/015 +++ b/tests/nvme/015 @@ -28,7 +28,7 @@ test() { local file_path="$TMPDIR/img" local subsys_name="blktests-subsystem-1" - truncate -s 1G "${file_path}" + truncate -s "${nvme_img_size}" "${file_path}" _create_nvmet_subsystem "${subsys_name}" "${file_path}" \ "91fdba0d-f87b-4c25-b80f-db7be1418b9e" diff --git a/tests/nvme/017 b/tests/nvme/017 index f2a95cf276cb..0248aee9bc41 100755 --- a/tests/nvme/017 +++ b/tests/nvme/017 @@ -25,7 +25,7 @@ test() { file_path="${TMPDIR}/img" - truncate -s 1G "${file_path}" + truncate -s "${nvme_img_size}" "${file_path}" _create_nvmet_subsystem "${subsys_name}" "${file_path}" \ "91fdba0d-f87b-4c25-b80f-db7be1418b9e" diff --git a/tests/nvme/018 b/tests/nvme/018 index 315e79534348..78e9b2bb94d8 100755 --- a/tests/nvme/018 +++ b/tests/nvme/018 @@ -26,7 +26,7 @@ test() { local file_path="$TMPDIR/img" local subsys_name="blktests-subsystem-1" - truncate -s 1G "${file_path}" + truncate -s "${nvme_img_size}" "${file_path}" _create_nvmet_subsystem "${subsys_name}" "${file_path}" \ "91fdba0d-f87b-4c25-b80f-db7be1418b9e" diff --git a/tests/nvme/019 b/tests/nvme/019 index 4cb3509a12b2..9fff8ccaac9c 100755 --- a/tests/nvme/019 +++ b/tests/nvme/019 @@ -28,7 +28,7 @@ test() { local nblk_range="10,10,10,10,10,10,10,10,10,10" local sblk_range="100,200,300,400,500,600,700,800,900,1000" - truncate -s 1G "${file_path}" + truncate -s "${nvme_img_size}" "${file_path}" loop_dev="$(losetup -f --show "${file_path}")" diff --git a/tests/nvme/020 b/tests/nvme/020 index 16fdfcc94918..1966d5925213 100755 --- a/tests/nvme/020 +++ b/tests/nvme/020 @@ -26,7 +26,7 @@ test() { local nblk_range="10,10,10,10,10,10,10,10,10,10" local sblk_range="100,200,300,400,500,600,700,800,900,1000" - truncate -s 1G "${file_path}" + truncate -s "${nvme_img_size}" "${file_path}" _create_nvmet_subsystem "${subsys_name}" "${file_path}" \ "91fdba0d-f87b-4c25-b80f-db7be1418b9e" diff --git a/tests/nvme/021 b/tests/nvme/021 index 6ee0af1fe158..1fefc0fbca00 100755 --- a/tests/nvme/021 +++ b/tests/nvme/021 @@ -25,7 +25,7 @@ test() { local file_path="$TMPDIR/img" local subsys_name="blktests-subsystem-1" - truncate -s 1G "${file_path}" + truncate -s "${nvme_img_size}" "${file_path}" _create_nvmet_subsystem "${subsys_name}" "${file_path}" \ "91fdba0d-f87b-4c25-b80f-db7be1418b9e" diff --git a/tests/nvme/022 b/tests/nvme/022 index 1d76ffa44178..1ff915786f86 100755 --- a/tests/nvme/022 +++ b/tests/nvme/022 @@ -25,7 +25,7 @@ test() { local file_path="$TMPDIR/img" local subsys_name="blktests-subsystem-1" - truncate -s 1G "${file_path}" + truncate -s "${nvme_img_size}" "${file_path}" _create_nvmet_subsystem "${subsys_name}" "${file_path}" \ "91fdba0d-f87b-4c25-b80f-db7be1418b9e" diff --git a/tests/nvme/023 b/tests/nvme/023 index b65be07edc38..90316230a3d7 100755 --- a/tests/nvme/023 +++ b/tests/nvme/023 @@ -26,7 +26,7 @@ test() { local file_path="$TMPDIR/img" local subsys_name="blktests-subsystem-1" - truncate -s 1G "${file_path}" + truncate -s "${nvme_img_size}" "${file_path}" loop_dev="$(losetup -f --show "${file_path}")" diff --git a/tests/nvme/024 b/tests/nvme/024 index f756797d6f29..384a8266e741 100755 --- a/tests/nvme/024 +++ b/tests/nvme/024 @@ -25,7 +25,7 @@ test() { local file_path="$TMPDIR/img" local subsys_name="blktests-subsystem-1" - truncate -s 1G "${file_path}" + truncate -s "${nvme_img_size}" "${file_path}" _create_nvmet_subsystem "${subsys_name}" "${file_path}" \ "91fdba0d-f87b-4c25-b80f-db7be1418b9e" diff --git a/tests/nvme/025 b/tests/nvme/025 index 941bf36f67fb..815223d1c28d 100755 --- a/tests/nvme/025 +++ b/tests/nvme/025 @@ -25,7 +25,7 @@ test() { local file_path="$TMPDIR/img" local subsys_name="blktests-subsystem-1" - truncate -s 1G "${file_path}" + truncate -s "${nvme_img_size}" "${file_path}" _create_nvmet_subsystem "${subsys_name}" "${file_path}" \ "91fdba0d-f87b-4c25-b80f-db7be1418b9e" diff --git a/tests/nvme/026 b/tests/nvme/026 index c3f06c2a377c..d2203f19f026 100755 --- a/tests/nvme/026 +++ b/tests/nvme/026 @@ -25,7 +25,7 @@ test() { local file_path="$TMPDIR/img" local subsys_name="blktests-subsystem-1" - truncate -s 1G "${file_path}" + truncate -s "${nvme_img_size}" "${file_path}" _create_nvmet_subsystem "${subsys_name}" "${file_path}" \ "91fdba0d-f87b-4c25-b80f-db7be1418b9e" diff --git a/tests/nvme/027 b/tests/nvme/027 index 0ad663ace811..97fe70e78344 100755 --- a/tests/nvme/027 +++ b/tests/nvme/027 @@ -25,7 +25,7 @@ test() { local file_path="$TMPDIR/img" local subsys_name="blktests-subsystem-1" - truncate -s 1G "${file_path}" + truncate -s "${nvme_img_size}" "${file_path}" _create_nvmet_subsystem "${subsys_name}" "${file_path}" \ "91fdba0d-f87b-4c25-b80f-db7be1418b9e" diff --git a/tests/nvme/028 b/tests/nvme/028 index 7de977a81213..c539620bee28 100755 --- a/tests/nvme/028 +++ b/tests/nvme/028 @@ -25,7 +25,7 @@ test() { local file_path="$TMPDIR/img" local subsys_name="blktests-subsystem-1" - truncate -s 1G "${file_path}" + truncate -s "${nvme_img_size}" "${file_path}" _create_nvmet_subsystem "${subsys_name}" "${file_path}" \ "91fdba0d-f87b-4c25-b80f-db7be1418b9e" diff --git a/tests/nvme/029 b/tests/nvme/029 index f8b4cbbb9156..1808b7b0edf1 100755 --- a/tests/nvme/029 +++ b/tests/nvme/029 @@ -14,6 +14,7 @@ requires() { _nvme_requires _have_loop _require_nvme_trtype_is_fabrics + _require_test_dev_size 1M } test_user_io() @@ -59,7 +60,7 @@ test() { local file_path="$TMPDIR/img" local subsys_name="blktests-subsystem-1" - truncate -s 1G "${file_path}" + truncate -s "${nvme_img_size}" "${file_path}" loop_dev="$(losetup -f --show "${file_path}")" diff --git a/tests/nvme/031 b/tests/nvme/031 index 4e1798246db1..e70898819a86 100755 --- a/tests/nvme/031 +++ b/tests/nvme/031 @@ -33,7 +33,7 @@ test() { _setup_nvmet - truncate -s 1G "$TMPDIR/img" + truncate -s "${nvme_img_size}" "$TMPDIR/img" loop_dev="$(losetup -f --show "$TMPDIR/img")" diff --git a/tests/nvme/032 b/tests/nvme/032 index 2e4b7f0760c7..46bbff25e70d 100755 --- a/tests/nvme/032 +++ b/tests/nvme/032 @@ -40,7 +40,6 @@ test_device() { # start fio job _run_fio_rand_io --filename="$TEST_DEV" \ --group_reporting --time_based --runtime=-1 &> /dev/null & - sleep 5 if [[ ! -d "$sysfs" ]]; then diff --git a/tests/nvme/034 b/tests/nvme/034 index f92e5e20865b..e0ede717c373 100755 --- a/tests/nvme/034 +++ b/tests/nvme/034 @@ -26,7 +26,7 @@ test_device() { port=$(_nvmet_passthru_target_setup "${subsys}") nsdev=$(_nvmet_passthru_target_connect "${nvme_trtype}" "${subsys}") - _run_fio_verify_io --size=950m --filename="${nsdev}" + _run_fio_verify_io --size="${nvme_img_size}" --filename="${nsdev}" _nvme_disconnect_subsys "${subsys}" _nvmet_passthru_target_cleanup "${port}" "${subsys}" diff --git a/tests/nvme/035 b/tests/nvme/035 index eb1024edddbf..0896f7bb578d 100755 --- a/tests/nvme/035 +++ b/tests/nvme/035 @@ -17,7 +17,7 @@ requires() { } device_requires() { - _require_test_dev_size 1024m + _require_test_dev_size "${nvme_img_size}" } test_device() { @@ -32,7 +32,7 @@ test_device() { port=$(_nvmet_passthru_target_setup "${subsys}") nsdev=$(_nvmet_passthru_target_connect "${nvme_trtype}" "${subsys}") - _xfs_run_fio_verify_io "${nsdev}" "900m" + _xfs_run_fio_verify_io "${nsdev}" "${nvme_img_size}" _nvme_disconnect_subsys "${subsys}" _nvmet_passthru_target_cleanup "${port}" "${subsys}" diff --git a/tests/nvme/040 b/tests/nvme/040 index 05b4f5472ef5..7a8742ec343d 100755 --- a/tests/nvme/040 +++ b/tests/nvme/040 @@ -26,7 +26,7 @@ test() { echo "Running ${TEST_NAME}" _setup_nvmet - truncate -s 1G "$TMPDIR/img" + truncate -s "${nvme_img_size}" "$TMPDIR/img" loop_dev="$(losetup -f --show "$TMPDIR/img")" port="$(_create_nvmet_port "${nvme_trtype}")" diff --git a/tests/nvme/041 b/tests/nvme/041 index 03e2dab25918..308655dd6090 100755 --- a/tests/nvme/041 +++ b/tests/nvme/041 @@ -44,7 +44,7 @@ test() { _setup_nvmet - truncate -s 512M "${file_path}" + truncate -s "${nvme_img_size}" "${file_path}" _create_nvmet_subsystem "${subsys_name}" "${file_path}" \ "b92842df-a394-44b1-84a4-92ae7d112861" diff --git a/tests/nvme/042 b/tests/nvme/042 index 4ad726f72f5a..fed2efead013 100755 --- a/tests/nvme/042 +++ b/tests/nvme/042 @@ -41,7 +41,7 @@ test() { _setup_nvmet - truncate -s 512M "${file_path}" + truncate -s "${nvme_img_size}" "${file_path}" _create_nvmet_subsystem "${subsys_name}" "${file_path}" port="$(_create_nvmet_port "${nvme_trtype}")" diff --git a/tests/nvme/043 b/tests/nvme/043 index c031cecf34a5..a030884aa4ed 100755 --- a/tests/nvme/043 +++ b/tests/nvme/043 @@ -42,7 +42,7 @@ test() { _setup_nvmet - truncate -s 512M "${file_path}" + truncate -s "${nvme_img_size}" "${file_path}" _create_nvmet_subsystem "${subsys_name}" "${file_path}" port="$(_create_nvmet_port "${nvme_trtype}")" diff --git a/tests/nvme/044 b/tests/nvme/044 index f2406ecadf7d..9928bcc55397 100755 --- a/tests/nvme/044 +++ b/tests/nvme/044 @@ -53,7 +53,7 @@ test() { _setup_nvmet - truncate -s 512M "${file_path}" + truncate -s "${nvme_img_size}" "${file_path}" _create_nvmet_subsystem "${subsys_name}" "${file_path}" port="$(_create_nvmet_port "${nvme_trtype}")" diff --git a/tests/nvme/045 b/tests/nvme/045 index 612e5f168e3c..7c51da27b5f1 100755 --- a/tests/nvme/045 +++ b/tests/nvme/045 @@ -55,7 +55,7 @@ test() { _setup_nvmet - truncate -s 512M "${file_path}" + truncate -s "${nvme_img_size}" "${file_path}" _create_nvmet_subsystem "${subsys_name}" "${file_path}" port="$(_create_nvmet_port "${nvme_trtype}")" diff --git a/tests/nvme/047 b/tests/nvme/047 index d56d3be185b0..b5a8d469a983 100755 --- a/tests/nvme/047 +++ b/tests/nvme/047 @@ -28,7 +28,7 @@ test() { local file_path="$TMPDIR/img" local subsys_name="blktests-subsystem-1" - truncate -s 512M "${file_path}" + truncate -s "${nvme_img_size}" "${file_path}" loop_dev="$(losetup -f --show "${file_path}")" diff --git a/tests/nvme/048 b/tests/nvme/048 index 09e205f69197..81084f0440c2 100755 --- a/tests/nvme/048 +++ b/tests/nvme/048 @@ -84,7 +84,7 @@ test() { fi hostnqn="nqn.2014-08.org.nvmexpress:uuid:${hostid}" - truncate -s 512M "${file_path}" + truncate -s "${nvme_img_size}" "${file_path}" _create_nvmet_subsystem "${subsys_name}" "${file_path}" \ "b92842df-a394-44b1-84a4-92ae7d112861" diff --git a/tests/nvme/rc b/tests/nvme/rc index 41f196b037d6..51dde39c2966 100644 --- a/tests/nvme/rc +++ b/tests/nvme/rc @@ -17,6 +17,7 @@ def_local_wwpn="0x20001100aa000002" def_hostnqn="$(cat /etc/nvme/hostnqn 2> /dev/null)" def_hostid="$(cat /etc/nvme/hostid 2> /dev/null)" nvme_trtype=${nvme_trtype:-"loop"} +nvme_img_size=${nvme_img_size:-"1G"} _nvme_requires() { _have_program nvme From patchwork Wed May 3 08:02:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Wagner X-Patchwork-Id: 89623 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1158949vqo; Wed, 3 May 2023 01:18:12 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ68UpKumnY2ESxfHiNJV7RYWmocCQcUX6iZSZF46AueztmKoIdXCBU90og6ma8a0UxVa3jj X-Received: by 2002:a17:902:6908:b0:1a9:a408:a502 with SMTP id j8-20020a170902690800b001a9a408a502mr1328051plk.1.1683101891690; Wed, 03 May 2023 01:18:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683101891; cv=none; d=google.com; s=arc-20160816; b=q9pxfJ0+LCAoQyR+dI/S4RcJfYqVTpQamKbjG+p2DnVpbieOI41PtM+ArVk793CVKj 7TWMHXkIxUsLDK3+Igjgn6yMuDXm+PbKde5gDUzY5NZeEITPQ7b98Kyq4lCbUriK1pVS emyP26TEclGrvCAuSPQ68tQgvTFbN8/CeR9lU81LM6RRkhjzchKhWSlshKrgCo4Tr6Mt Z+DzDazoHTZHUjnbi3L7cWfsNvWowcL37VGbGZIbUSkNEZha+4HCaTG5fLHO1LAivFkK NA6AaQrLObpvQyT0Tj4yRRqCZrZB3tCr5aNkLDM9asOPCrSBWXPSJgSZCN40FdWCtKyT S2Ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=4tjE0NvC6MVI533blqgvoUgxDFlwXYq30tEklO1YpJ0=; b=cU05eUOk4N/RMU0/1uwvah+yZOudS8up+iMM7MbiSF0je+OEd4oRmdhcq2Fomf/z4m g0K0Svu/HW0sARQ4/WuiphIK2YhBZNFQadW8nzN1IS7P18wPKyfL/jW3QT3Pbl8g5ks8 LbekRL2TmKIZeztfD1sOFXqBixjGChEp3mrMU7qCChkZFcrFwwfsTd4+EiKcxcD9dbaF ZKuG1Dd28z90t9ryc3KFAaI4IwFvN137RPfUAtnGG2sd5qYwifXfyGLwNEVVhWjRucFy Lk/T+L5nMAq5B7vUMXUQl+B5SwzXjhA1MBsY89WXst0nr+Cjjq3MlZ24lqJcRbEOMVFf eWhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=CtMiP3Z5; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b="v/S/oorU"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u10-20020a170903124a00b001a97d1e9642si24245213plh.186.2023.05.03.01.17.58; Wed, 03 May 2023 01:18:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=CtMiP3Z5; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b="v/S/oorU"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229846AbjECIDy (ORCPT + 99 others); Wed, 3 May 2023 04:03:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59062 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229729AbjECIDS (ORCPT ); Wed, 3 May 2023 04:03:18 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0088C469A; Wed, 3 May 2023 01:03:15 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 9BF56223C8; Wed, 3 May 2023 08:03:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1683100994; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4tjE0NvC6MVI533blqgvoUgxDFlwXYq30tEklO1YpJ0=; b=CtMiP3Z5krP0JLc1HmiqxpTQdYbELINNJXMQRnjrRXF58FcwvdejfTXM2MtCoCYa3Iv3Ho Df3auU4Ppi91PQQsedxI49CvtR0AC8VYCaLbt2P1V48TlIeFDdeJMK6ArxKJZSoX8XFc2A D54+VGIgasCfl263FCfrVhh1HHoXQMg= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1683100994; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4tjE0NvC6MVI533blqgvoUgxDFlwXYq30tEklO1YpJ0=; b=v/S/oorULdefpK5+10mObYc6T/jS5YfCq8+tEtx7YXv3g4jQ62MnPqSYzpIergkXMguIGw cKQUYhlUSMoM6yDQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 8EC001331F; Wed, 3 May 2023 08:03:14 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id H57WIkIVUmRBYgAAMHmgww (envelope-from ); Wed, 03 May 2023 08:03:14 +0000 From: Daniel Wagner To: linux-nvme@lists.infradead.org Cc: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, Chaitanya Kulkarni , Shin'ichiro Kawasaki , Hannes Reinecke , Daniel Wagner Subject: [PATCH blktests v3 08/12] nvme/rc: Add minimal test image size requirement Date: Wed, 3 May 2023 10:02:54 +0200 Message-Id: <20230503080258.14525-9-dwagner@suse.de> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230503080258.14525-1-dwagner@suse.de> References: <20230503080258.14525-1-dwagner@suse.de> MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764860249410965875?= X-GMAIL-MSGID: =?utf-8?q?1764860249410965875?= Some tests need a minimal test image size to work correctly. Thus add a helper to check the size and update these tests accordingly. The image minimum is 4M because some of the test have hard coded values. All tests which use the xfs fio verification job have a minimum requirement of 350M impossed by the xfs filesystem. Reviewed-by: Hannes Reinecke Signed-off-by: Daniel Wagner Reviewed-by: Chaitanya Kulkarni --- tests/nvme/012 | 1 + tests/nvme/013 | 1 + tests/nvme/029 | 1 - tests/nvme/045 | 2 +- tests/nvme/rc | 15 +++++++++++++++ 5 files changed, 18 insertions(+), 2 deletions(-) diff --git a/tests/nvme/012 b/tests/nvme/012 index ecf44fcb5a51..efe227538c57 100755 --- a/tests/nvme/012 +++ b/tests/nvme/012 @@ -16,6 +16,7 @@ requires() { _have_fio _have_loop _require_nvme_trtype_is_fabrics + _require_nvme_test_img_size 350m } test() { diff --git a/tests/nvme/013 b/tests/nvme/013 index e249add46295..14e646a19c47 100755 --- a/tests/nvme/013 +++ b/tests/nvme/013 @@ -15,6 +15,7 @@ requires() { _have_xfs _have_fio _require_nvme_trtype_is_fabrics + _require_nvme_test_img_size 350m } test() { diff --git a/tests/nvme/029 b/tests/nvme/029 index 1808b7b0edf1..c6d38b42af70 100755 --- a/tests/nvme/029 +++ b/tests/nvme/029 @@ -14,7 +14,6 @@ requires() { _nvme_requires _have_loop _require_nvme_trtype_is_fabrics - _require_test_dev_size 1M } test_user_io() diff --git a/tests/nvme/045 b/tests/nvme/045 index 7c51da27b5f1..99012f6bed8f 100755 --- a/tests/nvme/045 +++ b/tests/nvme/045 @@ -120,7 +120,7 @@ test() { nvmedev=$(_find_nvme_dev "${subsys_name}") - _run_fio_rand_io --size=8m --filename="/dev/${nvmedev}n1" + _run_fio_rand_io --size=4m --filename="/dev/${nvmedev}n1" _nvme_disconnect_subsys "${subsys_name}" diff --git a/tests/nvme/rc b/tests/nvme/rc index 51dde39c2966..0b4d5f6570d6 100644 --- a/tests/nvme/rc +++ b/tests/nvme/rc @@ -21,6 +21,7 @@ nvme_img_size=${nvme_img_size:-"1G"} _nvme_requires() { _have_program nvme + _require_nvme_test_img_size 4m case ${nvme_trtype} in loop) _have_driver nvme-loop @@ -94,6 +95,20 @@ _require_test_dev_is_nvme() { return 0 } +_require_nvme_test_img_size() { + local require_sz_mb + local nvme_img_size_mb + + require_sz_mb="$(convert_to_mb "$1")" + nvme_img_size_mb="$(convert_to_mb "${nvme_img_size}")" + + if (( "${nvme_img_size_mb}" < "$require_sz_mb" )); then + SKIP_REASONS+=("nvme_img_size must be at least ${require_sz_mb}m") + return 1 + fi + return 0 +} + _require_nvme_trtype() { local trtype for trtype in "$@"; do From patchwork Wed May 3 08:02:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Wagner X-Patchwork-Id: 89612 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1153111vqo; Wed, 3 May 2023 01:05:31 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ53kXs0bLzLF83FF8kGNyuYNMYRb2CPlucNyw2LUesB+ceyNlntxj7PG6TF+Am50bg7GlaP X-Received: by 2002:a05:6a20:3c8b:b0:ef:6e5a:8b1e with SMTP id b11-20020a056a203c8b00b000ef6e5a8b1emr24437590pzj.24.1683101131141; Wed, 03 May 2023 01:05:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683101131; cv=none; d=google.com; s=arc-20160816; b=vV1i0rOGUsta8gA9MNL2+rX7IjE6JhN93xclQ9ZKji56bAA3EiUUeX1KV6h8G5/wfs oMm1w7vwDd3djWoYbyMIWWsypFVjYIMFMY73dD4e4Oco3AWeFAKN1t9qNl7lTLMIOE6+ JmriId9DuO4kkfD8QDF+QA+gztvBk6PV7GenjHRbwxRdy0hVyLLjcALXuY4dg0cuhIIi J2bJa32VajuCr/+v6YkDKuigwVbx5QbzbNrKdl/gVNRdWnN1v4I/5hOQSndI33+C/5IZ UviYkRuCkX2FEhsz1Uiz+WuSnjBWJ/6p4JMMh90enTfD+YBi7pht6yGZYX6dQOqoLn0g jlag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=e2pq1wjnhWpzpAUzywg7yjYCKpUJJXlcUeZCAZuKjeQ=; b=BRcHLpLYcJQHreF9eJQShiPmuf37UQ8VpwPZfthWq1iQ+kG3UrAF80WAIXFxKTFp+6 r2ve8pesvx4iIMYhjIc3U8tFgM2W1qpBkYIG0e1kpvGHK+tRqEev/9vYh5h9taZdTAxU hM/6XrGeUGcWGNgPtk+GFdUk975QaF2CzQnFzVhaR9FOBnOAWN+CF/JpaOpRQZ254bGw vcDxrzNz8Q2jWx4PPJ5UZsiQIubQhwIL4s8WQ8ek7DcBDmbeEvGTLRnbAm/GxBq5r+sY LjXvoh09W0/YQHsFmuFnR53BUOkhhuT7y42ssPmHDjoyGK0Z2CPX5fK4EXKXRlBt2Hp+ szYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=ajMzP1vc; dkim=neutral (no key) header.i=@suse.de header.b=Fdy1nUpx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r7-20020a63e507000000b00518580cb7b8si17530193pgh.269.2023.05.03.01.05.18; Wed, 03 May 2023 01:05:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=ajMzP1vc; dkim=neutral (no key) header.i=@suse.de header.b=Fdy1nUpx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229522AbjECIEE (ORCPT + 99 others); Wed, 3 May 2023 04:04:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229730AbjECIDT (ORCPT ); Wed, 3 May 2023 04:03:19 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A733646AE; Wed, 3 May 2023 01:03:16 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 3D6B4223FE; Wed, 3 May 2023 08:03:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1683100995; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=e2pq1wjnhWpzpAUzywg7yjYCKpUJJXlcUeZCAZuKjeQ=; b=ajMzP1vczLO7G7jIFOc9NiidYl3WFlbFEYBsoWk5mT4U81vaYTbjZr9pcOOAfYA5/Wnv8n gF9mfH3QzZ7eqmT/3/XLXcCx9W5GVaars2uGz/GGATDQq6hjZmjYuzdhQ3Je48S7Eq3jCT uDZ5XBFtdofwoW/HsWrSRNr3T6fr1CE= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1683100995; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=e2pq1wjnhWpzpAUzywg7yjYCKpUJJXlcUeZCAZuKjeQ=; b=Fdy1nUpx1DqPaJ5pDiwa7wy5yJ4yRGpqmlpU+rtEVOjvLbIo3wBU/xMLMqZWOjUkcxeUOP 6NKxwyuyAGhxFrBQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 2F66A1331F; Wed, 3 May 2023 08:03:15 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id bwWbC0MVUmRDYgAAMHmgww (envelope-from ); Wed, 03 May 2023 08:03:15 +0000 From: Daniel Wagner To: linux-nvme@lists.infradead.org Cc: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, Chaitanya Kulkarni , Shin'ichiro Kawasaki , Hannes Reinecke , Daniel Wagner Subject: [PATCH blktests v3 09/12] common/fio: Limit number of random jobs Date: Wed, 3 May 2023 10:02:55 +0200 Message-Id: <20230503080258.14525-10-dwagner@suse.de> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230503080258.14525-1-dwagner@suse.de> References: <20230503080258.14525-1-dwagner@suse.de> MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764859451634141357?= X-GMAIL-MSGID: =?utf-8?q?1764859451634141357?= Limit the number of random threads to 32 for big machines. This still gives enough randomness but limits the resource usage. Signed-off-by: Daniel Wagner --- common/fio | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/fio b/common/fio index 1db6128be632..06659d7d1d84 100644 --- a/common/fio +++ b/common/fio @@ -189,7 +189,8 @@ _run_fio() { # Wrapper around _run_fio used if you need some I/O but don't really care much # about the details _run_fio_rand_io() { - _run_fio --bs=4k --rw=randread --norandommap --numjobs="$(nproc)" \ + _run_fio --bs=4k --rw=randread --norandommap \ + --numjobs="$(OMP_THREAD_LIMIT=32 nproc)" \ --name=reads --direct=1 "$@" } From patchwork Wed May 3 08:02:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Wagner X-Patchwork-Id: 89613 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1153184vqo; Wed, 3 May 2023 01:05:42 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6yywZIlDA/H4qxjCyqmDAcJYirlu6/wu5+wKmJKfX3HzFOiVSnj6VzGtmwLwuAxcJ6zwvw X-Received: by 2002:a05:6a20:3d23:b0:cb:8d74:112e with SMTP id y35-20020a056a203d2300b000cb8d74112emr25247458pzi.45.1683101141751; Wed, 03 May 2023 01:05:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683101141; cv=none; d=google.com; s=arc-20160816; b=NxuzES6dq6OuQ2Hao72XzVEbN1EaML2q3BT1MPh6hmMPJfqrGpyWNASJlEIW0xipjV MJR4PcLuLWDs/+Tq7h532t1CY7m0K7sVtmuiK9JRgvW27CnU04Qs62NKI/Cp0Z0l/YsP FKOgTtW6NG4FzQCr7wmjxG+kt14JttadFXZMEEKOavU7eFsxVW2SqrGjxI+awfgcyyrn Chs2MltcEBTqnRexF/TSK5pNITwYDS7L6btdPXDAzfvxYhpfEGLRj1kSZZxhVA/mX6uw O0iGrnvli4CNwb6CzmW3iE6U3aB/8+PJrGKeVzkkXhfxOX9Q2Ifot8wQsrSozrVYxQzr PXPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=aAwZIxK8I8pPL4wc47pZHOduEchq/9jTkHlk6SsankQ=; b=Dc9itiByQT8L/jAw+BRR8z0hPTUHd71/4hCLqM/YhNi4ImBs3JnDInd9IHhFfJSbYA UdaAZVEYYbcnsAk+stcVNJ+2ISz4sSlybtWDTS7V8/hix8x+IwpRqTsSwQ4xwX4SG5yu XafFhJRqK277lswaBK0H6tC9ljx0Z2jfwDLHqZi5b1HUULv00exvMxqyKlLn0lJ3lzv5 TUmWpmuCAgzNgutMDdl9IcMa4cwn1+oXeM0tAym85yFpyZPuEWa2qnMKWCZqILS6cerT 4uPxAXCWH3m8wgrzsMlLe+JtXdnCrTVmYFSXjpJp/4GyUvWsL4CaegJ7YFxU3RqImszk i41g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=oHTrdFgG; dkim=neutral (no key) header.i=@suse.de header.b=MxQz4XTP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b138-20020a621b90000000b006434a04f2fcsi417492pfb.297.2023.05.03.01.05.27; Wed, 03 May 2023 01:05:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=oHTrdFgG; dkim=neutral (no key) header.i=@suse.de header.b=MxQz4XTP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229735AbjECIEI (ORCPT + 99 others); Wed, 3 May 2023 04:04:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbjECIDU (ORCPT ); Wed, 3 May 2023 04:03:20 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D67C468F; Wed, 3 May 2023 01:03:17 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id E1D7B200AC; Wed, 3 May 2023 08:03:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1683100995; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=aAwZIxK8I8pPL4wc47pZHOduEchq/9jTkHlk6SsankQ=; b=oHTrdFgGWHdqnfD+LmHOQdC5XxD2Q22DtAONTOxgLJf/EWoUlRQLmuOOSPtFAJNKFUaW/g wDSyCILm9vuuMzjsDANBpaByMMOnj4PqJ+YfhZ/+gF9w/aP7S80cYagj41PsmMqN7Bt+9U GRLLeaX2nPhPwpje3o2sJYYsooSWp1U= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1683100995; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=aAwZIxK8I8pPL4wc47pZHOduEchq/9jTkHlk6SsankQ=; b=MxQz4XTPHtABvGW4lt/ezlfxVpkfpb+uBHpI520ezQrRzSHKhjJXADr8VqkOGIIhWXVhs9 siDcr1VKAtzwA+Cw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id D4BDC1331F; Wed, 3 May 2023 08:03:15 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id tjTuM0MVUmRFYgAAMHmgww (envelope-from ); Wed, 03 May 2023 08:03:15 +0000 From: Daniel Wagner To: linux-nvme@lists.infradead.org Cc: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, Chaitanya Kulkarni , Shin'ichiro Kawasaki , Hannes Reinecke , Daniel Wagner Subject: [PATCH blktests v3 10/12] nvme/rc: Calculate IO size for random fio jobs Date: Wed, 3 May 2023 10:02:56 +0200 Message-Id: <20230503080258.14525-11-dwagner@suse.de> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230503080258.14525-1-dwagner@suse.de> References: <20230503080258.14525-1-dwagner@suse.de> MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764859462995205147?= X-GMAIL-MSGID: =?utf-8?q?1764859462995205147?= _nvme_calc_run_io_size() returns the jobs size for _run_fio_rand_io() function. The jobs size is the size per job, thus we have to divide through the number of CPUs. Signed-off-by: Daniel Wagner --- tests/nvme/045 | 4 +++- tests/nvme/047 | 6 ++++-- tests/nvme/rc | 10 ++++++++++ 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/tests/nvme/045 b/tests/nvme/045 index 99012f6bed8f..f50087cccb6a 100755 --- a/tests/nvme/045 +++ b/tests/nvme/045 @@ -31,6 +31,7 @@ test() { local ctrlkey local new_ctrlkey local ctrldev + local rand_io_size echo "Running ${TEST_NAME}" @@ -120,7 +121,8 @@ test() { nvmedev=$(_find_nvme_dev "${subsys_name}") - _run_fio_rand_io --size=4m --filename="/dev/${nvmedev}n1" + rand_io_size="$(_nvme_calc_rand_io_size 4m)" + _run_fio_rand_io --size="${rand_io_size}" --filename="/dev/${nvmedev}n1" _nvme_disconnect_subsys "${subsys_name}" diff --git a/tests/nvme/047 b/tests/nvme/047 index b5a8d469a983..6a7599bc2e91 100755 --- a/tests/nvme/047 +++ b/tests/nvme/047 @@ -25,6 +25,7 @@ test() { local port local nvmedev local loop_dev + local rand_io_size local file_path="$TMPDIR/img" local subsys_name="blktests-subsystem-1" @@ -42,7 +43,8 @@ test() { nvmedev=$(_find_nvme_dev "${subsys_name}") - _xfs_run_fio_verify_io /dev/"${nvmedev}n1" "1m" || echo FAIL + rand_io_size="$(_nvme_calc_rand_io_size 4M)" + _run_fio_rand_io --filename="/dev/${nvmedev}n1" --size="${rand_io_size}" _nvme_disconnect_subsys "${subsys_name}" >> "$FULL" 2>&1 @@ -50,7 +52,7 @@ test() { --nr-write-queues 1 \ --nr-poll-queues 1 || echo FAIL - _xfs_run_fio_verify_io /dev/"${nvmedev}n1" "1m" || echo FAIL + _run_fio_rand_io --filename="/dev/${nvmedev}n1" --size="${rand_io_size}" _nvme_disconnect_subsys "${subsys_name}" >> "$FULL" 2>&1 diff --git a/tests/nvme/rc b/tests/nvme/rc index 0b4d5f6570d6..268418e5b3e0 100644 --- a/tests/nvme/rc +++ b/tests/nvme/rc @@ -150,6 +150,16 @@ _test_dev_nvme_nsid() { cat "${TEST_DEV_SYSFS}/nsid" } +_nvme_calc_rand_io_size() { + local img_size_mb + local io_size_kb + + img_size_mb="$(convert_to_mb "$1")" + io_size_kb="$(((img_size_mb * 1024) / $(OMP_THREAD_LIMIT=32 nproc)))" + + echo "${io_size_kb}k" +} + _nvme_fcloop_add_rport() { local local_wwnn="$1" local local_wwpn="$2" From patchwork Wed May 3 08:02:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Wagner X-Patchwork-Id: 89617 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1153780vqo; Wed, 3 May 2023 01:06:57 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7wwbVMXjgPz3A2I/sda3T4w5uApwj2iHwtmFQwwgLfqXdN09h9ALI70B4iwjXfY4SUk8Pj X-Received: by 2002:a17:90a:7083:b0:246:a599:1ccd with SMTP id g3-20020a17090a708300b00246a5991ccdmr20140655pjk.16.1683101217023; Wed, 03 May 2023 01:06:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683101217; cv=none; d=google.com; s=arc-20160816; b=0Q83h7ztfZmH0ILE3boFBTy6z6YZMCe1mywLgL5qTeiD/YrRsEKa07CEaQgf67YCPI N9MI4/q9W9BARkTuwSXznO6SOfk8KazID2MrLq3VuDSHa9YOTkE7VW+F4MfUGmakeM3F l14INovUvq4LLAo+Srf++dO5WheaF3g64ysznbkKFhua3xk7KXnUm8KnLWBqxypSa9kd fYCAn0Qy9uY8h7sOywDWRXpDkdt8hcpQS/zRsNlDu4iOzcRdspg6n08UhvcAp7en7jbc zAfWOLDYvNZlVovNui+Zmd9Ga+g0QYwZ3wuj9NxHSLZNjx51GCnLs8qtnLMxdwBpR9Pk SzPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=GRNyu6eAbq5V1yl42Qi5TiJsCfuD5gKvyUpOfEAD0qM=; b=J9HdV6K6dLG8Z1RBHUkA7tR6uKGPLwh6GI1wlgz18OShF5EAj2X0c7HtHKKbhTPGtL 6oZkflD9dLpsdmcC1iz5V6EmeL/FS5uvdJ4enLAZSc4Vppe0cqS+DckHIqbsSq7tagk2 mcLy6NFZMBTeexqzJZ0+siZBHCq1c2L+UGbnWTJr81DjZG195z23agFJ6yV4YS+49R6x prbjxe9PIfjmADM3kG2H+FQ5l2SaTiBkQUcg9603RloszJBT4vrLzHUErRLaTSmB+wC2 Qm0o3WPA4KxrAn534ZmQmtRYaEIyQFSJYhjAod7Aj7KWNoMR0vsO2IjidZWeIRm+Uv/z x/Mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=FcNXr0QM; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l7-20020a17090a4d4700b0024e067e6bcdsi962534pjh.101.2023.05.03.01.06.44; Wed, 03 May 2023 01:06:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=FcNXr0QM; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229729AbjECIEV (ORCPT + 99 others); Wed, 3 May 2023 04:04:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229837AbjECID0 (ORCPT ); Wed, 3 May 2023 04:03:26 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CD9349EC; Wed, 3 May 2023 01:03:18 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 92A0021D04; Wed, 3 May 2023 08:03:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1683100996; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GRNyu6eAbq5V1yl42Qi5TiJsCfuD5gKvyUpOfEAD0qM=; b=FcNXr0QMCQNHKN1XvLfNrL0eDGUQdOvUxGIHZgEL3NF6g3zEG2MtKtoQDtN5bqBJjVYEUH OFXP1yv37Q3EUJuVXUiF9ZYxfHlUwAO3VVkkiZ6/ETMrNUJroy51lqL5ZfbyT5vMqL5U7E GScGcRpDCW2UgYw+NAgQkcLNAKCqlsA= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1683100996; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GRNyu6eAbq5V1yl42Qi5TiJsCfuD5gKvyUpOfEAD0qM=; b=wQFKhOZS1AcqHMA+tnjNDA2oMhLdp+bYAur9SDhtHqBIxbUWKfdMiLTWkxX6YbuQ4lSorC eIIrGniXIpz9F+BQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 7A05A1331F; Wed, 3 May 2023 08:03:16 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id Ql+gHUQVUmRJYgAAMHmgww (envelope-from ); Wed, 03 May 2023 08:03:16 +0000 From: Daniel Wagner To: linux-nvme@lists.infradead.org Cc: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, Chaitanya Kulkarni , Shin'ichiro Kawasaki , Hannes Reinecke , Daniel Wagner Subject: [PATCH blktests v3 11/12] nvme/rc: Move discovery generation counter code to rc Date: Wed, 3 May 2023 10:02:57 +0200 Message-Id: <20230503080258.14525-12-dwagner@suse.de> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230503080258.14525-1-dwagner@suse.de> References: <20230503080258.14525-1-dwagner@suse.de> MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764859541747622327?= X-GMAIL-MSGID: =?utf-8?q?1764859541747622327?= Move the discovery generation counter code to rc so that we can reuse it in 002. Reviewed-by: Hannes Reinecke Signed-off-by: Daniel Wagner --- tests/nvme/002 | 4 +- tests/nvme/002.out | 3004 -------------------------------------------- tests/nvme/030 | 22 +- tests/nvme/rc | 13 + 4 files changed, 20 insertions(+), 3023 deletions(-) diff --git a/tests/nvme/002 b/tests/nvme/002 index 6c6ae5fea89b..6b8484844b4d 100755 --- a/tests/nvme/002 +++ b/tests/nvme/002 @@ -27,12 +27,14 @@ test() { local loop_dev loop_dev="$(losetup -f)" + local genctr=1 + for ((i = 0; i < iterations; i++)); do _create_nvmet_subsystem "blktests-subsystem-$i" "${loop_dev}" _add_nvmet_subsys_to_port "${port}" "blktests-subsystem-$i" done - _nvme_discover "${nvme_trtype}" | _filter_discovery + genctr=$(_check_genctr "${genctr}" "adding a subsystem to a port") for ((i = iterations - 1; i >= 0; i--)); do _remove_nvmet_subsystem_from_port "${port}" "blktests-subsystem-$i" diff --git a/tests/nvme/002.out b/tests/nvme/002.out index c33d7d306ed2..98554ddb0ca6 100644 --- a/tests/nvme/002.out +++ b/tests/nvme/002.out @@ -1,3006 +1,2 @@ Running nvme/002 -Discovery Log Number of Records 1001, Generation counter X -=====Discovery Log Entry 0====== -trtype: loop -subnqn: nqn.2014-08.org.nvmexpress.discovery -=====Discovery Log Entry 1====== -trtype: loop -subnqn: blktests-subsystem-0 -=====Discovery Log Entry 2====== -trtype: loop -subnqn: blktests-subsystem-1 -=====Discovery Log Entry 3====== -trtype: loop -subnqn: blktests-subsystem-2 -=====Discovery Log Entry 4====== -trtype: loop -subnqn: blktests-subsystem-3 -=====Discovery Log Entry 5====== -trtype: loop -subnqn: blktests-subsystem-4 -=====Discovery Log Entry 6====== -trtype: loop -subnqn: blktests-subsystem-5 -=====Discovery Log Entry 7====== -trtype: loop -subnqn: blktests-subsystem-6 -=====Discovery Log Entry 8====== -trtype: loop -subnqn: blktests-subsystem-7 -=====Discovery Log Entry 9====== -trtype: loop -subnqn: blktests-subsystem-8 -=====Discovery Log Entry 10====== -trtype: loop -subnqn: blktests-subsystem-9 -=====Discovery Log Entry 11====== -trtype: loop -subnqn: blktests-subsystem-10 -=====Discovery Log Entry 12====== -trtype: loop -subnqn: blktests-subsystem-11 -=====Discovery Log Entry 13====== -trtype: loop -subnqn: blktests-subsystem-12 -=====Discovery Log Entry 14====== -trtype: loop -subnqn: blktests-subsystem-13 -=====Discovery Log Entry 15====== -trtype: loop -subnqn: blktests-subsystem-14 -=====Discovery Log Entry 16====== -trtype: loop -subnqn: blktests-subsystem-15 -=====Discovery Log Entry 17====== -trtype: loop -subnqn: blktests-subsystem-16 -=====Discovery Log Entry 18====== -trtype: loop -subnqn: blktests-subsystem-17 -=====Discovery Log Entry 19====== -trtype: loop -subnqn: blktests-subsystem-18 -=====Discovery Log Entry 20====== -trtype: loop -subnqn: blktests-subsystem-19 -=====Discovery Log Entry 21====== -trtype: loop -subnqn: blktests-subsystem-20 -=====Discovery Log Entry 22====== -trtype: loop -subnqn: blktests-subsystem-21 -=====Discovery Log Entry 23====== -trtype: loop -subnqn: blktests-subsystem-22 -=====Discovery Log Entry 24====== -trtype: loop -subnqn: blktests-subsystem-23 -=====Discovery Log Entry 25====== -trtype: loop -subnqn: blktests-subsystem-24 -=====Discovery Log Entry 26====== -trtype: loop -subnqn: blktests-subsystem-25 -=====Discovery Log Entry 27====== -trtype: loop -subnqn: blktests-subsystem-26 -=====Discovery Log Entry 28====== -trtype: loop -subnqn: blktests-subsystem-27 -=====Discovery Log Entry 29====== -trtype: loop -subnqn: blktests-subsystem-28 -=====Discovery Log Entry 30====== -trtype: loop -subnqn: blktests-subsystem-29 -=====Discovery Log Entry 31====== -trtype: loop -subnqn: blktests-subsystem-30 -=====Discovery Log Entry 32====== -trtype: loop -subnqn: blktests-subsystem-31 -=====Discovery Log Entry 33====== -trtype: loop -subnqn: blktests-subsystem-32 -=====Discovery Log Entry 34====== -trtype: loop -subnqn: blktests-subsystem-33 -=====Discovery Log Entry 35====== -trtype: loop -subnqn: blktests-subsystem-34 -=====Discovery Log Entry 36====== -trtype: loop -subnqn: blktests-subsystem-35 -=====Discovery Log Entry 37====== -trtype: loop -subnqn: blktests-subsystem-36 -=====Discovery Log Entry 38====== -trtype: loop -subnqn: blktests-subsystem-37 -=====Discovery Log Entry 39====== -trtype: loop -subnqn: blktests-subsystem-38 -=====Discovery Log Entry 40====== -trtype: loop -subnqn: blktests-subsystem-39 -=====Discovery Log Entry 41====== -trtype: loop -subnqn: blktests-subsystem-40 -=====Discovery Log Entry 42====== -trtype: loop -subnqn: blktests-subsystem-41 -=====Discovery Log Entry 43====== -trtype: loop -subnqn: blktests-subsystem-42 -=====Discovery Log Entry 44====== -trtype: loop -subnqn: blktests-subsystem-43 -=====Discovery Log Entry 45====== -trtype: loop -subnqn: blktests-subsystem-44 -=====Discovery Log Entry 46====== -trtype: loop -subnqn: blktests-subsystem-45 -=====Discovery Log Entry 47====== -trtype: loop -subnqn: blktests-subsystem-46 -=====Discovery Log Entry 48====== -trtype: loop -subnqn: blktests-subsystem-47 -=====Discovery Log Entry 49====== -trtype: loop -subnqn: blktests-subsystem-48 -=====Discovery Log Entry 50====== -trtype: loop -subnqn: blktests-subsystem-49 -=====Discovery Log Entry 51====== -trtype: loop -subnqn: blktests-subsystem-50 -=====Discovery Log Entry 52====== -trtype: loop -subnqn: blktests-subsystem-51 -=====Discovery Log Entry 53====== -trtype: loop -subnqn: blktests-subsystem-52 -=====Discovery Log Entry 54====== -trtype: loop -subnqn: blktests-subsystem-53 -=====Discovery Log Entry 55====== -trtype: loop -subnqn: blktests-subsystem-54 -=====Discovery Log Entry 56====== -trtype: loop -subnqn: blktests-subsystem-55 -=====Discovery Log Entry 57====== -trtype: loop -subnqn: blktests-subsystem-56 -=====Discovery Log Entry 58====== -trtype: loop -subnqn: blktests-subsystem-57 -=====Discovery Log Entry 59====== -trtype: loop -subnqn: blktests-subsystem-58 -=====Discovery Log Entry 60====== -trtype: loop -subnqn: blktests-subsystem-59 -=====Discovery Log Entry 61====== -trtype: loop -subnqn: blktests-subsystem-60 -=====Discovery Log Entry 62====== -trtype: loop -subnqn: blktests-subsystem-61 -=====Discovery Log Entry 63====== -trtype: loop -subnqn: blktests-subsystem-62 -=====Discovery Log Entry 64====== -trtype: loop -subnqn: blktests-subsystem-63 -=====Discovery Log Entry 65====== -trtype: loop -subnqn: blktests-subsystem-64 -=====Discovery Log Entry 66====== -trtype: loop -subnqn: blktests-subsystem-65 -=====Discovery Log Entry 67====== -trtype: loop -subnqn: blktests-subsystem-66 -=====Discovery Log Entry 68====== -trtype: loop -subnqn: blktests-subsystem-67 -=====Discovery Log Entry 69====== -trtype: loop -subnqn: blktests-subsystem-68 -=====Discovery Log Entry 70====== -trtype: loop -subnqn: blktests-subsystem-69 -=====Discovery Log Entry 71====== -trtype: loop -subnqn: blktests-subsystem-70 -=====Discovery Log Entry 72====== -trtype: loop -subnqn: blktests-subsystem-71 -=====Discovery Log Entry 73====== -trtype: loop -subnqn: blktests-subsystem-72 -=====Discovery Log Entry 74====== -trtype: loop -subnqn: blktests-subsystem-73 -=====Discovery Log Entry 75====== -trtype: loop -subnqn: blktests-subsystem-74 -=====Discovery Log Entry 76====== -trtype: loop -subnqn: blktests-subsystem-75 -=====Discovery Log Entry 77====== -trtype: loop -subnqn: blktests-subsystem-76 -=====Discovery Log Entry 78====== -trtype: loop -subnqn: blktests-subsystem-77 -=====Discovery Log Entry 79====== -trtype: loop -subnqn: blktests-subsystem-78 -=====Discovery Log Entry 80====== -trtype: loop -subnqn: blktests-subsystem-79 -=====Discovery Log Entry 81====== -trtype: loop -subnqn: blktests-subsystem-80 -=====Discovery Log Entry 82====== -trtype: loop -subnqn: blktests-subsystem-81 -=====Discovery Log Entry 83====== -trtype: loop -subnqn: blktests-subsystem-82 -=====Discovery Log Entry 84====== -trtype: loop -subnqn: blktests-subsystem-83 -=====Discovery Log Entry 85====== -trtype: loop -subnqn: blktests-subsystem-84 -=====Discovery Log Entry 86====== -trtype: loop -subnqn: blktests-subsystem-85 -=====Discovery Log Entry 87====== -trtype: loop -subnqn: blktests-subsystem-86 -=====Discovery Log Entry 88====== -trtype: loop -subnqn: blktests-subsystem-87 -=====Discovery Log Entry 89====== -trtype: loop -subnqn: blktests-subsystem-88 -=====Discovery Log Entry 90====== -trtype: loop -subnqn: blktests-subsystem-89 -=====Discovery Log Entry 91====== -trtype: loop -subnqn: blktests-subsystem-90 -=====Discovery Log Entry 92====== -trtype: loop -subnqn: blktests-subsystem-91 -=====Discovery Log Entry 93====== -trtype: loop -subnqn: blktests-subsystem-92 -=====Discovery Log Entry 94====== -trtype: loop -subnqn: blktests-subsystem-93 -=====Discovery Log Entry 95====== -trtype: loop -subnqn: blktests-subsystem-94 -=====Discovery Log Entry 96====== -trtype: loop -subnqn: blktests-subsystem-95 -=====Discovery Log Entry 97====== -trtype: loop -subnqn: blktests-subsystem-96 -=====Discovery Log Entry 98====== -trtype: loop -subnqn: blktests-subsystem-97 -=====Discovery Log Entry 99====== -trtype: loop -subnqn: blktests-subsystem-98 -=====Discovery Log Entry 100====== -trtype: loop -subnqn: blktests-subsystem-99 -=====Discovery Log Entry 101====== -trtype: loop -subnqn: blktests-subsystem-100 -=====Discovery Log Entry 102====== -trtype: loop -subnqn: blktests-subsystem-101 -=====Discovery Log Entry 103====== -trtype: loop -subnqn: blktests-subsystem-102 -=====Discovery Log Entry 104====== -trtype: loop -subnqn: blktests-subsystem-103 -=====Discovery Log Entry 105====== -trtype: loop -subnqn: blktests-subsystem-104 -=====Discovery Log Entry 106====== -trtype: loop -subnqn: blktests-subsystem-105 -=====Discovery Log Entry 107====== -trtype: loop -subnqn: blktests-subsystem-106 -=====Discovery Log Entry 108====== -trtype: loop -subnqn: blktests-subsystem-107 -=====Discovery Log Entry 109====== -trtype: loop -subnqn: blktests-subsystem-108 -=====Discovery Log Entry 110====== -trtype: loop -subnqn: blktests-subsystem-109 -=====Discovery Log Entry 111====== -trtype: loop -subnqn: blktests-subsystem-110 -=====Discovery Log Entry 112====== -trtype: loop -subnqn: blktests-subsystem-111 -=====Discovery Log Entry 113====== -trtype: loop -subnqn: blktests-subsystem-112 -=====Discovery Log Entry 114====== -trtype: loop -subnqn: blktests-subsystem-113 -=====Discovery Log Entry 115====== -trtype: loop -subnqn: blktests-subsystem-114 -=====Discovery Log Entry 116====== -trtype: loop -subnqn: blktests-subsystem-115 -=====Discovery Log Entry 117====== -trtype: loop -subnqn: blktests-subsystem-116 -=====Discovery Log Entry 118====== -trtype: loop -subnqn: blktests-subsystem-117 -=====Discovery Log Entry 119====== -trtype: loop -subnqn: blktests-subsystem-118 -=====Discovery Log Entry 120====== -trtype: loop -subnqn: blktests-subsystem-119 -=====Discovery Log Entry 121====== -trtype: loop -subnqn: blktests-subsystem-120 -=====Discovery Log Entry 122====== -trtype: loop -subnqn: blktests-subsystem-121 -=====Discovery Log Entry 123====== -trtype: loop -subnqn: blktests-subsystem-122 -=====Discovery Log Entry 124====== -trtype: loop -subnqn: blktests-subsystem-123 -=====Discovery Log Entry 125====== -trtype: loop -subnqn: blktests-subsystem-124 -=====Discovery Log Entry 126====== -trtype: loop -subnqn: blktests-subsystem-125 -=====Discovery Log Entry 127====== -trtype: loop -subnqn: blktests-subsystem-126 -=====Discovery Log Entry 128====== -trtype: loop -subnqn: blktests-subsystem-127 -=====Discovery Log Entry 129====== -trtype: loop -subnqn: blktests-subsystem-128 -=====Discovery Log Entry 130====== -trtype: loop -subnqn: blktests-subsystem-129 -=====Discovery Log Entry 131====== -trtype: loop -subnqn: blktests-subsystem-130 -=====Discovery Log Entry 132====== -trtype: loop -subnqn: blktests-subsystem-131 -=====Discovery Log Entry 133====== -trtype: loop -subnqn: blktests-subsystem-132 -=====Discovery Log Entry 134====== -trtype: loop -subnqn: blktests-subsystem-133 -=====Discovery Log Entry 135====== -trtype: loop -subnqn: blktests-subsystem-134 -=====Discovery Log Entry 136====== -trtype: loop -subnqn: blktests-subsystem-135 -=====Discovery Log Entry 137====== -trtype: loop -subnqn: blktests-subsystem-136 -=====Discovery Log Entry 138====== -trtype: loop -subnqn: blktests-subsystem-137 -=====Discovery Log Entry 139====== -trtype: loop -subnqn: blktests-subsystem-138 -=====Discovery Log Entry 140====== -trtype: loop -subnqn: blktests-subsystem-139 -=====Discovery Log Entry 141====== -trtype: loop -subnqn: blktests-subsystem-140 -=====Discovery Log Entry 142====== -trtype: loop -subnqn: blktests-subsystem-141 -=====Discovery Log Entry 143====== -trtype: loop -subnqn: blktests-subsystem-142 -=====Discovery Log Entry 144====== -trtype: loop -subnqn: blktests-subsystem-143 -=====Discovery Log Entry 145====== -trtype: loop -subnqn: blktests-subsystem-144 -=====Discovery Log Entry 146====== -trtype: loop -subnqn: blktests-subsystem-145 -=====Discovery Log Entry 147====== -trtype: loop -subnqn: blktests-subsystem-146 -=====Discovery Log Entry 148====== -trtype: loop -subnqn: blktests-subsystem-147 -=====Discovery Log Entry 149====== -trtype: loop -subnqn: blktests-subsystem-148 -=====Discovery Log Entry 150====== -trtype: loop -subnqn: blktests-subsystem-149 -=====Discovery Log Entry 151====== -trtype: loop -subnqn: blktests-subsystem-150 -=====Discovery Log Entry 152====== -trtype: loop -subnqn: blktests-subsystem-151 -=====Discovery Log Entry 153====== -trtype: loop -subnqn: blktests-subsystem-152 -=====Discovery Log Entry 154====== -trtype: loop -subnqn: blktests-subsystem-153 -=====Discovery Log Entry 155====== -trtype: loop -subnqn: blktests-subsystem-154 -=====Discovery Log Entry 156====== -trtype: loop -subnqn: blktests-subsystem-155 -=====Discovery Log Entry 157====== -trtype: loop -subnqn: blktests-subsystem-156 -=====Discovery Log Entry 158====== -trtype: loop -subnqn: blktests-subsystem-157 -=====Discovery Log Entry 159====== -trtype: loop -subnqn: blktests-subsystem-158 -=====Discovery Log Entry 160====== -trtype: loop -subnqn: blktests-subsystem-159 -=====Discovery Log Entry 161====== -trtype: loop -subnqn: blktests-subsystem-160 -=====Discovery Log Entry 162====== -trtype: loop -subnqn: blktests-subsystem-161 -=====Discovery Log Entry 163====== -trtype: loop -subnqn: blktests-subsystem-162 -=====Discovery Log Entry 164====== -trtype: loop -subnqn: blktests-subsystem-163 -=====Discovery Log Entry 165====== -trtype: loop -subnqn: blktests-subsystem-164 -=====Discovery Log Entry 166====== -trtype: loop -subnqn: blktests-subsystem-165 -=====Discovery Log Entry 167====== -trtype: loop -subnqn: blktests-subsystem-166 -=====Discovery Log Entry 168====== -trtype: loop -subnqn: blktests-subsystem-167 -=====Discovery Log Entry 169====== -trtype: loop -subnqn: blktests-subsystem-168 -=====Discovery Log Entry 170====== -trtype: loop -subnqn: blktests-subsystem-169 -=====Discovery Log Entry 171====== -trtype: loop -subnqn: blktests-subsystem-170 -=====Discovery Log Entry 172====== -trtype: loop -subnqn: blktests-subsystem-171 -=====Discovery Log Entry 173====== -trtype: loop -subnqn: blktests-subsystem-172 -=====Discovery Log Entry 174====== -trtype: loop -subnqn: blktests-subsystem-173 -=====Discovery Log Entry 175====== -trtype: loop -subnqn: blktests-subsystem-174 -=====Discovery Log Entry 176====== -trtype: loop -subnqn: blktests-subsystem-175 -=====Discovery Log Entry 177====== -trtype: loop -subnqn: blktests-subsystem-176 -=====Discovery Log Entry 178====== -trtype: loop -subnqn: blktests-subsystem-177 -=====Discovery Log Entry 179====== -trtype: loop -subnqn: blktests-subsystem-178 -=====Discovery Log Entry 180====== -trtype: loop -subnqn: blktests-subsystem-179 -=====Discovery Log Entry 181====== -trtype: loop -subnqn: blktests-subsystem-180 -=====Discovery Log Entry 182====== -trtype: loop -subnqn: blktests-subsystem-181 -=====Discovery Log Entry 183====== -trtype: loop -subnqn: blktests-subsystem-182 -=====Discovery Log Entry 184====== -trtype: loop -subnqn: blktests-subsystem-183 -=====Discovery Log Entry 185====== -trtype: loop -subnqn: blktests-subsystem-184 -=====Discovery Log Entry 186====== -trtype: loop -subnqn: blktests-subsystem-185 -=====Discovery Log Entry 187====== -trtype: loop -subnqn: blktests-subsystem-186 -=====Discovery Log Entry 188====== -trtype: loop -subnqn: blktests-subsystem-187 -=====Discovery Log Entry 189====== -trtype: loop -subnqn: blktests-subsystem-188 -=====Discovery Log Entry 190====== -trtype: loop -subnqn: blktests-subsystem-189 -=====Discovery Log Entry 191====== -trtype: loop -subnqn: blktests-subsystem-190 -=====Discovery Log Entry 192====== -trtype: loop -subnqn: blktests-subsystem-191 -=====Discovery Log Entry 193====== -trtype: loop -subnqn: blktests-subsystem-192 -=====Discovery Log Entry 194====== -trtype: loop -subnqn: blktests-subsystem-193 -=====Discovery Log Entry 195====== -trtype: loop -subnqn: blktests-subsystem-194 -=====Discovery Log Entry 196====== -trtype: loop -subnqn: blktests-subsystem-195 -=====Discovery Log Entry 197====== -trtype: loop -subnqn: blktests-subsystem-196 -=====Discovery Log Entry 198====== -trtype: loop -subnqn: blktests-subsystem-197 -=====Discovery Log Entry 199====== -trtype: loop -subnqn: blktests-subsystem-198 -=====Discovery Log Entry 200====== -trtype: loop -subnqn: blktests-subsystem-199 -=====Discovery Log Entry 201====== -trtype: loop -subnqn: blktests-subsystem-200 -=====Discovery Log Entry 202====== -trtype: loop -subnqn: blktests-subsystem-201 -=====Discovery Log Entry 203====== -trtype: loop -subnqn: blktests-subsystem-202 -=====Discovery Log Entry 204====== -trtype: loop -subnqn: blktests-subsystem-203 -=====Discovery Log Entry 205====== -trtype: loop -subnqn: blktests-subsystem-204 -=====Discovery Log Entry 206====== -trtype: loop -subnqn: blktests-subsystem-205 -=====Discovery Log Entry 207====== -trtype: loop -subnqn: blktests-subsystem-206 -=====Discovery Log Entry 208====== -trtype: loop -subnqn: blktests-subsystem-207 -=====Discovery Log Entry 209====== -trtype: loop -subnqn: blktests-subsystem-208 -=====Discovery Log Entry 210====== -trtype: loop -subnqn: blktests-subsystem-209 -=====Discovery Log Entry 211====== -trtype: loop -subnqn: blktests-subsystem-210 -=====Discovery Log Entry 212====== -trtype: loop -subnqn: blktests-subsystem-211 -=====Discovery Log Entry 213====== -trtype: loop -subnqn: blktests-subsystem-212 -=====Discovery Log Entry 214====== -trtype: loop -subnqn: blktests-subsystem-213 -=====Discovery Log Entry 215====== -trtype: loop -subnqn: blktests-subsystem-214 -=====Discovery Log Entry 216====== -trtype: loop -subnqn: blktests-subsystem-215 -=====Discovery Log Entry 217====== -trtype: loop -subnqn: blktests-subsystem-216 -=====Discovery Log Entry 218====== -trtype: loop -subnqn: blktests-subsystem-217 -=====Discovery Log Entry 219====== -trtype: loop -subnqn: blktests-subsystem-218 -=====Discovery Log Entry 220====== -trtype: loop -subnqn: blktests-subsystem-219 -=====Discovery Log Entry 221====== -trtype: loop -subnqn: blktests-subsystem-220 -=====Discovery Log Entry 222====== -trtype: loop -subnqn: blktests-subsystem-221 -=====Discovery Log Entry 223====== -trtype: loop -subnqn: blktests-subsystem-222 -=====Discovery Log Entry 224====== -trtype: loop -subnqn: blktests-subsystem-223 -=====Discovery Log Entry 225====== -trtype: loop -subnqn: blktests-subsystem-224 -=====Discovery Log Entry 226====== -trtype: loop -subnqn: blktests-subsystem-225 -=====Discovery Log Entry 227====== -trtype: loop -subnqn: blktests-subsystem-226 -=====Discovery Log Entry 228====== -trtype: loop -subnqn: blktests-subsystem-227 -=====Discovery Log Entry 229====== -trtype: loop -subnqn: blktests-subsystem-228 -=====Discovery Log Entry 230====== -trtype: loop -subnqn: blktests-subsystem-229 -=====Discovery Log Entry 231====== -trtype: loop -subnqn: blktests-subsystem-230 -=====Discovery Log Entry 232====== -trtype: loop -subnqn: blktests-subsystem-231 -=====Discovery Log Entry 233====== -trtype: loop -subnqn: blktests-subsystem-232 -=====Discovery Log Entry 234====== -trtype: loop -subnqn: blktests-subsystem-233 -=====Discovery Log Entry 235====== -trtype: loop -subnqn: blktests-subsystem-234 -=====Discovery Log Entry 236====== -trtype: loop -subnqn: blktests-subsystem-235 -=====Discovery Log Entry 237====== -trtype: loop -subnqn: blktests-subsystem-236 -=====Discovery Log Entry 238====== -trtype: loop -subnqn: blktests-subsystem-237 -=====Discovery Log Entry 239====== -trtype: loop -subnqn: blktests-subsystem-238 -=====Discovery Log Entry 240====== -trtype: loop -subnqn: blktests-subsystem-239 -=====Discovery Log Entry 241====== -trtype: loop -subnqn: blktests-subsystem-240 -=====Discovery Log Entry 242====== -trtype: loop -subnqn: blktests-subsystem-241 -=====Discovery Log Entry 243====== -trtype: loop -subnqn: blktests-subsystem-242 -=====Discovery Log Entry 244====== -trtype: loop -subnqn: blktests-subsystem-243 -=====Discovery Log Entry 245====== -trtype: loop -subnqn: blktests-subsystem-244 -=====Discovery Log Entry 246====== -trtype: loop -subnqn: blktests-subsystem-245 -=====Discovery Log Entry 247====== -trtype: loop -subnqn: blktests-subsystem-246 -=====Discovery Log Entry 248====== -trtype: loop -subnqn: blktests-subsystem-247 -=====Discovery Log Entry 249====== -trtype: loop -subnqn: blktests-subsystem-248 -=====Discovery Log Entry 250====== -trtype: loop -subnqn: blktests-subsystem-249 -=====Discovery Log Entry 251====== -trtype: loop -subnqn: blktests-subsystem-250 -=====Discovery Log Entry 252====== -trtype: loop -subnqn: blktests-subsystem-251 -=====Discovery Log Entry 253====== -trtype: loop -subnqn: blktests-subsystem-252 -=====Discovery Log Entry 254====== -trtype: loop -subnqn: blktests-subsystem-253 -=====Discovery Log Entry 255====== -trtype: loop -subnqn: blktests-subsystem-254 -=====Discovery Log Entry 256====== -trtype: loop -subnqn: blktests-subsystem-255 -=====Discovery Log Entry 257====== -trtype: loop -subnqn: blktests-subsystem-256 -=====Discovery Log Entry 258====== -trtype: loop -subnqn: blktests-subsystem-257 -=====Discovery Log Entry 259====== -trtype: loop -subnqn: blktests-subsystem-258 -=====Discovery Log Entry 260====== -trtype: loop -subnqn: blktests-subsystem-259 -=====Discovery Log Entry 261====== -trtype: loop -subnqn: blktests-subsystem-260 -=====Discovery Log Entry 262====== -trtype: loop -subnqn: blktests-subsystem-261 -=====Discovery Log Entry 263====== -trtype: loop -subnqn: blktests-subsystem-262 -=====Discovery Log Entry 264====== -trtype: loop -subnqn: blktests-subsystem-263 -=====Discovery Log Entry 265====== -trtype: loop -subnqn: blktests-subsystem-264 -=====Discovery Log Entry 266====== -trtype: loop -subnqn: blktests-subsystem-265 -=====Discovery Log Entry 267====== -trtype: loop -subnqn: blktests-subsystem-266 -=====Discovery Log Entry 268====== -trtype: loop -subnqn: blktests-subsystem-267 -=====Discovery Log Entry 269====== -trtype: loop -subnqn: blktests-subsystem-268 -=====Discovery Log Entry 270====== -trtype: loop -subnqn: blktests-subsystem-269 -=====Discovery Log Entry 271====== -trtype: loop -subnqn: blktests-subsystem-270 -=====Discovery Log Entry 272====== -trtype: loop -subnqn: blktests-subsystem-271 -=====Discovery Log Entry 273====== -trtype: loop -subnqn: blktests-subsystem-272 -=====Discovery Log Entry 274====== -trtype: loop -subnqn: blktests-subsystem-273 -=====Discovery Log Entry 275====== -trtype: loop -subnqn: blktests-subsystem-274 -=====Discovery Log Entry 276====== -trtype: loop -subnqn: blktests-subsystem-275 -=====Discovery Log Entry 277====== -trtype: loop -subnqn: blktests-subsystem-276 -=====Discovery Log Entry 278====== -trtype: loop -subnqn: blktests-subsystem-277 -=====Discovery Log Entry 279====== -trtype: loop -subnqn: blktests-subsystem-278 -=====Discovery Log Entry 280====== -trtype: loop -subnqn: blktests-subsystem-279 -=====Discovery Log Entry 281====== -trtype: loop -subnqn: blktests-subsystem-280 -=====Discovery Log Entry 282====== -trtype: loop -subnqn: blktests-subsystem-281 -=====Discovery Log Entry 283====== -trtype: loop -subnqn: blktests-subsystem-282 -=====Discovery Log Entry 284====== -trtype: loop -subnqn: blktests-subsystem-283 -=====Discovery Log Entry 285====== -trtype: loop -subnqn: blktests-subsystem-284 -=====Discovery Log Entry 286====== -trtype: loop -subnqn: blktests-subsystem-285 -=====Discovery Log Entry 287====== -trtype: loop -subnqn: blktests-subsystem-286 -=====Discovery Log Entry 288====== -trtype: loop -subnqn: blktests-subsystem-287 -=====Discovery Log Entry 289====== -trtype: loop -subnqn: blktests-subsystem-288 -=====Discovery Log Entry 290====== -trtype: loop -subnqn: blktests-subsystem-289 -=====Discovery Log Entry 291====== -trtype: loop -subnqn: blktests-subsystem-290 -=====Discovery Log Entry 292====== -trtype: loop -subnqn: blktests-subsystem-291 -=====Discovery Log Entry 293====== -trtype: loop -subnqn: blktests-subsystem-292 -=====Discovery Log Entry 294====== -trtype: loop -subnqn: blktests-subsystem-293 -=====Discovery Log Entry 295====== -trtype: loop -subnqn: blktests-subsystem-294 -=====Discovery Log Entry 296====== -trtype: loop -subnqn: blktests-subsystem-295 -=====Discovery Log Entry 297====== -trtype: loop -subnqn: blktests-subsystem-296 -=====Discovery Log Entry 298====== -trtype: loop -subnqn: blktests-subsystem-297 -=====Discovery Log Entry 299====== -trtype: loop -subnqn: blktests-subsystem-298 -=====Discovery Log Entry 300====== -trtype: loop -subnqn: blktests-subsystem-299 -=====Discovery Log Entry 301====== -trtype: loop -subnqn: blktests-subsystem-300 -=====Discovery Log Entry 302====== -trtype: loop -subnqn: blktests-subsystem-301 -=====Discovery Log Entry 303====== -trtype: loop -subnqn: blktests-subsystem-302 -=====Discovery Log Entry 304====== -trtype: loop -subnqn: blktests-subsystem-303 -=====Discovery Log Entry 305====== -trtype: loop -subnqn: blktests-subsystem-304 -=====Discovery Log Entry 306====== -trtype: loop -subnqn: blktests-subsystem-305 -=====Discovery Log Entry 307====== -trtype: loop -subnqn: blktests-subsystem-306 -=====Discovery Log Entry 308====== -trtype: loop -subnqn: blktests-subsystem-307 -=====Discovery Log Entry 309====== -trtype: loop -subnqn: blktests-subsystem-308 -=====Discovery Log Entry 310====== -trtype: loop -subnqn: blktests-subsystem-309 -=====Discovery Log Entry 311====== -trtype: loop -subnqn: blktests-subsystem-310 -=====Discovery Log Entry 312====== -trtype: loop -subnqn: blktests-subsystem-311 -=====Discovery Log Entry 313====== -trtype: loop -subnqn: blktests-subsystem-312 -=====Discovery Log Entry 314====== -trtype: loop -subnqn: blktests-subsystem-313 -=====Discovery Log Entry 315====== -trtype: loop -subnqn: blktests-subsystem-314 -=====Discovery Log Entry 316====== -trtype: loop -subnqn: blktests-subsystem-315 -=====Discovery Log Entry 317====== -trtype: loop -subnqn: blktests-subsystem-316 -=====Discovery Log Entry 318====== -trtype: loop -subnqn: blktests-subsystem-317 -=====Discovery Log Entry 319====== -trtype: loop -subnqn: blktests-subsystem-318 -=====Discovery Log Entry 320====== -trtype: loop -subnqn: blktests-subsystem-319 -=====Discovery Log Entry 321====== -trtype: loop -subnqn: blktests-subsystem-320 -=====Discovery Log Entry 322====== -trtype: loop -subnqn: blktests-subsystem-321 -=====Discovery Log Entry 323====== -trtype: loop -subnqn: blktests-subsystem-322 -=====Discovery Log Entry 324====== -trtype: loop -subnqn: blktests-subsystem-323 -=====Discovery Log Entry 325====== -trtype: loop -subnqn: blktests-subsystem-324 -=====Discovery Log Entry 326====== -trtype: loop -subnqn: blktests-subsystem-325 -=====Discovery Log Entry 327====== -trtype: loop -subnqn: blktests-subsystem-326 -=====Discovery Log Entry 328====== -trtype: loop -subnqn: blktests-subsystem-327 -=====Discovery Log Entry 329====== -trtype: loop -subnqn: blktests-subsystem-328 -=====Discovery Log Entry 330====== -trtype: loop -subnqn: blktests-subsystem-329 -=====Discovery Log Entry 331====== -trtype: loop -subnqn: blktests-subsystem-330 -=====Discovery Log Entry 332====== -trtype: loop -subnqn: blktests-subsystem-331 -=====Discovery Log Entry 333====== -trtype: loop -subnqn: blktests-subsystem-332 -=====Discovery Log Entry 334====== -trtype: loop -subnqn: blktests-subsystem-333 -=====Discovery Log Entry 335====== -trtype: loop -subnqn: blktests-subsystem-334 -=====Discovery Log Entry 336====== -trtype: loop -subnqn: blktests-subsystem-335 -=====Discovery Log Entry 337====== -trtype: loop -subnqn: blktests-subsystem-336 -=====Discovery Log Entry 338====== -trtype: loop -subnqn: blktests-subsystem-337 -=====Discovery Log Entry 339====== -trtype: loop -subnqn: blktests-subsystem-338 -=====Discovery Log Entry 340====== -trtype: loop -subnqn: blktests-subsystem-339 -=====Discovery Log Entry 341====== -trtype: loop -subnqn: blktests-subsystem-340 -=====Discovery Log Entry 342====== -trtype: loop -subnqn: blktests-subsystem-341 -=====Discovery Log Entry 343====== -trtype: loop -subnqn: blktests-subsystem-342 -=====Discovery Log Entry 344====== -trtype: loop -subnqn: blktests-subsystem-343 -=====Discovery Log Entry 345====== -trtype: loop -subnqn: blktests-subsystem-344 -=====Discovery Log Entry 346====== -trtype: loop -subnqn: blktests-subsystem-345 -=====Discovery Log Entry 347====== -trtype: loop -subnqn: blktests-subsystem-346 -=====Discovery Log Entry 348====== -trtype: loop -subnqn: blktests-subsystem-347 -=====Discovery Log Entry 349====== -trtype: loop -subnqn: blktests-subsystem-348 -=====Discovery Log Entry 350====== -trtype: loop -subnqn: blktests-subsystem-349 -=====Discovery Log Entry 351====== -trtype: loop -subnqn: blktests-subsystem-350 -=====Discovery Log Entry 352====== -trtype: loop -subnqn: blktests-subsystem-351 -=====Discovery Log Entry 353====== -trtype: loop -subnqn: blktests-subsystem-352 -=====Discovery Log Entry 354====== -trtype: loop -subnqn: blktests-subsystem-353 -=====Discovery Log Entry 355====== -trtype: loop -subnqn: blktests-subsystem-354 -=====Discovery Log Entry 356====== -trtype: loop -subnqn: blktests-subsystem-355 -=====Discovery Log Entry 357====== -trtype: loop -subnqn: blktests-subsystem-356 -=====Discovery Log Entry 358====== -trtype: loop -subnqn: blktests-subsystem-357 -=====Discovery Log Entry 359====== -trtype: loop -subnqn: blktests-subsystem-358 -=====Discovery Log Entry 360====== -trtype: loop -subnqn: blktests-subsystem-359 -=====Discovery Log Entry 361====== -trtype: loop -subnqn: blktests-subsystem-360 -=====Discovery Log Entry 362====== -trtype: loop -subnqn: blktests-subsystem-361 -=====Discovery Log Entry 363====== -trtype: loop -subnqn: blktests-subsystem-362 -=====Discovery Log Entry 364====== -trtype: loop -subnqn: blktests-subsystem-363 -=====Discovery Log Entry 365====== -trtype: loop -subnqn: blktests-subsystem-364 -=====Discovery Log Entry 366====== -trtype: loop -subnqn: blktests-subsystem-365 -=====Discovery Log Entry 367====== -trtype: loop -subnqn: blktests-subsystem-366 -=====Discovery Log Entry 368====== -trtype: loop -subnqn: blktests-subsystem-367 -=====Discovery Log Entry 369====== -trtype: loop -subnqn: blktests-subsystem-368 -=====Discovery Log Entry 370====== -trtype: loop -subnqn: blktests-subsystem-369 -=====Discovery Log Entry 371====== -trtype: loop -subnqn: blktests-subsystem-370 -=====Discovery Log Entry 372====== -trtype: loop -subnqn: blktests-subsystem-371 -=====Discovery Log Entry 373====== -trtype: loop -subnqn: blktests-subsystem-372 -=====Discovery Log Entry 374====== -trtype: loop -subnqn: blktests-subsystem-373 -=====Discovery Log Entry 375====== -trtype: loop -subnqn: blktests-subsystem-374 -=====Discovery Log Entry 376====== -trtype: loop -subnqn: blktests-subsystem-375 -=====Discovery Log Entry 377====== -trtype: loop -subnqn: blktests-subsystem-376 -=====Discovery Log Entry 378====== -trtype: loop -subnqn: blktests-subsystem-377 -=====Discovery Log Entry 379====== -trtype: loop -subnqn: blktests-subsystem-378 -=====Discovery Log Entry 380====== -trtype: loop -subnqn: blktests-subsystem-379 -=====Discovery Log Entry 381====== -trtype: loop -subnqn: blktests-subsystem-380 -=====Discovery Log Entry 382====== -trtype: loop -subnqn: blktests-subsystem-381 -=====Discovery Log Entry 383====== -trtype: loop -subnqn: blktests-subsystem-382 -=====Discovery Log Entry 384====== -trtype: loop -subnqn: blktests-subsystem-383 -=====Discovery Log Entry 385====== -trtype: loop -subnqn: blktests-subsystem-384 -=====Discovery Log Entry 386====== -trtype: loop -subnqn: blktests-subsystem-385 -=====Discovery Log Entry 387====== -trtype: loop -subnqn: blktests-subsystem-386 -=====Discovery Log Entry 388====== -trtype: loop -subnqn: blktests-subsystem-387 -=====Discovery Log Entry 389====== -trtype: loop -subnqn: blktests-subsystem-388 -=====Discovery Log Entry 390====== -trtype: loop -subnqn: blktests-subsystem-389 -=====Discovery Log Entry 391====== -trtype: loop -subnqn: blktests-subsystem-390 -=====Discovery Log Entry 392====== -trtype: loop -subnqn: blktests-subsystem-391 -=====Discovery Log Entry 393====== -trtype: loop -subnqn: blktests-subsystem-392 -=====Discovery Log Entry 394====== -trtype: loop -subnqn: blktests-subsystem-393 -=====Discovery Log Entry 395====== -trtype: loop -subnqn: blktests-subsystem-394 -=====Discovery Log Entry 396====== -trtype: loop -subnqn: blktests-subsystem-395 -=====Discovery Log Entry 397====== -trtype: loop -subnqn: blktests-subsystem-396 -=====Discovery Log Entry 398====== -trtype: loop -subnqn: blktests-subsystem-397 -=====Discovery Log Entry 399====== -trtype: loop -subnqn: blktests-subsystem-398 -=====Discovery Log Entry 400====== -trtype: loop -subnqn: blktests-subsystem-399 -=====Discovery Log Entry 401====== -trtype: loop -subnqn: blktests-subsystem-400 -=====Discovery Log Entry 402====== -trtype: loop -subnqn: blktests-subsystem-401 -=====Discovery Log Entry 403====== -trtype: loop -subnqn: blktests-subsystem-402 -=====Discovery Log Entry 404====== -trtype: loop -subnqn: blktests-subsystem-403 -=====Discovery Log Entry 405====== -trtype: loop -subnqn: blktests-subsystem-404 -=====Discovery Log Entry 406====== -trtype: loop -subnqn: blktests-subsystem-405 -=====Discovery Log Entry 407====== -trtype: loop -subnqn: blktests-subsystem-406 -=====Discovery Log Entry 408====== -trtype: loop -subnqn: blktests-subsystem-407 -=====Discovery Log Entry 409====== -trtype: loop -subnqn: blktests-subsystem-408 -=====Discovery Log Entry 410====== -trtype: loop -subnqn: blktests-subsystem-409 -=====Discovery Log Entry 411====== -trtype: loop -subnqn: blktests-subsystem-410 -=====Discovery Log Entry 412====== -trtype: loop -subnqn: blktests-subsystem-411 -=====Discovery Log Entry 413====== -trtype: loop -subnqn: blktests-subsystem-412 -=====Discovery Log Entry 414====== -trtype: loop -subnqn: blktests-subsystem-413 -=====Discovery Log Entry 415====== -trtype: loop -subnqn: blktests-subsystem-414 -=====Discovery Log Entry 416====== -trtype: loop -subnqn: blktests-subsystem-415 -=====Discovery Log Entry 417====== -trtype: loop -subnqn: blktests-subsystem-416 -=====Discovery Log Entry 418====== -trtype: loop -subnqn: blktests-subsystem-417 -=====Discovery Log Entry 419====== -trtype: loop -subnqn: blktests-subsystem-418 -=====Discovery Log Entry 420====== -trtype: loop -subnqn: blktests-subsystem-419 -=====Discovery Log Entry 421====== -trtype: loop -subnqn: blktests-subsystem-420 -=====Discovery Log Entry 422====== -trtype: loop -subnqn: blktests-subsystem-421 -=====Discovery Log Entry 423====== -trtype: loop -subnqn: blktests-subsystem-422 -=====Discovery Log Entry 424====== -trtype: loop -subnqn: blktests-subsystem-423 -=====Discovery Log Entry 425====== -trtype: loop -subnqn: blktests-subsystem-424 -=====Discovery Log Entry 426====== -trtype: loop -subnqn: blktests-subsystem-425 -=====Discovery Log Entry 427====== -trtype: loop -subnqn: blktests-subsystem-426 -=====Discovery Log Entry 428====== -trtype: loop -subnqn: blktests-subsystem-427 -=====Discovery Log Entry 429====== -trtype: loop -subnqn: blktests-subsystem-428 -=====Discovery Log Entry 430====== -trtype: loop -subnqn: blktests-subsystem-429 -=====Discovery Log Entry 431====== -trtype: loop -subnqn: blktests-subsystem-430 -=====Discovery Log Entry 432====== -trtype: loop -subnqn: blktests-subsystem-431 -=====Discovery Log Entry 433====== -trtype: loop -subnqn: blktests-subsystem-432 -=====Discovery Log Entry 434====== -trtype: loop -subnqn: blktests-subsystem-433 -=====Discovery Log Entry 435====== -trtype: loop -subnqn: blktests-subsystem-434 -=====Discovery Log Entry 436====== -trtype: loop -subnqn: blktests-subsystem-435 -=====Discovery Log Entry 437====== -trtype: loop -subnqn: blktests-subsystem-436 -=====Discovery Log Entry 438====== -trtype: loop -subnqn: blktests-subsystem-437 -=====Discovery Log Entry 439====== -trtype: loop -subnqn: blktests-subsystem-438 -=====Discovery Log Entry 440====== -trtype: loop -subnqn: blktests-subsystem-439 -=====Discovery Log Entry 441====== -trtype: loop -subnqn: blktests-subsystem-440 -=====Discovery Log Entry 442====== -trtype: loop -subnqn: blktests-subsystem-441 -=====Discovery Log Entry 443====== -trtype: loop -subnqn: blktests-subsystem-442 -=====Discovery Log Entry 444====== -trtype: loop -subnqn: blktests-subsystem-443 -=====Discovery Log Entry 445====== -trtype: loop -subnqn: blktests-subsystem-444 -=====Discovery Log Entry 446====== -trtype: loop -subnqn: blktests-subsystem-445 -=====Discovery Log Entry 447====== -trtype: loop -subnqn: blktests-subsystem-446 -=====Discovery Log Entry 448====== -trtype: loop -subnqn: blktests-subsystem-447 -=====Discovery Log Entry 449====== -trtype: loop -subnqn: blktests-subsystem-448 -=====Discovery Log Entry 450====== -trtype: loop -subnqn: blktests-subsystem-449 -=====Discovery Log Entry 451====== -trtype: loop -subnqn: blktests-subsystem-450 -=====Discovery Log Entry 452====== -trtype: loop -subnqn: blktests-subsystem-451 -=====Discovery Log Entry 453====== -trtype: loop -subnqn: blktests-subsystem-452 -=====Discovery Log Entry 454====== -trtype: loop -subnqn: blktests-subsystem-453 -=====Discovery Log Entry 455====== -trtype: loop -subnqn: blktests-subsystem-454 -=====Discovery Log Entry 456====== -trtype: loop -subnqn: blktests-subsystem-455 -=====Discovery Log Entry 457====== -trtype: loop -subnqn: blktests-subsystem-456 -=====Discovery Log Entry 458====== -trtype: loop -subnqn: blktests-subsystem-457 -=====Discovery Log Entry 459====== -trtype: loop -subnqn: blktests-subsystem-458 -=====Discovery Log Entry 460====== -trtype: loop -subnqn: blktests-subsystem-459 -=====Discovery Log Entry 461====== -trtype: loop -subnqn: blktests-subsystem-460 -=====Discovery Log Entry 462====== -trtype: loop -subnqn: blktests-subsystem-461 -=====Discovery Log Entry 463====== -trtype: loop -subnqn: blktests-subsystem-462 -=====Discovery Log Entry 464====== -trtype: loop -subnqn: blktests-subsystem-463 -=====Discovery Log Entry 465====== -trtype: loop -subnqn: blktests-subsystem-464 -=====Discovery Log Entry 466====== -trtype: loop -subnqn: blktests-subsystem-465 -=====Discovery Log Entry 467====== -trtype: loop -subnqn: blktests-subsystem-466 -=====Discovery Log Entry 468====== -trtype: loop -subnqn: blktests-subsystem-467 -=====Discovery Log Entry 469====== -trtype: loop -subnqn: blktests-subsystem-468 -=====Discovery Log Entry 470====== -trtype: loop -subnqn: blktests-subsystem-469 -=====Discovery Log Entry 471====== -trtype: loop -subnqn: blktests-subsystem-470 -=====Discovery Log Entry 472====== -trtype: loop -subnqn: blktests-subsystem-471 -=====Discovery Log Entry 473====== -trtype: loop -subnqn: blktests-subsystem-472 -=====Discovery Log Entry 474====== -trtype: loop -subnqn: blktests-subsystem-473 -=====Discovery Log Entry 475====== -trtype: loop -subnqn: blktests-subsystem-474 -=====Discovery Log Entry 476====== -trtype: loop -subnqn: blktests-subsystem-475 -=====Discovery Log Entry 477====== -trtype: loop -subnqn: blktests-subsystem-476 -=====Discovery Log Entry 478====== -trtype: loop -subnqn: blktests-subsystem-477 -=====Discovery Log Entry 479====== -trtype: loop -subnqn: blktests-subsystem-478 -=====Discovery Log Entry 480====== -trtype: loop -subnqn: blktests-subsystem-479 -=====Discovery Log Entry 481====== -trtype: loop -subnqn: blktests-subsystem-480 -=====Discovery Log Entry 482====== -trtype: loop -subnqn: blktests-subsystem-481 -=====Discovery Log Entry 483====== -trtype: loop -subnqn: blktests-subsystem-482 -=====Discovery Log Entry 484====== -trtype: loop -subnqn: blktests-subsystem-483 -=====Discovery Log Entry 485====== -trtype: loop -subnqn: blktests-subsystem-484 -=====Discovery Log Entry 486====== -trtype: loop -subnqn: blktests-subsystem-485 -=====Discovery Log Entry 487====== -trtype: loop -subnqn: blktests-subsystem-486 -=====Discovery Log Entry 488====== -trtype: loop -subnqn: blktests-subsystem-487 -=====Discovery Log Entry 489====== -trtype: loop -subnqn: blktests-subsystem-488 -=====Discovery Log Entry 490====== -trtype: loop -subnqn: blktests-subsystem-489 -=====Discovery Log Entry 491====== -trtype: loop -subnqn: blktests-subsystem-490 -=====Discovery Log Entry 492====== -trtype: loop -subnqn: blktests-subsystem-491 -=====Discovery Log Entry 493====== -trtype: loop -subnqn: blktests-subsystem-492 -=====Discovery Log Entry 494====== -trtype: loop -subnqn: blktests-subsystem-493 -=====Discovery Log Entry 495====== -trtype: loop -subnqn: blktests-subsystem-494 -=====Discovery Log Entry 496====== -trtype: loop -subnqn: blktests-subsystem-495 -=====Discovery Log Entry 497====== -trtype: loop -subnqn: blktests-subsystem-496 -=====Discovery Log Entry 498====== -trtype: loop -subnqn: blktests-subsystem-497 -=====Discovery Log Entry 499====== -trtype: loop -subnqn: blktests-subsystem-498 -=====Discovery Log Entry 500====== -trtype: loop -subnqn: blktests-subsystem-499 -=====Discovery Log Entry 501====== -trtype: loop -subnqn: blktests-subsystem-500 -=====Discovery Log Entry 502====== -trtype: loop -subnqn: blktests-subsystem-501 -=====Discovery Log Entry 503====== -trtype: loop -subnqn: blktests-subsystem-502 -=====Discovery Log Entry 504====== -trtype: loop -subnqn: blktests-subsystem-503 -=====Discovery Log Entry 505====== -trtype: loop -subnqn: blktests-subsystem-504 -=====Discovery Log Entry 506====== -trtype: loop -subnqn: blktests-subsystem-505 -=====Discovery Log Entry 507====== -trtype: loop -subnqn: blktests-subsystem-506 -=====Discovery Log Entry 508====== -trtype: loop -subnqn: blktests-subsystem-507 -=====Discovery Log Entry 509====== -trtype: loop -subnqn: blktests-subsystem-508 -=====Discovery Log Entry 510====== -trtype: loop -subnqn: blktests-subsystem-509 -=====Discovery Log Entry 511====== -trtype: loop -subnqn: blktests-subsystem-510 -=====Discovery Log Entry 512====== -trtype: loop -subnqn: blktests-subsystem-511 -=====Discovery Log Entry 513====== -trtype: loop -subnqn: blktests-subsystem-512 -=====Discovery Log Entry 514====== -trtype: loop -subnqn: blktests-subsystem-513 -=====Discovery Log Entry 515====== -trtype: loop -subnqn: blktests-subsystem-514 -=====Discovery Log Entry 516====== -trtype: loop -subnqn: blktests-subsystem-515 -=====Discovery Log Entry 517====== -trtype: loop -subnqn: blktests-subsystem-516 -=====Discovery Log Entry 518====== -trtype: loop -subnqn: blktests-subsystem-517 -=====Discovery Log Entry 519====== -trtype: loop -subnqn: blktests-subsystem-518 -=====Discovery Log Entry 520====== -trtype: loop -subnqn: blktests-subsystem-519 -=====Discovery Log Entry 521====== -trtype: loop -subnqn: blktests-subsystem-520 -=====Discovery Log Entry 522====== -trtype: loop -subnqn: blktests-subsystem-521 -=====Discovery Log Entry 523====== -trtype: loop -subnqn: blktests-subsystem-522 -=====Discovery Log Entry 524====== -trtype: loop -subnqn: blktests-subsystem-523 -=====Discovery Log Entry 525====== -trtype: loop -subnqn: blktests-subsystem-524 -=====Discovery Log Entry 526====== -trtype: loop -subnqn: blktests-subsystem-525 -=====Discovery Log Entry 527====== -trtype: loop -subnqn: blktests-subsystem-526 -=====Discovery Log Entry 528====== -trtype: loop -subnqn: blktests-subsystem-527 -=====Discovery Log Entry 529====== -trtype: loop -subnqn: blktests-subsystem-528 -=====Discovery Log Entry 530====== -trtype: loop -subnqn: blktests-subsystem-529 -=====Discovery Log Entry 531====== -trtype: loop -subnqn: blktests-subsystem-530 -=====Discovery Log Entry 532====== -trtype: loop -subnqn: blktests-subsystem-531 -=====Discovery Log Entry 533====== -trtype: loop -subnqn: blktests-subsystem-532 -=====Discovery Log Entry 534====== -trtype: loop -subnqn: blktests-subsystem-533 -=====Discovery Log Entry 535====== -trtype: loop -subnqn: blktests-subsystem-534 -=====Discovery Log Entry 536====== -trtype: loop -subnqn: blktests-subsystem-535 -=====Discovery Log Entry 537====== -trtype: loop -subnqn: blktests-subsystem-536 -=====Discovery Log Entry 538====== -trtype: loop -subnqn: blktests-subsystem-537 -=====Discovery Log Entry 539====== -trtype: loop -subnqn: blktests-subsystem-538 -=====Discovery Log Entry 540====== -trtype: loop -subnqn: blktests-subsystem-539 -=====Discovery Log Entry 541====== -trtype: loop -subnqn: blktests-subsystem-540 -=====Discovery Log Entry 542====== -trtype: loop -subnqn: blktests-subsystem-541 -=====Discovery Log Entry 543====== -trtype: loop -subnqn: blktests-subsystem-542 -=====Discovery Log Entry 544====== -trtype: loop -subnqn: blktests-subsystem-543 -=====Discovery Log Entry 545====== -trtype: loop -subnqn: blktests-subsystem-544 -=====Discovery Log Entry 546====== -trtype: loop -subnqn: blktests-subsystem-545 -=====Discovery Log Entry 547====== -trtype: loop -subnqn: blktests-subsystem-546 -=====Discovery Log Entry 548====== -trtype: loop -subnqn: blktests-subsystem-547 -=====Discovery Log Entry 549====== -trtype: loop -subnqn: blktests-subsystem-548 -=====Discovery Log Entry 550====== -trtype: loop -subnqn: blktests-subsystem-549 -=====Discovery Log Entry 551====== -trtype: loop -subnqn: blktests-subsystem-550 -=====Discovery Log Entry 552====== -trtype: loop -subnqn: blktests-subsystem-551 -=====Discovery Log Entry 553====== -trtype: loop -subnqn: blktests-subsystem-552 -=====Discovery Log Entry 554====== -trtype: loop -subnqn: blktests-subsystem-553 -=====Discovery Log Entry 555====== -trtype: loop -subnqn: blktests-subsystem-554 -=====Discovery Log Entry 556====== -trtype: loop -subnqn: blktests-subsystem-555 -=====Discovery Log Entry 557====== -trtype: loop -subnqn: blktests-subsystem-556 -=====Discovery Log Entry 558====== -trtype: loop -subnqn: blktests-subsystem-557 -=====Discovery Log Entry 559====== -trtype: loop -subnqn: blktests-subsystem-558 -=====Discovery Log Entry 560====== -trtype: loop -subnqn: blktests-subsystem-559 -=====Discovery Log Entry 561====== -trtype: loop -subnqn: blktests-subsystem-560 -=====Discovery Log Entry 562====== -trtype: loop -subnqn: blktests-subsystem-561 -=====Discovery Log Entry 563====== -trtype: loop -subnqn: blktests-subsystem-562 -=====Discovery Log Entry 564====== -trtype: loop -subnqn: blktests-subsystem-563 -=====Discovery Log Entry 565====== -trtype: loop -subnqn: blktests-subsystem-564 -=====Discovery Log Entry 566====== -trtype: loop -subnqn: blktests-subsystem-565 -=====Discovery Log Entry 567====== -trtype: loop -subnqn: blktests-subsystem-566 -=====Discovery Log Entry 568====== -trtype: loop -subnqn: blktests-subsystem-567 -=====Discovery Log Entry 569====== -trtype: loop -subnqn: blktests-subsystem-568 -=====Discovery Log Entry 570====== -trtype: loop -subnqn: blktests-subsystem-569 -=====Discovery Log Entry 571====== -trtype: loop -subnqn: blktests-subsystem-570 -=====Discovery Log Entry 572====== -trtype: loop -subnqn: blktests-subsystem-571 -=====Discovery Log Entry 573====== -trtype: loop -subnqn: blktests-subsystem-572 -=====Discovery Log Entry 574====== -trtype: loop -subnqn: blktests-subsystem-573 -=====Discovery Log Entry 575====== -trtype: loop -subnqn: blktests-subsystem-574 -=====Discovery Log Entry 576====== -trtype: loop -subnqn: blktests-subsystem-575 -=====Discovery Log Entry 577====== -trtype: loop -subnqn: blktests-subsystem-576 -=====Discovery Log Entry 578====== -trtype: loop -subnqn: blktests-subsystem-577 -=====Discovery Log Entry 579====== -trtype: loop -subnqn: blktests-subsystem-578 -=====Discovery Log Entry 580====== -trtype: loop -subnqn: blktests-subsystem-579 -=====Discovery Log Entry 581====== -trtype: loop -subnqn: blktests-subsystem-580 -=====Discovery Log Entry 582====== -trtype: loop -subnqn: blktests-subsystem-581 -=====Discovery Log Entry 583====== -trtype: loop -subnqn: blktests-subsystem-582 -=====Discovery Log Entry 584====== -trtype: loop -subnqn: blktests-subsystem-583 -=====Discovery Log Entry 585====== -trtype: loop -subnqn: blktests-subsystem-584 -=====Discovery Log Entry 586====== -trtype: loop -subnqn: blktests-subsystem-585 -=====Discovery Log Entry 587====== -trtype: loop -subnqn: blktests-subsystem-586 -=====Discovery Log Entry 588====== -trtype: loop -subnqn: blktests-subsystem-587 -=====Discovery Log Entry 589====== -trtype: loop -subnqn: blktests-subsystem-588 -=====Discovery Log Entry 590====== -trtype: loop -subnqn: blktests-subsystem-589 -=====Discovery Log Entry 591====== -trtype: loop -subnqn: blktests-subsystem-590 -=====Discovery Log Entry 592====== -trtype: loop -subnqn: blktests-subsystem-591 -=====Discovery Log Entry 593====== -trtype: loop -subnqn: blktests-subsystem-592 -=====Discovery Log Entry 594====== -trtype: loop -subnqn: blktests-subsystem-593 -=====Discovery Log Entry 595====== -trtype: loop -subnqn: blktests-subsystem-594 -=====Discovery Log Entry 596====== -trtype: loop -subnqn: blktests-subsystem-595 -=====Discovery Log Entry 597====== -trtype: loop -subnqn: blktests-subsystem-596 -=====Discovery Log Entry 598====== -trtype: loop -subnqn: blktests-subsystem-597 -=====Discovery Log Entry 599====== -trtype: loop -subnqn: blktests-subsystem-598 -=====Discovery Log Entry 600====== -trtype: loop -subnqn: blktests-subsystem-599 -=====Discovery Log Entry 601====== -trtype: loop -subnqn: blktests-subsystem-600 -=====Discovery Log Entry 602====== -trtype: loop -subnqn: blktests-subsystem-601 -=====Discovery Log Entry 603====== -trtype: loop -subnqn: blktests-subsystem-602 -=====Discovery Log Entry 604====== -trtype: loop -subnqn: blktests-subsystem-603 -=====Discovery Log Entry 605====== -trtype: loop -subnqn: blktests-subsystem-604 -=====Discovery Log Entry 606====== -trtype: loop -subnqn: blktests-subsystem-605 -=====Discovery Log Entry 607====== -trtype: loop -subnqn: blktests-subsystem-606 -=====Discovery Log Entry 608====== -trtype: loop -subnqn: blktests-subsystem-607 -=====Discovery Log Entry 609====== -trtype: loop -subnqn: blktests-subsystem-608 -=====Discovery Log Entry 610====== -trtype: loop -subnqn: blktests-subsystem-609 -=====Discovery Log Entry 611====== -trtype: loop -subnqn: blktests-subsystem-610 -=====Discovery Log Entry 612====== -trtype: loop -subnqn: blktests-subsystem-611 -=====Discovery Log Entry 613====== -trtype: loop -subnqn: blktests-subsystem-612 -=====Discovery Log Entry 614====== -trtype: loop -subnqn: blktests-subsystem-613 -=====Discovery Log Entry 615====== -trtype: loop -subnqn: blktests-subsystem-614 -=====Discovery Log Entry 616====== -trtype: loop -subnqn: blktests-subsystem-615 -=====Discovery Log Entry 617====== -trtype: loop -subnqn: blktests-subsystem-616 -=====Discovery Log Entry 618====== -trtype: loop -subnqn: blktests-subsystem-617 -=====Discovery Log Entry 619====== -trtype: loop -subnqn: blktests-subsystem-618 -=====Discovery Log Entry 620====== -trtype: loop -subnqn: blktests-subsystem-619 -=====Discovery Log Entry 621====== -trtype: loop -subnqn: blktests-subsystem-620 -=====Discovery Log Entry 622====== -trtype: loop -subnqn: blktests-subsystem-621 -=====Discovery Log Entry 623====== -trtype: loop -subnqn: blktests-subsystem-622 -=====Discovery Log Entry 624====== -trtype: loop -subnqn: blktests-subsystem-623 -=====Discovery Log Entry 625====== -trtype: loop -subnqn: blktests-subsystem-624 -=====Discovery Log Entry 626====== -trtype: loop -subnqn: blktests-subsystem-625 -=====Discovery Log Entry 627====== -trtype: loop -subnqn: blktests-subsystem-626 -=====Discovery Log Entry 628====== -trtype: loop -subnqn: blktests-subsystem-627 -=====Discovery Log Entry 629====== -trtype: loop -subnqn: blktests-subsystem-628 -=====Discovery Log Entry 630====== -trtype: loop -subnqn: blktests-subsystem-629 -=====Discovery Log Entry 631====== -trtype: loop -subnqn: blktests-subsystem-630 -=====Discovery Log Entry 632====== -trtype: loop -subnqn: blktests-subsystem-631 -=====Discovery Log Entry 633====== -trtype: loop -subnqn: blktests-subsystem-632 -=====Discovery Log Entry 634====== -trtype: loop -subnqn: blktests-subsystem-633 -=====Discovery Log Entry 635====== -trtype: loop -subnqn: blktests-subsystem-634 -=====Discovery Log Entry 636====== -trtype: loop -subnqn: blktests-subsystem-635 -=====Discovery Log Entry 637====== -trtype: loop -subnqn: blktests-subsystem-636 -=====Discovery Log Entry 638====== -trtype: loop -subnqn: blktests-subsystem-637 -=====Discovery Log Entry 639====== -trtype: loop -subnqn: blktests-subsystem-638 -=====Discovery Log Entry 640====== -trtype: loop -subnqn: blktests-subsystem-639 -=====Discovery Log Entry 641====== -trtype: loop -subnqn: blktests-subsystem-640 -=====Discovery Log Entry 642====== -trtype: loop -subnqn: blktests-subsystem-641 -=====Discovery Log Entry 643====== -trtype: loop -subnqn: blktests-subsystem-642 -=====Discovery Log Entry 644====== -trtype: loop -subnqn: blktests-subsystem-643 -=====Discovery Log Entry 645====== -trtype: loop -subnqn: blktests-subsystem-644 -=====Discovery Log Entry 646====== -trtype: loop -subnqn: blktests-subsystem-645 -=====Discovery Log Entry 647====== -trtype: loop -subnqn: blktests-subsystem-646 -=====Discovery Log Entry 648====== -trtype: loop -subnqn: blktests-subsystem-647 -=====Discovery Log Entry 649====== -trtype: loop -subnqn: blktests-subsystem-648 -=====Discovery Log Entry 650====== -trtype: loop -subnqn: blktests-subsystem-649 -=====Discovery Log Entry 651====== -trtype: loop -subnqn: blktests-subsystem-650 -=====Discovery Log Entry 652====== -trtype: loop -subnqn: blktests-subsystem-651 -=====Discovery Log Entry 653====== -trtype: loop -subnqn: blktests-subsystem-652 -=====Discovery Log Entry 654====== -trtype: loop -subnqn: blktests-subsystem-653 -=====Discovery Log Entry 655====== -trtype: loop -subnqn: blktests-subsystem-654 -=====Discovery Log Entry 656====== -trtype: loop -subnqn: blktests-subsystem-655 -=====Discovery Log Entry 657====== -trtype: loop -subnqn: blktests-subsystem-656 -=====Discovery Log Entry 658====== -trtype: loop -subnqn: blktests-subsystem-657 -=====Discovery Log Entry 659====== -trtype: loop -subnqn: blktests-subsystem-658 -=====Discovery Log Entry 660====== -trtype: loop -subnqn: blktests-subsystem-659 -=====Discovery Log Entry 661====== -trtype: loop -subnqn: blktests-subsystem-660 -=====Discovery Log Entry 662====== -trtype: loop -subnqn: blktests-subsystem-661 -=====Discovery Log Entry 663====== -trtype: loop -subnqn: blktests-subsystem-662 -=====Discovery Log Entry 664====== -trtype: loop -subnqn: blktests-subsystem-663 -=====Discovery Log Entry 665====== -trtype: loop -subnqn: blktests-subsystem-664 -=====Discovery Log Entry 666====== -trtype: loop -subnqn: blktests-subsystem-665 -=====Discovery Log Entry 667====== -trtype: loop -subnqn: blktests-subsystem-666 -=====Discovery Log Entry 668====== -trtype: loop -subnqn: blktests-subsystem-667 -=====Discovery Log Entry 669====== -trtype: loop -subnqn: blktests-subsystem-668 -=====Discovery Log Entry 670====== -trtype: loop -subnqn: blktests-subsystem-669 -=====Discovery Log Entry 671====== -trtype: loop -subnqn: blktests-subsystem-670 -=====Discovery Log Entry 672====== -trtype: loop -subnqn: blktests-subsystem-671 -=====Discovery Log Entry 673====== -trtype: loop -subnqn: blktests-subsystem-672 -=====Discovery Log Entry 674====== -trtype: loop -subnqn: blktests-subsystem-673 -=====Discovery Log Entry 675====== -trtype: loop -subnqn: blktests-subsystem-674 -=====Discovery Log Entry 676====== -trtype: loop -subnqn: blktests-subsystem-675 -=====Discovery Log Entry 677====== -trtype: loop -subnqn: blktests-subsystem-676 -=====Discovery Log Entry 678====== -trtype: loop -subnqn: blktests-subsystem-677 -=====Discovery Log Entry 679====== -trtype: loop -subnqn: blktests-subsystem-678 -=====Discovery Log Entry 680====== -trtype: loop -subnqn: blktests-subsystem-679 -=====Discovery Log Entry 681====== -trtype: loop -subnqn: blktests-subsystem-680 -=====Discovery Log Entry 682====== -trtype: loop -subnqn: blktests-subsystem-681 -=====Discovery Log Entry 683====== -trtype: loop -subnqn: blktests-subsystem-682 -=====Discovery Log Entry 684====== -trtype: loop -subnqn: blktests-subsystem-683 -=====Discovery Log Entry 685====== -trtype: loop -subnqn: blktests-subsystem-684 -=====Discovery Log Entry 686====== -trtype: loop -subnqn: blktests-subsystem-685 -=====Discovery Log Entry 687====== -trtype: loop -subnqn: blktests-subsystem-686 -=====Discovery Log Entry 688====== -trtype: loop -subnqn: blktests-subsystem-687 -=====Discovery Log Entry 689====== -trtype: loop -subnqn: blktests-subsystem-688 -=====Discovery Log Entry 690====== -trtype: loop -subnqn: blktests-subsystem-689 -=====Discovery Log Entry 691====== -trtype: loop -subnqn: blktests-subsystem-690 -=====Discovery Log Entry 692====== -trtype: loop -subnqn: blktests-subsystem-691 -=====Discovery Log Entry 693====== -trtype: loop -subnqn: blktests-subsystem-692 -=====Discovery Log Entry 694====== -trtype: loop -subnqn: blktests-subsystem-693 -=====Discovery Log Entry 695====== -trtype: loop -subnqn: blktests-subsystem-694 -=====Discovery Log Entry 696====== -trtype: loop -subnqn: blktests-subsystem-695 -=====Discovery Log Entry 697====== -trtype: loop -subnqn: blktests-subsystem-696 -=====Discovery Log Entry 698====== -trtype: loop -subnqn: blktests-subsystem-697 -=====Discovery Log Entry 699====== -trtype: loop -subnqn: blktests-subsystem-698 -=====Discovery Log Entry 700====== -trtype: loop -subnqn: blktests-subsystem-699 -=====Discovery Log Entry 701====== -trtype: loop -subnqn: blktests-subsystem-700 -=====Discovery Log Entry 702====== -trtype: loop -subnqn: blktests-subsystem-701 -=====Discovery Log Entry 703====== -trtype: loop -subnqn: blktests-subsystem-702 -=====Discovery Log Entry 704====== -trtype: loop -subnqn: blktests-subsystem-703 -=====Discovery Log Entry 705====== -trtype: loop -subnqn: blktests-subsystem-704 -=====Discovery Log Entry 706====== -trtype: loop -subnqn: blktests-subsystem-705 -=====Discovery Log Entry 707====== -trtype: loop -subnqn: blktests-subsystem-706 -=====Discovery Log Entry 708====== -trtype: loop -subnqn: blktests-subsystem-707 -=====Discovery Log Entry 709====== -trtype: loop -subnqn: blktests-subsystem-708 -=====Discovery Log Entry 710====== -trtype: loop -subnqn: blktests-subsystem-709 -=====Discovery Log Entry 711====== -trtype: loop -subnqn: blktests-subsystem-710 -=====Discovery Log Entry 712====== -trtype: loop -subnqn: blktests-subsystem-711 -=====Discovery Log Entry 713====== -trtype: loop -subnqn: blktests-subsystem-712 -=====Discovery Log Entry 714====== -trtype: loop -subnqn: blktests-subsystem-713 -=====Discovery Log Entry 715====== -trtype: loop -subnqn: blktests-subsystem-714 -=====Discovery Log Entry 716====== -trtype: loop -subnqn: blktests-subsystem-715 -=====Discovery Log Entry 717====== -trtype: loop -subnqn: blktests-subsystem-716 -=====Discovery Log Entry 718====== -trtype: loop -subnqn: blktests-subsystem-717 -=====Discovery Log Entry 719====== -trtype: loop -subnqn: blktests-subsystem-718 -=====Discovery Log Entry 720====== -trtype: loop -subnqn: blktests-subsystem-719 -=====Discovery Log Entry 721====== -trtype: loop -subnqn: blktests-subsystem-720 -=====Discovery Log Entry 722====== -trtype: loop -subnqn: blktests-subsystem-721 -=====Discovery Log Entry 723====== -trtype: loop -subnqn: blktests-subsystem-722 -=====Discovery Log Entry 724====== -trtype: loop -subnqn: blktests-subsystem-723 -=====Discovery Log Entry 725====== -trtype: loop -subnqn: blktests-subsystem-724 -=====Discovery Log Entry 726====== -trtype: loop -subnqn: blktests-subsystem-725 -=====Discovery Log Entry 727====== -trtype: loop -subnqn: blktests-subsystem-726 -=====Discovery Log Entry 728====== -trtype: loop -subnqn: blktests-subsystem-727 -=====Discovery Log Entry 729====== -trtype: loop -subnqn: blktests-subsystem-728 -=====Discovery Log Entry 730====== -trtype: loop -subnqn: blktests-subsystem-729 -=====Discovery Log Entry 731====== -trtype: loop -subnqn: blktests-subsystem-730 -=====Discovery Log Entry 732====== -trtype: loop -subnqn: blktests-subsystem-731 -=====Discovery Log Entry 733====== -trtype: loop -subnqn: blktests-subsystem-732 -=====Discovery Log Entry 734====== -trtype: loop -subnqn: blktests-subsystem-733 -=====Discovery Log Entry 735====== -trtype: loop -subnqn: blktests-subsystem-734 -=====Discovery Log Entry 736====== -trtype: loop -subnqn: blktests-subsystem-735 -=====Discovery Log Entry 737====== -trtype: loop -subnqn: blktests-subsystem-736 -=====Discovery Log Entry 738====== -trtype: loop -subnqn: blktests-subsystem-737 -=====Discovery Log Entry 739====== -trtype: loop -subnqn: blktests-subsystem-738 -=====Discovery Log Entry 740====== -trtype: loop -subnqn: blktests-subsystem-739 -=====Discovery Log Entry 741====== -trtype: loop -subnqn: blktests-subsystem-740 -=====Discovery Log Entry 742====== -trtype: loop -subnqn: blktests-subsystem-741 -=====Discovery Log Entry 743====== -trtype: loop -subnqn: blktests-subsystem-742 -=====Discovery Log Entry 744====== -trtype: loop -subnqn: blktests-subsystem-743 -=====Discovery Log Entry 745====== -trtype: loop -subnqn: blktests-subsystem-744 -=====Discovery Log Entry 746====== -trtype: loop -subnqn: blktests-subsystem-745 -=====Discovery Log Entry 747====== -trtype: loop -subnqn: blktests-subsystem-746 -=====Discovery Log Entry 748====== -trtype: loop -subnqn: blktests-subsystem-747 -=====Discovery Log Entry 749====== -trtype: loop -subnqn: blktests-subsystem-748 -=====Discovery Log Entry 750====== -trtype: loop -subnqn: blktests-subsystem-749 -=====Discovery Log Entry 751====== -trtype: loop -subnqn: blktests-subsystem-750 -=====Discovery Log Entry 752====== -trtype: loop -subnqn: blktests-subsystem-751 -=====Discovery Log Entry 753====== -trtype: loop -subnqn: blktests-subsystem-752 -=====Discovery Log Entry 754====== -trtype: loop -subnqn: blktests-subsystem-753 -=====Discovery Log Entry 755====== -trtype: loop -subnqn: blktests-subsystem-754 -=====Discovery Log Entry 756====== -trtype: loop -subnqn: blktests-subsystem-755 -=====Discovery Log Entry 757====== -trtype: loop -subnqn: blktests-subsystem-756 -=====Discovery Log Entry 758====== -trtype: loop -subnqn: blktests-subsystem-757 -=====Discovery Log Entry 759====== -trtype: loop -subnqn: blktests-subsystem-758 -=====Discovery Log Entry 760====== -trtype: loop -subnqn: blktests-subsystem-759 -=====Discovery Log Entry 761====== -trtype: loop -subnqn: blktests-subsystem-760 -=====Discovery Log Entry 762====== -trtype: loop -subnqn: blktests-subsystem-761 -=====Discovery Log Entry 763====== -trtype: loop -subnqn: blktests-subsystem-762 -=====Discovery Log Entry 764====== -trtype: loop -subnqn: blktests-subsystem-763 -=====Discovery Log Entry 765====== -trtype: loop -subnqn: blktests-subsystem-764 -=====Discovery Log Entry 766====== -trtype: loop -subnqn: blktests-subsystem-765 -=====Discovery Log Entry 767====== -trtype: loop -subnqn: blktests-subsystem-766 -=====Discovery Log Entry 768====== -trtype: loop -subnqn: blktests-subsystem-767 -=====Discovery Log Entry 769====== -trtype: loop -subnqn: blktests-subsystem-768 -=====Discovery Log Entry 770====== -trtype: loop -subnqn: blktests-subsystem-769 -=====Discovery Log Entry 771====== -trtype: loop -subnqn: blktests-subsystem-770 -=====Discovery Log Entry 772====== -trtype: loop -subnqn: blktests-subsystem-771 -=====Discovery Log Entry 773====== -trtype: loop -subnqn: blktests-subsystem-772 -=====Discovery Log Entry 774====== -trtype: loop -subnqn: blktests-subsystem-773 -=====Discovery Log Entry 775====== -trtype: loop -subnqn: blktests-subsystem-774 -=====Discovery Log Entry 776====== -trtype: loop -subnqn: blktests-subsystem-775 -=====Discovery Log Entry 777====== -trtype: loop -subnqn: blktests-subsystem-776 -=====Discovery Log Entry 778====== -trtype: loop -subnqn: blktests-subsystem-777 -=====Discovery Log Entry 779====== -trtype: loop -subnqn: blktests-subsystem-778 -=====Discovery Log Entry 780====== -trtype: loop -subnqn: blktests-subsystem-779 -=====Discovery Log Entry 781====== -trtype: loop -subnqn: blktests-subsystem-780 -=====Discovery Log Entry 782====== -trtype: loop -subnqn: blktests-subsystem-781 -=====Discovery Log Entry 783====== -trtype: loop -subnqn: blktests-subsystem-782 -=====Discovery Log Entry 784====== -trtype: loop -subnqn: blktests-subsystem-783 -=====Discovery Log Entry 785====== -trtype: loop -subnqn: blktests-subsystem-784 -=====Discovery Log Entry 786====== -trtype: loop -subnqn: blktests-subsystem-785 -=====Discovery Log Entry 787====== -trtype: loop -subnqn: blktests-subsystem-786 -=====Discovery Log Entry 788====== -trtype: loop -subnqn: blktests-subsystem-787 -=====Discovery Log Entry 789====== -trtype: loop -subnqn: blktests-subsystem-788 -=====Discovery Log Entry 790====== -trtype: loop -subnqn: blktests-subsystem-789 -=====Discovery Log Entry 791====== -trtype: loop -subnqn: blktests-subsystem-790 -=====Discovery Log Entry 792====== -trtype: loop -subnqn: blktests-subsystem-791 -=====Discovery Log Entry 793====== -trtype: loop -subnqn: blktests-subsystem-792 -=====Discovery Log Entry 794====== -trtype: loop -subnqn: blktests-subsystem-793 -=====Discovery Log Entry 795====== -trtype: loop -subnqn: blktests-subsystem-794 -=====Discovery Log Entry 796====== -trtype: loop -subnqn: blktests-subsystem-795 -=====Discovery Log Entry 797====== -trtype: loop -subnqn: blktests-subsystem-796 -=====Discovery Log Entry 798====== -trtype: loop -subnqn: blktests-subsystem-797 -=====Discovery Log Entry 799====== -trtype: loop -subnqn: blktests-subsystem-798 -=====Discovery Log Entry 800====== -trtype: loop -subnqn: blktests-subsystem-799 -=====Discovery Log Entry 801====== -trtype: loop -subnqn: blktests-subsystem-800 -=====Discovery Log Entry 802====== -trtype: loop -subnqn: blktests-subsystem-801 -=====Discovery Log Entry 803====== -trtype: loop -subnqn: blktests-subsystem-802 -=====Discovery Log Entry 804====== -trtype: loop -subnqn: blktests-subsystem-803 -=====Discovery Log Entry 805====== -trtype: loop -subnqn: blktests-subsystem-804 -=====Discovery Log Entry 806====== -trtype: loop -subnqn: blktests-subsystem-805 -=====Discovery Log Entry 807====== -trtype: loop -subnqn: blktests-subsystem-806 -=====Discovery Log Entry 808====== -trtype: loop -subnqn: blktests-subsystem-807 -=====Discovery Log Entry 809====== -trtype: loop -subnqn: blktests-subsystem-808 -=====Discovery Log Entry 810====== -trtype: loop -subnqn: blktests-subsystem-809 -=====Discovery Log Entry 811====== -trtype: loop -subnqn: blktests-subsystem-810 -=====Discovery Log Entry 812====== -trtype: loop -subnqn: blktests-subsystem-811 -=====Discovery Log Entry 813====== -trtype: loop -subnqn: blktests-subsystem-812 -=====Discovery Log Entry 814====== -trtype: loop -subnqn: blktests-subsystem-813 -=====Discovery Log Entry 815====== -trtype: loop -subnqn: blktests-subsystem-814 -=====Discovery Log Entry 816====== -trtype: loop -subnqn: blktests-subsystem-815 -=====Discovery Log Entry 817====== -trtype: loop -subnqn: blktests-subsystem-816 -=====Discovery Log Entry 818====== -trtype: loop -subnqn: blktests-subsystem-817 -=====Discovery Log Entry 819====== -trtype: loop -subnqn: blktests-subsystem-818 -=====Discovery Log Entry 820====== -trtype: loop -subnqn: blktests-subsystem-819 -=====Discovery Log Entry 821====== -trtype: loop -subnqn: blktests-subsystem-820 -=====Discovery Log Entry 822====== -trtype: loop -subnqn: blktests-subsystem-821 -=====Discovery Log Entry 823====== -trtype: loop -subnqn: blktests-subsystem-822 -=====Discovery Log Entry 824====== -trtype: loop -subnqn: blktests-subsystem-823 -=====Discovery Log Entry 825====== -trtype: loop -subnqn: blktests-subsystem-824 -=====Discovery Log Entry 826====== -trtype: loop -subnqn: blktests-subsystem-825 -=====Discovery Log Entry 827====== -trtype: loop -subnqn: blktests-subsystem-826 -=====Discovery Log Entry 828====== -trtype: loop -subnqn: blktests-subsystem-827 -=====Discovery Log Entry 829====== -trtype: loop -subnqn: blktests-subsystem-828 -=====Discovery Log Entry 830====== -trtype: loop -subnqn: blktests-subsystem-829 -=====Discovery Log Entry 831====== -trtype: loop -subnqn: blktests-subsystem-830 -=====Discovery Log Entry 832====== -trtype: loop -subnqn: blktests-subsystem-831 -=====Discovery Log Entry 833====== -trtype: loop -subnqn: blktests-subsystem-832 -=====Discovery Log Entry 834====== -trtype: loop -subnqn: blktests-subsystem-833 -=====Discovery Log Entry 835====== -trtype: loop -subnqn: blktests-subsystem-834 -=====Discovery Log Entry 836====== -trtype: loop -subnqn: blktests-subsystem-835 -=====Discovery Log Entry 837====== -trtype: loop -subnqn: blktests-subsystem-836 -=====Discovery Log Entry 838====== -trtype: loop -subnqn: blktests-subsystem-837 -=====Discovery Log Entry 839====== -trtype: loop -subnqn: blktests-subsystem-838 -=====Discovery Log Entry 840====== -trtype: loop -subnqn: blktests-subsystem-839 -=====Discovery Log Entry 841====== -trtype: loop -subnqn: blktests-subsystem-840 -=====Discovery Log Entry 842====== -trtype: loop -subnqn: blktests-subsystem-841 -=====Discovery Log Entry 843====== -trtype: loop -subnqn: blktests-subsystem-842 -=====Discovery Log Entry 844====== -trtype: loop -subnqn: blktests-subsystem-843 -=====Discovery Log Entry 845====== -trtype: loop -subnqn: blktests-subsystem-844 -=====Discovery Log Entry 846====== -trtype: loop -subnqn: blktests-subsystem-845 -=====Discovery Log Entry 847====== -trtype: loop -subnqn: blktests-subsystem-846 -=====Discovery Log Entry 848====== -trtype: loop -subnqn: blktests-subsystem-847 -=====Discovery Log Entry 849====== -trtype: loop -subnqn: blktests-subsystem-848 -=====Discovery Log Entry 850====== -trtype: loop -subnqn: blktests-subsystem-849 -=====Discovery Log Entry 851====== -trtype: loop -subnqn: blktests-subsystem-850 -=====Discovery Log Entry 852====== -trtype: loop -subnqn: blktests-subsystem-851 -=====Discovery Log Entry 853====== -trtype: loop -subnqn: blktests-subsystem-852 -=====Discovery Log Entry 854====== -trtype: loop -subnqn: blktests-subsystem-853 -=====Discovery Log Entry 855====== -trtype: loop -subnqn: blktests-subsystem-854 -=====Discovery Log Entry 856====== -trtype: loop -subnqn: blktests-subsystem-855 -=====Discovery Log Entry 857====== -trtype: loop -subnqn: blktests-subsystem-856 -=====Discovery Log Entry 858====== -trtype: loop -subnqn: blktests-subsystem-857 -=====Discovery Log Entry 859====== -trtype: loop -subnqn: blktests-subsystem-858 -=====Discovery Log Entry 860====== -trtype: loop -subnqn: blktests-subsystem-859 -=====Discovery Log Entry 861====== -trtype: loop -subnqn: blktests-subsystem-860 -=====Discovery Log Entry 862====== -trtype: loop -subnqn: blktests-subsystem-861 -=====Discovery Log Entry 863====== -trtype: loop -subnqn: blktests-subsystem-862 -=====Discovery Log Entry 864====== -trtype: loop -subnqn: blktests-subsystem-863 -=====Discovery Log Entry 865====== -trtype: loop -subnqn: blktests-subsystem-864 -=====Discovery Log Entry 866====== -trtype: loop -subnqn: blktests-subsystem-865 -=====Discovery Log Entry 867====== -trtype: loop -subnqn: blktests-subsystem-866 -=====Discovery Log Entry 868====== -trtype: loop -subnqn: blktests-subsystem-867 -=====Discovery Log Entry 869====== -trtype: loop -subnqn: blktests-subsystem-868 -=====Discovery Log Entry 870====== -trtype: loop -subnqn: blktests-subsystem-869 -=====Discovery Log Entry 871====== -trtype: loop -subnqn: blktests-subsystem-870 -=====Discovery Log Entry 872====== -trtype: loop -subnqn: blktests-subsystem-871 -=====Discovery Log Entry 873====== -trtype: loop -subnqn: blktests-subsystem-872 -=====Discovery Log Entry 874====== -trtype: loop -subnqn: blktests-subsystem-873 -=====Discovery Log Entry 875====== -trtype: loop -subnqn: blktests-subsystem-874 -=====Discovery Log Entry 876====== -trtype: loop -subnqn: blktests-subsystem-875 -=====Discovery Log Entry 877====== -trtype: loop -subnqn: blktests-subsystem-876 -=====Discovery Log Entry 878====== -trtype: loop -subnqn: blktests-subsystem-877 -=====Discovery Log Entry 879====== -trtype: loop -subnqn: blktests-subsystem-878 -=====Discovery Log Entry 880====== -trtype: loop -subnqn: blktests-subsystem-879 -=====Discovery Log Entry 881====== -trtype: loop -subnqn: blktests-subsystem-880 -=====Discovery Log Entry 882====== -trtype: loop -subnqn: blktests-subsystem-881 -=====Discovery Log Entry 883====== -trtype: loop -subnqn: blktests-subsystem-882 -=====Discovery Log Entry 884====== -trtype: loop -subnqn: blktests-subsystem-883 -=====Discovery Log Entry 885====== -trtype: loop -subnqn: blktests-subsystem-884 -=====Discovery Log Entry 886====== -trtype: loop -subnqn: blktests-subsystem-885 -=====Discovery Log Entry 887====== -trtype: loop -subnqn: blktests-subsystem-886 -=====Discovery Log Entry 888====== -trtype: loop -subnqn: blktests-subsystem-887 -=====Discovery Log Entry 889====== -trtype: loop -subnqn: blktests-subsystem-888 -=====Discovery Log Entry 890====== -trtype: loop -subnqn: blktests-subsystem-889 -=====Discovery Log Entry 891====== -trtype: loop -subnqn: blktests-subsystem-890 -=====Discovery Log Entry 892====== -trtype: loop -subnqn: blktests-subsystem-891 -=====Discovery Log Entry 893====== -trtype: loop -subnqn: blktests-subsystem-892 -=====Discovery Log Entry 894====== -trtype: loop -subnqn: blktests-subsystem-893 -=====Discovery Log Entry 895====== -trtype: loop -subnqn: blktests-subsystem-894 -=====Discovery Log Entry 896====== -trtype: loop -subnqn: blktests-subsystem-895 -=====Discovery Log Entry 897====== -trtype: loop -subnqn: blktests-subsystem-896 -=====Discovery Log Entry 898====== -trtype: loop -subnqn: blktests-subsystem-897 -=====Discovery Log Entry 899====== -trtype: loop -subnqn: blktests-subsystem-898 -=====Discovery Log Entry 900====== -trtype: loop -subnqn: blktests-subsystem-899 -=====Discovery Log Entry 901====== -trtype: loop -subnqn: blktests-subsystem-900 -=====Discovery Log Entry 902====== -trtype: loop -subnqn: blktests-subsystem-901 -=====Discovery Log Entry 903====== -trtype: loop -subnqn: blktests-subsystem-902 -=====Discovery Log Entry 904====== -trtype: loop -subnqn: blktests-subsystem-903 -=====Discovery Log Entry 905====== -trtype: loop -subnqn: blktests-subsystem-904 -=====Discovery Log Entry 906====== -trtype: loop -subnqn: blktests-subsystem-905 -=====Discovery Log Entry 907====== -trtype: loop -subnqn: blktests-subsystem-906 -=====Discovery Log Entry 908====== -trtype: loop -subnqn: blktests-subsystem-907 -=====Discovery Log Entry 909====== -trtype: loop -subnqn: blktests-subsystem-908 -=====Discovery Log Entry 910====== -trtype: loop -subnqn: blktests-subsystem-909 -=====Discovery Log Entry 911====== -trtype: loop -subnqn: blktests-subsystem-910 -=====Discovery Log Entry 912====== -trtype: loop -subnqn: blktests-subsystem-911 -=====Discovery Log Entry 913====== -trtype: loop -subnqn: blktests-subsystem-912 -=====Discovery Log Entry 914====== -trtype: loop -subnqn: blktests-subsystem-913 -=====Discovery Log Entry 915====== -trtype: loop -subnqn: blktests-subsystem-914 -=====Discovery Log Entry 916====== -trtype: loop -subnqn: blktests-subsystem-915 -=====Discovery Log Entry 917====== -trtype: loop -subnqn: blktests-subsystem-916 -=====Discovery Log Entry 918====== -trtype: loop -subnqn: blktests-subsystem-917 -=====Discovery Log Entry 919====== -trtype: loop -subnqn: blktests-subsystem-918 -=====Discovery Log Entry 920====== -trtype: loop -subnqn: blktests-subsystem-919 -=====Discovery Log Entry 921====== -trtype: loop -subnqn: blktests-subsystem-920 -=====Discovery Log Entry 922====== -trtype: loop -subnqn: blktests-subsystem-921 -=====Discovery Log Entry 923====== -trtype: loop -subnqn: blktests-subsystem-922 -=====Discovery Log Entry 924====== -trtype: loop -subnqn: blktests-subsystem-923 -=====Discovery Log Entry 925====== -trtype: loop -subnqn: blktests-subsystem-924 -=====Discovery Log Entry 926====== -trtype: loop -subnqn: blktests-subsystem-925 -=====Discovery Log Entry 927====== -trtype: loop -subnqn: blktests-subsystem-926 -=====Discovery Log Entry 928====== -trtype: loop -subnqn: blktests-subsystem-927 -=====Discovery Log Entry 929====== -trtype: loop -subnqn: blktests-subsystem-928 -=====Discovery Log Entry 930====== -trtype: loop -subnqn: blktests-subsystem-929 -=====Discovery Log Entry 931====== -trtype: loop -subnqn: blktests-subsystem-930 -=====Discovery Log Entry 932====== -trtype: loop -subnqn: blktests-subsystem-931 -=====Discovery Log Entry 933====== -trtype: loop -subnqn: blktests-subsystem-932 -=====Discovery Log Entry 934====== -trtype: loop -subnqn: blktests-subsystem-933 -=====Discovery Log Entry 935====== -trtype: loop -subnqn: blktests-subsystem-934 -=====Discovery Log Entry 936====== -trtype: loop -subnqn: blktests-subsystem-935 -=====Discovery Log Entry 937====== -trtype: loop -subnqn: blktests-subsystem-936 -=====Discovery Log Entry 938====== -trtype: loop -subnqn: blktests-subsystem-937 -=====Discovery Log Entry 939====== -trtype: loop -subnqn: blktests-subsystem-938 -=====Discovery Log Entry 940====== -trtype: loop -subnqn: blktests-subsystem-939 -=====Discovery Log Entry 941====== -trtype: loop -subnqn: blktests-subsystem-940 -=====Discovery Log Entry 942====== -trtype: loop -subnqn: blktests-subsystem-941 -=====Discovery Log Entry 943====== -trtype: loop -subnqn: blktests-subsystem-942 -=====Discovery Log Entry 944====== -trtype: loop -subnqn: blktests-subsystem-943 -=====Discovery Log Entry 945====== -trtype: loop -subnqn: blktests-subsystem-944 -=====Discovery Log Entry 946====== -trtype: loop -subnqn: blktests-subsystem-945 -=====Discovery Log Entry 947====== -trtype: loop -subnqn: blktests-subsystem-946 -=====Discovery Log Entry 948====== -trtype: loop -subnqn: blktests-subsystem-947 -=====Discovery Log Entry 949====== -trtype: loop -subnqn: blktests-subsystem-948 -=====Discovery Log Entry 950====== -trtype: loop -subnqn: blktests-subsystem-949 -=====Discovery Log Entry 951====== -trtype: loop -subnqn: blktests-subsystem-950 -=====Discovery Log Entry 952====== -trtype: loop -subnqn: blktests-subsystem-951 -=====Discovery Log Entry 953====== -trtype: loop -subnqn: blktests-subsystem-952 -=====Discovery Log Entry 954====== -trtype: loop -subnqn: blktests-subsystem-953 -=====Discovery Log Entry 955====== -trtype: loop -subnqn: blktests-subsystem-954 -=====Discovery Log Entry 956====== -trtype: loop -subnqn: blktests-subsystem-955 -=====Discovery Log Entry 957====== -trtype: loop -subnqn: blktests-subsystem-956 -=====Discovery Log Entry 958====== -trtype: loop -subnqn: blktests-subsystem-957 -=====Discovery Log Entry 959====== -trtype: loop -subnqn: blktests-subsystem-958 -=====Discovery Log Entry 960====== -trtype: loop -subnqn: blktests-subsystem-959 -=====Discovery Log Entry 961====== -trtype: loop -subnqn: blktests-subsystem-960 -=====Discovery Log Entry 962====== -trtype: loop -subnqn: blktests-subsystem-961 -=====Discovery Log Entry 963====== -trtype: loop -subnqn: blktests-subsystem-962 -=====Discovery Log Entry 964====== -trtype: loop -subnqn: blktests-subsystem-963 -=====Discovery Log Entry 965====== -trtype: loop -subnqn: blktests-subsystem-964 -=====Discovery Log Entry 966====== -trtype: loop -subnqn: blktests-subsystem-965 -=====Discovery Log Entry 967====== -trtype: loop -subnqn: blktests-subsystem-966 -=====Discovery Log Entry 968====== -trtype: loop -subnqn: blktests-subsystem-967 -=====Discovery Log Entry 969====== -trtype: loop -subnqn: blktests-subsystem-968 -=====Discovery Log Entry 970====== -trtype: loop -subnqn: blktests-subsystem-969 -=====Discovery Log Entry 971====== -trtype: loop -subnqn: blktests-subsystem-970 -=====Discovery Log Entry 972====== -trtype: loop -subnqn: blktests-subsystem-971 -=====Discovery Log Entry 973====== -trtype: loop -subnqn: blktests-subsystem-972 -=====Discovery Log Entry 974====== -trtype: loop -subnqn: blktests-subsystem-973 -=====Discovery Log Entry 975====== -trtype: loop -subnqn: blktests-subsystem-974 -=====Discovery Log Entry 976====== -trtype: loop -subnqn: blktests-subsystem-975 -=====Discovery Log Entry 977====== -trtype: loop -subnqn: blktests-subsystem-976 -=====Discovery Log Entry 978====== -trtype: loop -subnqn: blktests-subsystem-977 -=====Discovery Log Entry 979====== -trtype: loop -subnqn: blktests-subsystem-978 -=====Discovery Log Entry 980====== -trtype: loop -subnqn: blktests-subsystem-979 -=====Discovery Log Entry 981====== -trtype: loop -subnqn: blktests-subsystem-980 -=====Discovery Log Entry 982====== -trtype: loop -subnqn: blktests-subsystem-981 -=====Discovery Log Entry 983====== -trtype: loop -subnqn: blktests-subsystem-982 -=====Discovery Log Entry 984====== -trtype: loop -subnqn: blktests-subsystem-983 -=====Discovery Log Entry 985====== -trtype: loop -subnqn: blktests-subsystem-984 -=====Discovery Log Entry 986====== -trtype: loop -subnqn: blktests-subsystem-985 -=====Discovery Log Entry 987====== -trtype: loop -subnqn: blktests-subsystem-986 -=====Discovery Log Entry 988====== -trtype: loop -subnqn: blktests-subsystem-987 -=====Discovery Log Entry 989====== -trtype: loop -subnqn: blktests-subsystem-988 -=====Discovery Log Entry 990====== -trtype: loop -subnqn: blktests-subsystem-989 -=====Discovery Log Entry 991====== -trtype: loop -subnqn: blktests-subsystem-990 -=====Discovery Log Entry 992====== -trtype: loop -subnqn: blktests-subsystem-991 -=====Discovery Log Entry 993====== -trtype: loop -subnqn: blktests-subsystem-992 -=====Discovery Log Entry 994====== -trtype: loop -subnqn: blktests-subsystem-993 -=====Discovery Log Entry 995====== -trtype: loop -subnqn: blktests-subsystem-994 -=====Discovery Log Entry 996====== -trtype: loop -subnqn: blktests-subsystem-995 -=====Discovery Log Entry 997====== -trtype: loop -subnqn: blktests-subsystem-996 -=====Discovery Log Entry 998====== -trtype: loop -subnqn: blktests-subsystem-997 -=====Discovery Log Entry 999====== -trtype: loop -subnqn: blktests-subsystem-998 -=====Discovery Log Entry 1000====== -trtype: loop -subnqn: blktests-subsystem-999 Test complete diff --git a/tests/nvme/030 b/tests/nvme/030 index 20fef696e565..cfcdcbe6be23 100755 --- a/tests/nvme/030 +++ b/tests/nvme/030 @@ -15,20 +15,6 @@ requires() { _require_nvme_trtype_is_fabrics } - -checkgenctr() { - local last=$1 - local msg=$2 - local genctr - - genctr=$(_discovery_genctr) - if (( "${genctr}" <= "${last}" )); then - echo "Generation counter not incremented when ${msg} (${genctr} <= ${last})" - fi - - echo "${genctr}" -} - test() { local port local genctr @@ -48,20 +34,20 @@ test() { _create_nvmet_subsystem "${subsys}2" "$(losetup -f)" _add_nvmet_subsys_to_port "${port}" "${subsys}2" - genctr=$(checkgenctr "${genctr}" "adding a subsystem to a port") + genctr=$(_check_genctr "${genctr}" "adding a subsystem to a port") echo 0 > "${NVMET_CFS}/subsystems/${subsys}2/attr_allow_any_host" - genctr=$(checkgenctr "${genctr}" "clearing attr_allow_any_host") + genctr=$(_check_genctr "${genctr}" "clearing attr_allow_any_host") echo 1 > "${NVMET_CFS}/subsystems/${subsys}2/attr_allow_any_host" - genctr=$(checkgenctr "${genctr}" "setting attr_allow_any_host") + genctr=$(_check_genctr "${genctr}" "setting attr_allow_any_host") _remove_nvmet_subsystem_from_port "${port}" "${subsys}2" _remove_nvmet_subsystem "${subsys}2" - genctr=$(checkgenctr "${genctr}" "removing a subsystem from a port") + genctr=$(_check_genctr "${genctr}" "removing a subsystem from a port") _remove_nvmet_subsystem_from_port "${port}" "${subsys}1" _remove_nvmet_subsystem "${subsys}1" diff --git a/tests/nvme/rc b/tests/nvme/rc index 268418e5b3e0..a14458d5b80f 100644 --- a/tests/nvme/rc +++ b/tests/nvme/rc @@ -745,6 +745,19 @@ _discovery_genctr() { sed -n -e 's/^.*Generation counter \([0-9]\+\).*$/\1/p' } +_check_genctr() { + local last=$1 + local msg=$2 + local genctr + + genctr=$(_discovery_genctr) + if (( "${genctr}" <= "${last}" )); then + echo "Generation counter not incremented when ${msg} (${genctr} <= ${last})" + fi + + echo "${genctr}" +} + declare -A NS_DEV_FAULT_INJECT_SAVE declare -A CTRL_DEV_FAULT_INJECT_SAVE From patchwork Wed May 3 08:02:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Wagner X-Patchwork-Id: 89615 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1153583vqo; Wed, 3 May 2023 01:06:29 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5nB6M0WppgmaUjA3XHiK9jlw4WWkWAar49FFBX6dPvATVHmoFFf1We9sd6v4iusHLziHsg X-Received: by 2002:a17:90a:f0cc:b0:246:fff1:5007 with SMTP id fa12-20020a17090af0cc00b00246fff15007mr21150829pjb.10.1683101189438; Wed, 03 May 2023 01:06:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683101189; cv=none; d=google.com; s=arc-20160816; b=W3KYb/g9hvp2+zWIP6YVIfRLNMjx0zsa4lYPqYhj2PlwJY3sp4m/vIbovfg99/Xo3E KxQRDWQI80rm1sX99PFJsHPRGYcvS+omShYvXfa+FKyQ0jvRzd+qEwz6gSXsj05HTdBL otUUs/TcXBk4lXotIJlTE5Pxpexk3Y2Vx+sq/pt+K0GUG0KjjoqmnjarTq56T1grqLkH vViob76BX9IjvwCGXCggfNWOEIkT8faKtX5e0i5GTwdCp2qVfQF9lCvuqln5RYNjsYhq oLjnWlE26sFs1zMNAye4OZwgCgzLwyN0FdG9w/qOyOwrFz5E6z5dgRLlQEs59C6jaaM/ 2ssA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=UkWJx05E9MLusXpaMoAUDzDV3FpDulw27zMIYbaE6Bk=; b=y25TRgxjTxs6tTI6Ez8sX9QkHEJn8F1Plej09eYDZtH7QSbGxA/7oHbMdaur/K6zV9 vi8SVo+YYaL9Le8mNvDAEfSuWfG8tlDT3oOHB7DKfKjSATjbkxq8aNyP+L2OXQk2tnei Wo0F6+D/obGun4gc+SNc24KQI2W+PDu18KNJIiZKjGuLqwGrMKFAW25yjpo2TrGUHOC6 1ROxl2uY30DxlkY/K76pf/L36+tjxZUDHGf5AcKxQR1c5fPl7Oxxsbjeslv25AjSS086 et46qXXx3wrDKWfe0jsP7ik7G7+ecFSGiz4NmRhCAUIBZv2/b/KaCPkmophWMHN16Q2s 7ANA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=KU2DPa6T; dkim=neutral (no key) header.i=@suse.de header.b=WkFTJhIj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l185-20020a633ec2000000b0051f0d0d6343si251692pga.688.2023.05.03.01.06.16; Wed, 03 May 2023 01:06:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=KU2DPa6T; dkim=neutral (no key) header.i=@suse.de header.b=WkFTJhIj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229938AbjECIEQ (ORCPT + 99 others); Wed, 3 May 2023 04:04:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229767AbjECIDV (ORCPT ); Wed, 3 May 2023 04:03:21 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05DB34237; Wed, 3 May 2023 01:03:18 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 556AA200AD; Wed, 3 May 2023 08:03:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1683100997; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UkWJx05E9MLusXpaMoAUDzDV3FpDulw27zMIYbaE6Bk=; b=KU2DPa6TI7pReNFUqNP0wRVepwFCjfFKul70wQS1VRH+6q/hewinLQlxjr2PsZC2u3QjPO PEGqhR4hMzzbp0mSwv37J7RZ+2TmhTHTE+FSBSF2qLSlCJqww/k9dS9aClssmmyO+qQ7yp OQyE4W/dKCspm6r2e3QKn6vf1nuLBjg= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1683100997; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UkWJx05E9MLusXpaMoAUDzDV3FpDulw27zMIYbaE6Bk=; b=WkFTJhIjxJcjgTR697sFSUMl2oF6CroR72eIue0A1r96lDhzJ/YT0pswtHorapXyoWaFPV 58dLGyC09jtK+qBg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 3C4E81331F; Wed, 3 May 2023 08:03:17 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id xt1dDkUVUmRLYgAAMHmgww (envelope-from ); Wed, 03 May 2023 08:03:17 +0000 From: Daniel Wagner To: linux-nvme@lists.infradead.org Cc: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, Chaitanya Kulkarni , Shin'ichiro Kawasaki , Hannes Reinecke , Daniel Wagner Subject: [PATCH blktests v3 12/12] nvme: Make the number iterations configurable Date: Wed, 3 May 2023 10:02:58 +0200 Message-Id: <20230503080258.14525-13-dwagner@suse.de> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230503080258.14525-1-dwagner@suse.de> References: <20230503080258.14525-1-dwagner@suse.de> MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764859512598476266?= X-GMAIL-MSGID: =?utf-8?q?1764859512598476266?= Some tests hard code high values of iterations. This makes them run relatively long compared to the other tests. Introduce a new environment variable nvme_num_iter to allow tune the runtime. Reviewed-by: Hannes Reinecke Signed-off-by: Daniel Wagner Reviewed-by: Chaitanya Kulkarni --- Documentation/running-tests.md | 2 ++ tests/nvme/016 | 2 +- tests/nvme/017 | 2 +- tests/nvme/rc | 1 + 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Documentation/running-tests.md b/Documentation/running-tests.md index 6b34a253fd97..243975e43583 100644 --- a/Documentation/running-tests.md +++ b/Documentation/running-tests.md @@ -107,6 +107,8 @@ The NVMe tests can be additionally parameterized via environment variables. - nvme_img_size: '1G' (default) Run the tests with given image size in bytes. 'm' and 'g' postfix are supported. +- nvme_num_iter: 1000 (default) + The number of iterations a test should do. ### Running nvme-rdma nvmeof-mp srp tests diff --git a/tests/nvme/016 b/tests/nvme/016 index 4eba30223a08..c0c31a55b190 100755 --- a/tests/nvme/016 +++ b/tests/nvme/016 @@ -17,7 +17,7 @@ test() { echo "Running ${TEST_NAME}" local port - local iterations=1000 + local iterations="${nvme_num_iter}" local loop_dev local subsys_nqn="blktests-subsystem-1" diff --git a/tests/nvme/017 b/tests/nvme/017 index 0248aee9bc41..e1674508f654 100755 --- a/tests/nvme/017 +++ b/tests/nvme/017 @@ -18,7 +18,7 @@ test() { local port local file_path - local iterations=1000 + local iterations="${nvme_num_iter}" local subsys_name="blktests-subsystem-1" _setup_nvmet diff --git a/tests/nvme/rc b/tests/nvme/rc index a14458d5b80f..76ca683a40b4 100644 --- a/tests/nvme/rc +++ b/tests/nvme/rc @@ -18,6 +18,7 @@ def_hostnqn="$(cat /etc/nvme/hostnqn 2> /dev/null)" def_hostid="$(cat /etc/nvme/hostid 2> /dev/null)" nvme_trtype=${nvme_trtype:-"loop"} nvme_img_size=${nvme_img_size:-"1G"} +nvme_num_iter=${nvme_num_iter:-"1000"} _nvme_requires() { _have_program nvme