From nobody Thu Aug 22 17:39:26 2024 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WqVnd6h0bz5TKWP for ; Thu, 22 Aug 2024 17:39:33 +0000 (UTC) (envelope-from yuri@aetern.org) Received: from fhigh8-smtp.messagingengine.com (fhigh8-smtp.messagingengine.com [103.168.172.159]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4WqVnd540Lz47Ky for ; Thu, 22 Aug 2024 17:39:33 +0000 (UTC) (envelope-from yuri@aetern.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=aetern.org header.s=fm3 header.b=yx6SC7tX; dkim=pass header.d=messagingengine.com header.s=fm1 header.b="q g6HcRq"; spf=pass (mx1.freebsd.org: domain of yuri@aetern.org designates 103.168.172.159 as permitted sender) smtp.mailfrom=yuri@aetern.org Received: from phl-compute-05.internal (phl-compute-05.nyi.internal [10.202.2.45]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 1D24D1151BDA for ; Thu, 22 Aug 2024 13:39:33 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-05.internal (MEProxy); Thu, 22 Aug 2024 13:39:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aetern.org; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1724348373; x=1724434773; bh=r5jXWNt//YZShGFP9lvuxr+KxKFKCdnoA77trnXba0k=; b= yx6SC7tX3a1ggh/C/+nJ8P5tCGYqvMLmqnkKFJ/HhE0RrdOYaK+bLl6yAI5ZkAmZ RI5IDqRocwqbjMQ//ElXWxFjF9/37qOYBTuyshPGpgwtKhj9xt3OeSnVDtzKUZdX 6yXiMXEQjkdZywFtmjeyLEP05nRKj0IVsVud4ACbXwSWBSekLKWX1fwfez/WVMFK bfzc1vNdSUpTD+uCqU5/EqnVOEpg+yZe9918Z5ba5YJeJK88k6+d8l14rKmEjtux 7GY+4gak+VroQwMZM0lJwXtAfB04i6Wirt8R7ifQ+MfVfwudA618HAhpPnA6sKkU uI1YFahDy7NxF9NoohrJKw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1724348373; x= 1724434773; bh=r5jXWNt//YZShGFP9lvuxr+KxKFKCdnoA77trnXba0k=; b=q g6HcRqdaU7zba0H9bztjOdrEa2IkBrYUUts+YFLx/3E9T6hXWuT8czZgmp5ztDN1 vbXFduZCRil+r2qC+EW2qnZkP99hH7C/ElKD6AUOVDzN952xgeoc4S/UhvSMTB5q vVYBwF6U6EnuREYNG8z27o5g2M+46jN9Ldo6ibFYSt6yCvR530Atb0rN7HqlBMR/ Pw8MbIaQ999KYSTgojnP9NCo8OJawM5bx5+zjL2Vi7fNDPxUUbwoKOWSjv2V5yTQ IL2bsdmWcUMrZ6q7Gxlc3fRb405Q68TeqzRKLFCxe98dXJ/4MF44hJog96iuAHaT EaBxJ7w7Xx8YBVlVr1PbA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddruddvtddguddufecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecufghrlhcuvffnffculd dqhedmnecujfgurhepkfffgggfuffvfhfhjggtgfesthejredttddvjeenucfhrhhomhep jghurhhiucfrrghnkhhovhcuoeihuhhrihesrggvthgvrhhnrdhorhhgqeenucggtffrrg htthgvrhhnpeefteehtddtieeuhfevjeelkeeuhfeffeekgeeggffffeejleekieehtdet geeuteenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe ihuhhrihesrggvthgvrhhnrdhorhhgpdhnsggprhgtphhtthhopedupdhmohguvgepshhm thhpohhuthdprhgtphhtthhopehfrhgvvggsshguqdhhrggtkhgvrhhssehfrhgvvggssh gurdhorhhg X-ME-Proxy: Feedback-ID: i0d79475b:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Thu, 22 Aug 2024 13:39:31 -0400 (EDT) Message-ID: <70579701-7457-46b1-9329-a51eddec51de@aetern.org> Date: Fri, 23 Aug 2024 00:39:26 +0700 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: makefs -t ffs makes too large image To: freebsd-hackers@freebsd.org References: <1781435895.20240822135231.ref@yahoo.com> <1781435895.20240822135231@yahoo.com> <334195982.20240822182405@yahoo.com> Content-Language: en-US From: Yuri Pankov In-Reply-To: <334195982.20240822182405@yahoo.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spamd-Bar: / X-Rspamd-Pre-Result: action=no action; module=multimap; Matched map: local_wl_from X-Spamd-Result: default: False [-0.39 / 15.00]; R_SPF_ALLOW(-0.20)[+ip4:103.168.172.128/27]; R_DKIM_ALLOW(-0.20)[aetern.org:s=fm3,messagingengine.com:s=fm1]; XM_UA_NO_VERSION(0.01)[]; ASN(0.00)[asn:209242, ipnet:103.168.172.0/24, country:US]; local_wl_from(0.00)[yuri@aetern.org]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; FREEFALL_USER(0.00)[yuri]; DKIM_TRACE(0.00)[aetern.org:+,messagingengine.com:+] X-Rspamd-Queue-Id: 4WqVnd540Lz47Ky 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 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 Reviewed-by: Brian Behlendorf Signed-off-by: Rich Ercolani 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