Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1811176rwr; Thu, 20 Apr 2023 23:10:03 -0700 (PDT) X-Google-Smtp-Source: AKy350Zi85QmKM4TLIz4nlqrJQgIXW4A2N0Mo2Hee0/ouIU4lKtRsDNtngyUEgTu6zvP6BSxEMew X-Received: by 2002:a05:6a20:8e0c:b0:ef:2389:66c5 with SMTP id y12-20020a056a208e0c00b000ef238966c5mr6469254pzj.12.1682057402437; Thu, 20 Apr 2023 23:10:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682057402; cv=none; d=google.com; s=arc-20160816; b=rvEzqLh4AzKF9e/Eur4MHh78NQaEeRv+6soN/XNXODdpLxN6cfB04zXy/aINRW8AwV qEp4Xs2ykQiRJ6JWWrSbqNtKwe35ddeN1g09eti+qaX+cwnyn5UTJyFp3RdFOu+UvUWU Wo/4ZL0adc/EV4DEMbWRsklgVHJhnp0Pn3WVdC4+nc1ign71qgkvfjr9W1WWMz/gVGSK ke7aiU1BCmz7DeQth2JrE4yovAaZ9EYluI4CS17tZW8I5qVTCgAwemYeRXeqzgtzKhPU ADIIJLG8cNCPdaeFPtR9qGqwRfcxeKX1gkMdbdcDvdZAO6gZJ9/yaJbFcOYu1QzwIAIq Abug== 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=EOCKL7vl0x0HjQ2NU5lczAYAJEHPduKr5EkBgD2ANz8cB3LkUp4eSEi9gvX1ioXKnr QNwTxDkrCr6vX9EgndduOm8agHlUoZZJar2ERCZwr7+2G/Iv7+5ueHDjgnX4lJgQu7ID jdLo5fkYmGi/KoE7gRFA6tt3j+DHlv4uGykhdXZOSGKIiHtFYtu+k9A5aVvR0dHsk29U ee1rSpChDWk9eATlA+UbzziQJPAPrA+t4HNcCPW7UVK+8JaoQQ1/R1uV1waSBsXE5n+D PtnCIuYGy2hNKESzc6MJcspjQ+s7RrQCuourtfm/RB9jVv+znrpr2XCL0sSNdSspqoIU b7hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b="DZ15V/Hv"; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=S6eSmvAf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e18-20020a63e012000000b0051b5fc497e9si3336776pgh.739.2023.04.20.23.09.47; Thu, 20 Apr 2023 23:10:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b="DZ15V/Hv"; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=S6eSmvAf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S233709AbjDUGF1 (ORCPT + 99 others); Fri, 21 Apr 2023 02:05:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233614AbjDUGFW (ORCPT ); Fri, 21 Apr 2023 02:05:22 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F09B6EB6; Thu, 20 Apr 2023 23:05:19 -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 5271821A4D; Fri, 21 Apr 2023 06:05:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1682057118; 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=DZ15V/HvLxBq2r2bgHoG1xS5kyfy4gaSy7xE8TN0kVwp9cp4jBjzlv/nqCN3Sikc5kkep1 uUMG70Li7Eff6ZCOugtPv5+wiBIA81stOPEMcrEwb0sw9n2M0wcK5BJZYLwJOOvqbs3ka5 I83+K52As+1GaQ0pBTLG7ld51/Rqa18= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1682057118; 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=S6eSmvAfJDTowASuZ2A/26fCrgrDvhNT2GFO6JIZbEjjO4y2aLwW50A1ZMezXI/NuEaxN7 AY1wBorEmIZPupAg== 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 45DE31390E; Fri, 21 Apr 2023 06:05:18 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id caYLEZ4nQmRwZgAAMHmgww (envelope-from ); Fri, 21 Apr 2023 06:05:18 +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 REPOST blktests v2 4/9] nvme: Use runtime fio background jobs Date: Fri, 21 Apr 2023 08:05:00 +0200 Message-Id: <20230421060505.10132-5-dwagner@suse.de> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230421060505.10132-1-dwagner@suse.de> References: <20230421060505.10132-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,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 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