From nobody Tue Nov 08 00:34:14 2022 X-Original-To: dev-commits-src-main@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 4N5pyJ0SvMz4gqrG for ; Tue, 8 Nov 2022 00:34:32 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic310-22.consmr.mail.gq1.yahoo.com (sonic310-22.consmr.mail.gq1.yahoo.com [98.137.69.148]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4N5pyH0Gb7z3M9F for ; Tue, 8 Nov 2022 00:34:30 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1667867668; bh=t9d+PgWzr02JujgTTIQw/CSmxVzmLEBCEjdNSrCwpNU=; h=From:Subject:Date:Cc:To:References:From:Subject:Reply-To; b=Xg4DfnjZx2I3r3au+hipW5MfFoX2dZUkRv+3uh/jtvjtnP76vpbVv3hg5IYXre9oqSl7C9YGzW1AHcAkZpy7lQ2keNgjJMcsIF+R9fqzLuxx6JG3xC9vIgw6aAq78YV39Ab/kimCe9qSE09I2sCHpyZQ1tfmeTGjbcG8fUt649Ygpjact6wrSc2aYI76tZIpA/43sKj3NHWqTttUDdaOs0hzV4fDKasIjLLpp4nnjE4ySk2dsDSbvBLBEPnMgVQubHeGt0VyVKoQvTqmWxPpSL7Wv0i/GRGveZZL0j8N6CdTIb5nFm1Dv2pcYXx4ceGOT536O6S4acvWXHd3ixVMBA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1667867668; bh=ILI/uzDRO7YV6ebODKIeDkJTTR9wrO0wR0SY9E8qw+2=; h=X-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EAAQP5JOwmBPL1_6LBkXtCg1.z4oxxw9RD_zvy.I__ubGftklPA_kilmZ V.TWJZLqDaYg_kuqgjNotJzaUyFvdMpRzV.J.hVE_QLdbbxQ1.r1YrsKIpnXMDsUcQOZpkbQRE02 pndbzwxs2VX7cQkpyf82l830g_YpzRx9cazW0fnEdmyaIm2oC_1jCH0MwPc_M2TjsfQPGFJlXDBz Xjb3kuqBHz_Fd1gRDm4UrTyh3OQJLtviZxKxQfiRSyO2LHOd9mdPDs1xbu8ax27SlpKhfVxY.BT2 tDCQugFR04727zcmE.AezrOHpxG7t1ocrXPE4W95iaK81vNAv1EJrnjS7fsRNx1pW.FdBT4.THF. lcg_V0sHRa2TBDy_tHLBB3FhD.mFU9DENsLZcdUntn3fR_t9ub6IHRkmE_Z2ivQ51hi7M9nzWajL MT.jXfXCVaeCiFtyJA7zRhHi9ZvGBWK1zA09PFBnMRQO1pWVrxXoQe3nxP2oqB1pGvzc3UMjQrXt 3hW1iWQHouOjjaFmOM92Gmu4LyuD8c3hEmfTQsakT7PNq.gLbQCqJs_H.d6smVL10Y6D8.WfeFPY Ao.sk X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.gq1.yahoo.com with HTTP; Tue, 8 Nov 2022 00:34:28 +0000 Received: by hermes--production-gq1-579bc4bddd-hbm49 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID d5eef3dcc86b3b4b1fbc891067ca8fc0; Tue, 08 Nov 2022 00:34:25 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.200.110.1.12\)) Subject: Re: git: 72a1cb05cd23 - main - rc(8): Add a zpoolupgrade rc.d script Message-Id: Date: Mon, 7 Nov 2022 16:34:14 -0800 Cc: Alexander@leidinger.net, Li-Wen Hsu To: Warner Losh , dev-commits-src-main@freebsd.org X-Mailer: Apple Mail (2.3731.200.110.1.12) References: X-Rspamd-Queue-Id: 4N5pyH0Gb7z3M9F X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=Xg4DfnjZ; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.69.148 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ARC_NA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.148:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[dev-commits-src-main@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.148:from] X-ThisMailContainsUnwantedMimeParts: N Warner Losh wrote on Date: Mon, 07 Nov 2022 21:23:11 UTC : > On Mon, Nov 7, 2022 at 4:15 AM Alexander Leidinger = > wrote: >=20 > > > . . . > > > > And this brings me to a second topic, we don't have an explicit list > > of features which are supported by the bootloader (I had a look at = the > > zfs and the boot related man pages, if I overlooked a place, then = the > > other places should reference this important part with some text). > > >=20 > There is a fixed list of features we support in the boot loader: >=20 > /* > * List of ZFS features supported for read > */ > static const char *features_for_read[] =3D { > "org.illumos:lz4_compress", > "com.delphix:hole_birth", > "com.delphix:extensible_dataset", > "com.delphix:embedded_data", > "org.open-zfs:large_blocks", > "org.illumos:sha512", > "org.illumos:skein", > "org.zfsonlinux:large_dnode", > "com.joyent:multi_vdev_crash_dump", > "com.delphix:spacemap_histogram", > "com.delphix:zpool_checkpoint", > "com.delphix:spacemap_v2", > "com.datto:encryption", > "com.datto:bookmark_v2", > "org.zfsonlinux:allocation_classes", > "com.datto:resilver_defer", > "com.delphix:device_removal", > "com.delphix:obsolete_counts", > "com.intel:allocation_classes", > "org.freebsd:zstd_compress", > "com.delphix:bookmark_written", > "com.delphix:head_errlog", As an example of a more general question (referencing a zpool feature, if I understand right): com.delphix:head_errlog in the loaders from 13.1-RELEASE? 13.1-RELEASE-p3? 12.3-RELEASE*? (The future 12.4-RELEASE?) head_errlog is an interesting example because of "man zpool-features" reporting the below --and it being fairly new: "READ-ONLY COMPATIBLE no" and: "This feature becomes active as soon as it is enabled and will never return to being enabled." I guess the loader avoids types of read activity that cause the more general "READ-ONLY COMPATIBLE no" status. (I use the example just because I've indirectly run into it before, but in a more limited context. It may not be the best of examples for the general question.) Does each RELEASE and release-update get its own, documented zpool feature list for its loaders? (There might be a question for a zfs vs. zpool feature distinction as well?) > "org.openzfs:blake3", > NULL > }; The overall list definitely goes beyond what is listed in: /usr/share/zfs/compatibility.d/openzfs-2.1-freebsd > Any feature not on this list will cause the boot loader to reject the = pool. >=20 > Whether or not it should do that by default, always, or never is an = open > question. I've thought there should be a 'shoot footing' override that = isn't > there today. =3D=3D=3D Mark Millard marklmi at yahoo.com