[LTP] [PATCH] [RFC] zram01: Fix on ppc64le

Cyril Hrubis chrubis@suse.cz
Tue Aug 15 14:38:01 CEST 2017


Hi!
> > Looks like we went off-topic and the zram01.sh test wasn't fixed in the
> > end and it still fails on ppc64le.
> > 
> > I guess I can prepare a patch that checks if there is enough free RAM
> > for a minimal Btrfs fs but I would still like to obtain the minimal size
> > from mkfs.btrfs. Does that sound reasonable?
> 
> Do you mean these messages from mkfs.btrfs:
>   "ERROR: minimum size for each btrfs device is 41943040"
> or some other way to find minimal supported size?

Do do not know other way that the one used in the original patch, i.e.
running mkfs.btrfs on /dev/null and parsing the output.

Or is there something better than that?

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list