Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp544010rwr; Wed, 3 May 2023 02:32:01 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7wBoQHO7VKY9xbnlQ5LHltZQ+I2ljc20NIB8wcvrcrsZtwWpsEBWicVyBX2Th6gf274SZ5 X-Received: by 2002:a05:6a00:1828:b0:63d:3c39:ecc2 with SMTP id y40-20020a056a00182800b0063d3c39ecc2mr1790850pfa.12.1683106321093; Wed, 03 May 2023 02:32:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683106321; cv=none; d=google.com; s=arc-20160816; b=eCfrGbJFQnHVmpuN0voLzy7hYH4hQgeK2Oiz337uBtz9bfJpJhan3cKKNnvqC+aRNq oqmDkcYA9H/TscrM3rOouH0lNaDCDcXMdoJWhMIesMlTNZJHJr+/tLX9pBBOoZRHamqL CWJgyTFlMH22De/HFPW6ajAR92li6eziQreFKHMyR+vBLbQYcXCaAwVVUbNeK3i01EH7 dWwIj5lcDhBSEwGGvSR+At+yGi9LOZpzV+Io6Aei7oxUrubFDTBGPPAfm9xvsNbOW1CM 1EZ6YrDVhMcHSJHjMncybd74DVOMEXmM3Xv1y/+FGUTi+xf8k/mDYaotgjCU3E62Im4o bzeQ== 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=1PDsSAco8cHUixikjZOolUtD+5H8EiTfwaQidAB+Qko=; b=RTES3aWIf3Dbo8DZBloVkpf/tPWjihk2VU7f0NnPiLd3hVfXt+uAQiTCaOyoJQ6i+A wDH0Ju6L0TcHX9nPTGQywyAZasY3vTgH2TvXOvu/LuAm7QD3DTL+Xy+2xSf8tNBWhozs 8HjgJkH9D58RrWP/O8s/i09ju6u2ZnSd6nGx5eQoPqw6eiBd9nHOkn27nmcHPio6wrMi TzTMTIaV9L7DCOijwnEjrkIPRpbknBCiZBSLeTYG3NLW8h8iKqgmraNgvz1HlJYWVvM6 YvCv41RAhBphAxKesCmO/Efi+/esPGQwJmnKkFnBXTmbdf8OH8l16GyzL/oLs2Cy2Yw4 WLQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=1RnvefgQ; 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 y63-20020a638a42000000b0051b930b2b4esi2858876pgd.620.2023.05.03.02.31.48; Wed, 03 May 2023 02:32:01 -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=1RnvefgQ; 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 S229730AbjECJ0o (ORCPT + 99 others); Wed, 3 May 2023 05:26:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229565AbjECJ0m (ORCPT ); Wed, 3 May 2023 05:26:42 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5931F44A1; Wed, 3 May 2023 02:26:41 -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 0FC92224E9; Wed, 3 May 2023 09:26:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1683106000; 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=1PDsSAco8cHUixikjZOolUtD+5H8EiTfwaQidAB+Qko=; b=1RnvefgQoYI61aYy0NCfmMqi2RGDq3YmAqwQE8zGGB4EISiw9cMvq+D42rr75UNO1J7OL+ MwHk9DHqe7/9TGLVKtigHbETACiNwhiuFM76xv6wJ5QxLUQJ0W2hDNiyn8HAbWqb/QWErA CDsMDCcqlgS5HHd7XdsyHKEwi3m0uo4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1683106000; 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=1PDsSAco8cHUixikjZOolUtD+5H8EiTfwaQidAB+Qko=; b=dcpOmmQZgay41/gjTazJQbd9fzWz2TLkx+O2T2ReVo3wPHdmik6n+qdWruOJDNbp0chFMG 1NrTPqZeQJMcWWBQ== 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 001B21331F; Wed, 3 May 2023 09:26:39 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 8/V/O88oUmT1EwAAMHmgww (envelope-from ); Wed, 03 May 2023 09:26:39 +0000 Date: Wed, 3 May 2023 11:26:39 +0200 From: Daniel Wagner To: Chaitanya Kulkarni Cc: "linux-nvme@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux-block@vger.kernel.org" , Shin'ichiro Kawasaki , Hannes Reinecke Subject: Re: [PATCH blktests v3 01/12] nvme/rc: Auto convert test device size info Message-ID: References: <20230503080258.14525-1-dwagner@suse.de> <20230503080258.14525-2-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,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 Wed, May 03, 2023 at 09:22:07AM +0000, Chaitanya Kulkarni wrote: > On 5/3/23 01:02, 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. > > > > Reviewed-by: Hannes Reinecke > > Signed-off-by: Daniel Wagner > > --- > > > > Much needed mb helper, looks good. I am sure the helper can be written way smarter but my shell-foo skills are a bit limitted. Still a starting point :)