Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7049526rwr; Tue, 2 May 2023 08:50:59 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4LjCbahqTsLC/PK3keGuE7nuo6vmZGecOUAKdA72WMsqhpMJ+hOo5B9HqScVFbOQkiBny0 X-Received: by 2002:a05:6a00:1515:b0:63d:2aac:7b88 with SMTP id q21-20020a056a00151500b0063d2aac7b88mr27519389pfu.25.1683042659251; Tue, 02 May 2023 08:50:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683042659; cv=none; d=google.com; s=arc-20160816; b=hyoDgAjGAZ4FQ7577A7EqedzqX3STnFVBD0Omm2a03jGOw7ybCtleFZEGWalWXyF7m WENg8eZnMMGLkMjbpfJz4zHCJgsf84uKu9yDd2q3P8BIoawddPIHY+R2GRU0a2PlU2v1 P4KQs0SD2gCBKb7O8Kfno4rf4WL81yW7uuXtpW2ilaaknx7qrizYFTDcNVLN+SXiApa/ LZ3fvYv9SLlnDETPUH9LT0YzndkNaFOKn+NcIajBg7T3ivj6JzcI3SQhd7nHaC068jNh +x7FZhw5pQmMGxGeA5EtAEv3HN99DYJsw4uVKPfqHvyHKS64lMK+9klNBokz4govtMVp AnNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=zzvrkLFUqS2KJrgKqehrc7ERzU4TMOgKTj4HGDnNT6c=; b=vjCzK2kTbhfWV12qd+w/57W8m/ZkfWnAgIo4ceqh7v4IOJv3dKv2r9wPzLOQt7I0fr rY0vw07dkQC8Mb1m9VUhGispNTjNjo0qsyF0QNSeBrm/W2epUgjNoUZX75ABcXQkJHmM IISm+7f62SfKT5BRcoxvYzXGN0YlWpYNRSLkWxHlL6C1u11Dq2XJgK+3/VLs0/BiHUdc YyNCghiw95djV68D7mzUs+vrOqYabUylgaZ5JD+iX+B40oEa7lNHA3o9ctDOCD2027/J 3cmKILWuZV2qhj6oSZa6LTOwamYB8ZeYH2kQpDMsBUwU2uSQvmI/rT9O4fTyEt0pwODP /NZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b="UmPhlf/6"; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b="/CJf0S3G"; 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 e23-20020aa79817000000b0063c8d702933si30566814pfl.82.2023.05.02.08.50.46; Tue, 02 May 2023 08:50:59 -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="UmPhlf/6"; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b="/CJf0S3G"; 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 S234527AbjEBPpu (ORCPT + 99 others); Tue, 2 May 2023 11:45:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234478AbjEBPpt (ORCPT ); Tue, 2 May 2023 11:45:49 -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 CB1361FDE; Tue, 2 May 2023 08:45:47 -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 83EF821E93; Tue, 2 May 2023 15:45:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1683042346; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=zzvrkLFUqS2KJrgKqehrc7ERzU4TMOgKTj4HGDnNT6c=; b=UmPhlf/6SiPXX+aNo/xbG/8SpZllfgqTXCJtpILFaLqVwUCURgsuikh7kqBkl9PMKK6rAp RhEF6m+UgU9o1HpN9h1qhB30OqUKzPLJHsGxwB83EYdlmA1STRQBxAZTup5ph1j2GOrCCt KsOLOKNYB9R2qTkN5MJp+4s7KedkoG0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1683042346; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=zzvrkLFUqS2KJrgKqehrc7ERzU4TMOgKTj4HGDnNT6c=; b=/CJf0S3GhgGqiIpNTqHVMxH7v3jQnPM5+WZ4Sa4tmUm2aYy1NTte5D0593rMCkn8YYXfvF ce5/Ae/fpR5+v+CA== 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 77097134FB; Tue, 2 May 2023 15:45:46 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id Y1jmHCowUWSvKgAAMHmgww (envelope-from ); Tue, 02 May 2023 15:45:46 +0000 Date: Tue, 2 May 2023 17:45:45 +0200 From: Daniel Wagner To: Shinichiro Kawasaki Cc: "linux-nvme@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux-block@vger.kernel.org" , Chaitanya Kulkarni , Shin'ichiro Kawasaki Subject: Re: [PATCH REPOST blktests v2 7/9] nvme-rc: Calculate IO size for fio jobs Message-ID: References: <20230421060505.10132-1-dwagner@suse.de> <20230421060505.10132-8-dwagner@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 On Fri, Apr 28, 2023 at 04:00:54AM +0000, Shinichiro Kawasaki wrote: > On Apr 21, 2023 / 08:05, Daniel Wagner wrote: > > Introduce two new function to calculate the IO size for fio jobs. > > > > _nvme_calc_io_size() returns the jobs size for _run_fio_verify_io() > > function. Reduce the max size of the job by one megabyte to make the > > test more robust not to run out of space by accident. Note these fio > > calls run with just one jobs. > > It is not clear for me what kind of issue happens without the 1MB decrement. > Could you share failure symptoms you observed? As I said, this is just to make the test more robust as this the size limits are not the main objective of these tests. I don't care about this too much, I'll just drop it then.