On Wed, Nov 20, 2024 at 02:58:57PM GMT, Zbigniew Jędrzejewski-Szmek <[email protected]> wrote: > I don't think we can change this now, because this was documented > behaviour and people may have used something like '4k' to get 4000 MB.
If you're referring to
ae46c78 ("Obsolete zram-fraction and max-zram-size in favour of new,
arbitrary-expression, zram-size"
it also quite unfortunately removed units from the manpage.
So, technically speaking behavior of 4k was undocumented.
> I think the nice backwards-compatible solution would
> be to add a new setting, e.g. disk-size that is evaluated as bytes,
> and soft-deprecate zram-size.
Please Cc me (Werkov) on any related PR.
Thanks,
Michal
signature.asc
Description: PGP signature
