Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Aug 2024 00:39:26 +0700
From:      Yuri Pankov <yuri@aetern.org>
To:        freebsd-hackers@freebsd.org
Subject:   Re: makefs -t ffs makes too large image
Message-ID:  <70579701-7457-46b1-9329-a51eddec51de@aetern.org>
In-Reply-To: <334195982.20240822182405@yahoo.com>
References:  <1781435895.20240822135231.ref@yahoo.com> <1781435895.20240822135231@yahoo.com> <d3eb46f1-29cc-4fa0-a346-86e1c5434834@quip.cz> <334195982.20240822182405@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Anthony Pankov wrote:
> Hello Miroslav,
> 
> You are  genius!
> 
> But the situation is a very frustrating. It is a default system and I did nothing  to turn the compression on.
> So I was absolutely sure that compression is off. 
> 
> I'm sorry. 
> Nevertheless having compression on by default is a very weird decision and is fully unexpected for me. I've never seen a big warning about default value of this vital parameter will be inverted.
> 
> On 12 -STABLE:
> 
>  # zfs get compression
> NAME                       PROPERTY     VALUE     SOURCE
> ps2                        compression  off       default
> 
> On 14-STABLE
> 
>  # zfs get compression
> NAME                          PROPERTY     VALUE           SOURCE
> tank                          compression  on              default
> tank/bsdsrc                   compression  on              default

It came in with the following openzfs commit and probably no one really
noticed as installer turns on compression by default, so I was going to
say it was always that way until I looked up the change :-)

commit 56fa4aa96eb3875f254e93eaef646ea20ba187f9
Author: Rich Ercolani <rincebrain@gmail.com>
Date:   Thu Mar 3 13:43:38 2022 -0500

    Default to ON for compression

    A simple change, but so many tests break with it,
    and those are the majority of this.

    Reviewed-by: George Melikov <mail@gmelikov.ru>
    Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
    Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
    Closes #13078

And it looks like it's in FreeBSD starting with 14.0:

$ git branch -a --contains 56fa4aa96eb3875f254e93eaef646ea20ba187f9
* main
  remotes/origin/HEAD -> origin/main
  remotes/origin/main
  remotes/origin/pull/956/merge
  remotes/origin/releng/14.0
  remotes/origin/releng/14.1
  remotes/origin/stable/14



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?70579701-7457-46b1-9329-a51eddec51de>