[PATCH blktests v3 01/12] nvme/rc: Auto convert test device size info

Daniel Wagner dwagner at suse.de
Wed May 3 02:26:39 PDT 2023


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 <hare at suse.de>
> > Signed-off-by: Daniel Wagner <dwagner at suse.de>
> > ---
> >
> 
> 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 :)



More information about the Linux-nvme mailing list