[LTP] [PATCH v2 1/1] Fix compression ratio calculation in zram01
Martin Doucha
mdoucha@suse.cz
Fri Nov 8 16:31:29 CET 2019
On 11/8/19 4:29 PM, Cyril Hrubis wrote:
> Hi!
>> + local compr_size=`cat "/sys/block/zram$i/mm_stat" | awk '{print $2}'`
>
> Why not just:
>
> awk '{print $2}' /sys/block/zram$i/mm_stat
>
> Other than this it looks good. Also no need to send v3, I can fix this
> when applying.
You're right, please fix it.
--
Martin Doucha mdoucha@suse.cz
QA Engineer for Software Maintenance
SUSE LINUX, s.r.o.
CORSO IIa
Krizikova 148/34
186 00 Prague 8
Czech Republic
More information about the ltp
mailing list