From nobody Sat Dec 23 15:14:29 2023 X-Original-To: dev-commits-src-all@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 4Sy74g3K45z54d42; Sat, 23 Dec 2023 15:14:43 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sy74g1drgz3KpM; Sat, 23 Dec 2023 15:14:43 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-6d9a7233133so32529b3a.0; Sat, 23 Dec 2023 07:14:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703344481; x=1703949281; darn=freebsd.org; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:from:to:cc:subject:date:message-id :reply-to; bh=7VBSoseGS6ismH0CVvBfMhLEONaVnKF6yT8rlU+fLZU=; b=BnZ+WjEZA8AyW1pEh+R1dFnY8a20/rV4kSAtAvKLmiL2+P5Tbal0vd11E6z5+293ox /i7lWXQ3zg6VM0fEcJcmlPJoklrAAYpMFFkGLAvHjJC5YMjSIWXsYh4eLMoLFAE/H3Y5 8k2e1c33LKWRsmtk3b22UyV7PRZE4M6++2b+Q387S0mhHM/cGoevbti3QxOeg/rc5JmK 57tVWh91fKzKkydZ/GKOhx65yrkbnZOlmIEB8j0oVjhviHuloESZLY7iHiyRPm7PINha 82FmaDsTjb/yB8s4+lTdVa9Rb57CsdfxGBHdV9WQQOuXKpH8PzXLq9aLH/YO1lM8P7K2 OeFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703344481; x=1703949281; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7VBSoseGS6ismH0CVvBfMhLEONaVnKF6yT8rlU+fLZU=; b=IlK+tsSEVqZj4a40meFbwVSoFt2ZfjoI+OwpA2BAShlTYo8WUb4ihAFESOIcJ0hmBx /DGhOFQrawzgbTZwpp4uUGCkzKOQNXGr+UUUyhzNT4PiiIAsjaLHbyF1gN9FExLF8DpL qBUAsMZqZR2m0u3skUNfjgw2R96ewEEQlFQeXm1L5ncL2qW10BTc0W94MjRDIu2O1Md3 vJv0C5RTUOe1CkxNh9aTFZYTllDbnahlgKFzLVc/TAxZbATaX9qC/xQAe9d7T4qViLWM 5MUKJnqSp74oh+WLXGD9nQP3rQ4qbjMOE37QlhXv8Cc0jWDo1vRuG1e0KPnn/nPQc7sf 8NbA== X-Gm-Message-State: AOJu0YzGxzNDs/IPfoB/raRRgHg5kPlodXzbM8bYM8MygIhA6Z/uzmzD 9kSkUnZ9VcNsFuBlBJdtTh9XDeQU7G61mA== X-Google-Smtp-Source: AGHT+IG3etvM8nHGRX9pR0swimd0LITCyy8Q/nNFqQn/cF23XyRvlari7pZ46pvfT7bVTEiFJ1eCmg== X-Received: by 2002:a62:e717:0:b0:6d9:9de5:d121 with SMTP id s23-20020a62e717000000b006d99de5d121mr362502pfh.27.1703344480875; Sat, 23 Dec 2023 07:14:40 -0800 (PST) Received: from smtpclient.apple (c-24-19-32-101.hsd1.wa.comcast.net. [24.19.32.101]) by smtp.gmail.com with ESMTPSA id p2-20020a056a0026c200b006d99170ab87sm2408032pfw.182.2023.12.23.07.14.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 23 Dec 2023 07:14:40 -0800 (PST) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Enji Cooper List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org Mime-Version: 1.0 (1.0) Subject: Re: git: 906748d208d3 - main - newsyslog(8): Add option to globally override compression method. Date: Sat, 23 Dec 2023 07:14:29 -0800 Message-Id: <010500A1-E327-47D3-BFD1-141D0C828FE3@gmail.com> References: <202312230653.3BN6r6Fa021310@gitrepo.freebsd.org> Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org In-Reply-To: <202312230653.3BN6r6Fa021310@gitrepo.freebsd.org> To: Xin LI X-Mailer: iPhone Mail (21B101) X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4Sy74g1drgz3KpM > On Dec 22, 2023, at 22:53, Xin LI wrote: >=20 > =EF=BB=BFThe branch main has been updated by delphij: >=20 > URL: https://cgit.FreeBSD.org/src/commit/?id=3D906748d208d356a59538dc009a8= ad5db040968d9 >=20 > commit 906748d208d356a59538dc009a8ad5db040968d9 > Author: Xin LI > AuthorDate: 2023-12-23 06:46:33 +0000 > Commit: Xin LI > CommitDate: 2023-12-23 06:46:33 +0000 >=20 > newsyslog(8): Add option to globally override compression method. >=20 > Historically, newsyslog compressed rotated log files to save disk space= . > This was useful in the early days. However, with modern file systems li= ke > ZFS offering native compression, and with the availability of larger ha= rd > drives, the benefits of additional compression have become less signifi= cant. > This is particularly true considering the inconvenience of decompressin= g > log files when searching for specific patterns. >=20 > Additionally, the original implementation of compression methods was no= t > future-proof. As a result, we have redefined the J, X, Y, Z flags to > signify "treat the file as compressible" rather than "compress the file= > with that specific method." >=20 > A new command-line option, -c, has been introduced to allow overriding > these settings in a more future-proof way. The available choices are: >=20 > * none - do not compress, regardless of flag. > * legacy - historical behavior: J=3Dbzip2, X=3Dxz, Y=3D= zstd, Z=3Dgzip. > * bzip2, xz, zstd, gzip - apply the specified compression method. >=20 > Currently, the default is set to 'legacy' to preserve historical behavi= or. > However, our intention is to change this default to 'none' in FreeBSD 1= 5.0. >=20 > Additionally, this update changes the default settings for zstd to use > multithreading and long-range options, better aligning with its intende= d > use. >=20 > Inspired by D42961 . >=20 > Reviewed by: debdrup (earlier version, mdoc(7)) > MFC after: 1 week > Differential Revision: https://reviews.freebsd.org/D43165 Relnotes: yes ?=