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

Cyril Hrubis chrubis@suse.cz
Tue Aug 15 14:57:31 CEST 2017


Hi!
> Other than picking a number by ourselves, nothing comes to mind.
> Numbers from mkfs.btrfs error message seem too low, even 2.5x
> larger number still fails:
> 
> # modprobe brd rd_nr=1 rd_size=100000
> # mkfs.btrfs /dev/ram0 
> btrfs-progs v4.9.1
> See http://btrfs.wiki.kernel.org for more information.
> 
> ERROR: not enough free space to allocate chunk

Now that you mention it I remember some patches for mkfs.btrfs that
fixed the minimal FS size computation. So I guess that hardcoding 384MB
would be a bit safer.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list