Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1216970rwr; Thu, 20 Apr 2023 11:33:13 -0700 (PDT) X-Google-Smtp-Source: AKy350boRz2f9Ct7970KQ/0TGiPvcfCba/EAFf2YAh0jaNldwYObi78plS5zq1SDvd9nxJV332AS X-Received: by 2002:a17:902:fa46:b0:1a1:bff4:49e9 with SMTP id lb6-20020a170902fa4600b001a1bff449e9mr2269446plb.23.1682015593163; Thu, 20 Apr 2023 11:33:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682015593; cv=none; d=google.com; s=arc-20160816; b=wlinVAA3s2fakpZHU98IusZg1NtUlsgJzXmltfNXlxvxF4f8a+xnGTpHXVdoLCr0Bc 2GOcsYmivrHX9TCpM2wVamhzAhGq3LB7Cs0L8uBey6m2DnWDVr7p8wbJudDbpU98EJUX 3uBao6bXq+YbsxEl8Zu7vnfNd9vt7N+BL7vyyJ1JesrgxnvtFMLTuC1/OvzehdcXzXDs 9DXMLvOKd5n14NivcAe1eLx4s5WXjsTDVHrzmlZM/JplecxCJqdY7KHpQoECGWOMlzaR V7+3S03BBeLAYgMRYYNZ2y7kLNtXADULbOI+lLUDGUKVjfYoHYtENXMUrv/De2CIsLJf Afnw== 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=LGJ8+x4oOv8BH7OP38itoB2VZdEGzcVipLnzQChvils=; b=fElIhkhgdDlTvUListUtAcAjCZReC4Fsk+8tPZYy4sQaCjaTnrYnwiKeWpwdxkIJVn 9+wvs9o5Bw634VhA+evDYnkvOEabWhRWaqDm6AisxgBCyaV4UK7Oh0Zz+KWPpuj66y7Q y9LI8g9JL9zaraQYZOK4APWuGL9eBvINsneOXhp8I6zfijFW7fHK8AbUXl4722geOaSC NZho8wSjUTTZuM+dlyGt70LWVZxOS+wOakiBlc48U1sT/QlwFPqpgxAhQHdLR5wP5WbY jLWl97yFU7e8uosDjgd7aIzyAEvAf764WRJW0JvV6mi4biM/tAIhJkVv/o9ZZ2hciqMG kzSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=l9N3KLMh; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=OVcBqu8r; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i12-20020a170902cf0c00b001a6a3954e0fsi2562144plg.18.2023.04.20.11.33.01; Thu, 20 Apr 2023 11:33:13 -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=l9N3KLMh; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=OVcBqu8r; 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 S231800AbjDTSbs (ORCPT + 99 others); Thu, 20 Apr 2023 14:31:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231407AbjDTSbb (ORCPT ); Thu, 20 Apr 2023 14:31:31 -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 0C37230E3; Thu, 20 Apr 2023 11:31:30 -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 B482F1FDCB; Thu, 20 Apr 2023 18:31:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1682015488; 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=LGJ8+x4oOv8BH7OP38itoB2VZdEGzcVipLnzQChvils=; b=l9N3KLMhHYSFD3EuUHevu9MXorcwyrBrWsVF1kw+2tZ4S2J3Lh/2IdQ+FvnDcE22UWXIXA jTN5PphopDbn+N9KE/8ljjs+j/rQPv9JsFLdGXm5q7Ia4UJwlWUGVGAlVDJRp2eZRiPNwD /s3jVjubpHLFYlBer8F3rDGWTaXQwt4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1682015488; 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=LGJ8+x4oOv8BH7OP38itoB2VZdEGzcVipLnzQChvils=; b=OVcBqu8rfqHUFlbT+Ez7DCSA+YeVH3uJzhBPBXzg9IYEpPjYebiVKXStHqfdw6+oRivJfE c4drv3zwXdwHx3AA== 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 A5EE613584; Thu, 20 Apr 2023 18:31:28 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id HVkxKACFQWSxNAAAMHmgww (envelope-from ); Thu, 20 Apr 2023 18:31:28 +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 , Daniel Wagner Subject: [PATCH blktests v2 4/9] nvme: Use runtime fio background jobs Date: Thu, 20 Apr 2023 20:31:16 +0200 Message-Id: <20230420183121.4489-8-dwagner@suse.de> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230420183121.4489-1-dwagner@suse.de> References: <20230420183121.4489-1-dwagner@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 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 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 | 2 +- tests/nvme/040 | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/nvme/032 b/tests/nvme/032 index 017d4a339971..81e074cc11bc 100755 --- a/tests/nvme/032 +++ b/tests/nvme/032 @@ -39,7 +39,7 @@ test_device() { # start fio job _run_fio_rand_io --filename="$TEST_DEV" --size=1g \ - --group_reporting &> /dev/null & + --group_reporting --time_based --runtime=1m &> /dev/null & sleep 5 diff --git a/tests/nvme/040 b/tests/nvme/040 index 04bd726cd309..8d29f905adb5 100755 --- a/tests/nvme/040 +++ b/tests/nvme/040 @@ -38,7 +38,8 @@ 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 & + --group_reporting --ramp_time=5 \ + --time_based --runtime=1m &> /dev/null & sleep 5 # do reset/remove operation -- 2.40.0