Re: [PATCH REPOST blktests v2 3/9] common-xfs: Make size argument optional for _xfs_run_fio_verify_io

From: Daniel Wagner
Date: Tue May 02 2023 - 09:20:57 EST


> Hmm, AFAIK, bash arithmetic supports integer only. I tried below, and bash did
> not return floating value...
>
> $ avail=90000; echo $((avail/1024))
> 87
>
> Assuming bash arithmetic supports integer only, -1 will not be required in the
> calculation.

Can't remember how I ended up with the above. Anyway, works just fine without
the printf.