Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1846121rwr; Thu, 20 Apr 2023 23:54:07 -0700 (PDT) X-Google-Smtp-Source: AKy350YmL9fHH8J4L1m4RJ/eb7u5yg0XI3JejYYnw0PwMCl4RMZT1eynxi60N+TdfQ4mSlIMkO86 X-Received: by 2002:a17:902:8307:b0:1a6:f93a:a135 with SMTP id bd7-20020a170902830700b001a6f93aa135mr3826685plb.61.1682060047498; Thu, 20 Apr 2023 23:54:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682060047; cv=none; d=google.com; s=arc-20160816; b=NFDgnQEamvyzr51Z0sPfbO4+wx3SIDA57QYJ68b0LnxgpD6FcnqrpH+t23MNc1lJtj 9ED2hQbe2Xde57X8B8A5lg8OrUlkIRG4rkO2SbXVxZ4qan9zD/r5JkkY667SXASeQHG5 DppoKp0PCtS+tGV1Z+YJozyG5kX6ZSoRVo9sqNs28gGft0bzppV5OEdveJQtH36wSQXp 5wo6hX5WvhUz68Mmn5EdkgTkziVJl0EyA8uMKsyFnDqrqqX2KwUT1Ruy9l5evj59yybJ McpT0Vyir2R+rYg/LeWKv7yyP+8HZmq5kNikFUWtxcy7fGS2UiOSV1sWtlfrXuMQR+v2 E3lA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature:dkim-signature; bh=BHeW4tyVf6oZPDGbJB4iNrMzQR3MDrxIFhpfg5MiMc0=; b=YcmvgrSfEnJpCvpvHZiIrBINCRqZU0ChB8jnNQiIGG7r9H5ILmlX2LpKtZ+EVNsK1t wR8wvTlKAIgoIUOsGXsvJb2r7xzCIabB+jaVZ/Q/630RLVNU0xcC7Fc3zVfXIl9sFO7a T14+qgNn1WFF6uQ8gQmvaAD+e/ZEQ6TPIiaS08hzD96SLaskXD0Bddcga76M5pJc6jnO 6qLNDFk0L03ZRNH92YK5f0oF6vkSovkLsxM4G2xjHALxrfYoPOAX5Miokcmh+0BGx/4G oqSnNjynF8BOWYTSzSTBlC9/w7L/3nZjOQfiI5ayh+OSytM8qJ/5ZM/PaT4Hd0EpIlyt taDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=TI10JoXO; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b9-20020a170903228900b0019f28eff6f9si2823274plh.502.2023.04.20.23.53.55; Thu, 20 Apr 2023 23:54:07 -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=TI10JoXO; 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 S230148AbjDUGlI (ORCPT + 99 others); Fri, 21 Apr 2023 02:41:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230049AbjDUGlF (ORCPT ); Fri, 21 Apr 2023 02:41:05 -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 F1C01420B; Thu, 20 Apr 2023 23:41:00 -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 AD42E1FDDD; Fri, 21 Apr 2023 06:40:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1682059259; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BHeW4tyVf6oZPDGbJB4iNrMzQR3MDrxIFhpfg5MiMc0=; b=TI10JoXOCETKcLdoHwCSSmjUSD0s+KhCsOCKZWEm6aF9qey+mWIF7PMOjBIh2zAl2OlhDs jQ83Fr0g9RFjL5FDBNw/1pixy4ZWNxOYBfn+albxGN52AzJZt4Sx0oG6p7stg1Nl+2S8Of OLOT24pfa0+cqX/hkDaT/1Oi+mU9OrE= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1682059259; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BHeW4tyVf6oZPDGbJB4iNrMzQR3MDrxIFhpfg5MiMc0=; b=rYxfHKWXWHAyca0XcV9vAzS406UfBt0IOFG2LpjbVeMsNApqsKd3vmbLMYI96v3uMn9DSw 0obmq5fULuLFc9BQ== 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 886E313456; Fri, 21 Apr 2023 06:40:59 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id yKzjH/svQmRBdgAAMHmgww (envelope-from ); Fri, 21 Apr 2023 06:40:59 +0000 Message-ID: <23cd059e-c7d5-79ff-c95d-c156ed204a20@suse.de> Date: Fri, 21 Apr 2023 08:40:59 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH REPOST blktests v2 1/9] nvme-rc: Auto convert test device size info Content-Language: en-US To: Daniel Wagner , linux-nvme@lists.infradead.org Cc: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, Chaitanya Kulkarni , Shin'ichiro Kawasaki References: <20230421060505.10132-1-dwagner@suse.de> <20230421060505.10132-2-dwagner@suse.de> From: Hannes Reinecke In-Reply-To: <20230421060505.10132-2-dwagner@suse.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 On 4/21/23 08:04, Daniel Wagner wrote: > 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. > > Signed-off-by: Daniel Wagner > --- > common/rc | 30 +++++++++++++++++++++++++++--- > tests/nvme/035 | 2 +- > 2 files changed, 28 insertions(+), 4 deletions(-) > Reviewed-by: Hannes Reinecke Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@suse.de +49 911 74053 688 SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 36809 (AG Nürnberg), Geschäftsführer: Ivo Totev, Andrew Myers, Andrew McDonald, Martje Boudien Moerman