From 17a2b35be577db50c19f3c1bd8f64e69abdc085b Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Wed, 2 Oct 2024 20:59:35 -0700 Subject: [PATCH] Update compatibility.d files Add an openzfs-2.3 compatibility file for the next release. While there are no compatibility difference between Linux and FreeBSD for 2.3 symlinks for the -linux and -freebsd names are created for any scripts expecting that convention. Reviewed-by: Rob Norris Reviewed-by: Tino Reichardt Signed-off-by: Brian Behlendorf Closes #16588 --- cmd/zpool/Makefile.am | 5 ++- cmd/zpool/compatibility.d/openzfs-2.3 | 45 +++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 cmd/zpool/compatibility.d/openzfs-2.3 diff --git a/cmd/zpool/Makefile.am b/cmd/zpool/Makefile.am index 8a218d365..2f962408e 100644 --- a/cmd/zpool/Makefile.am +++ b/cmd/zpool/Makefile.am @@ -147,6 +147,7 @@ dist_zpoolcompat_DATA = \ %D%/compatibility.d/openzfs-2.1-freebsd \ %D%/compatibility.d/openzfs-2.1-linux \ %D%/compatibility.d/openzfs-2.2 \ + %D%/compatibility.d/openzfs-2.3 \ %D%/compatibility.d/openzfsonosx-1.7.0 \ %D%/compatibility.d/openzfsonosx-1.8.1 \ %D%/compatibility.d/openzfsonosx-1.9.3 \ @@ -184,7 +185,9 @@ zpoolcompatlinks = \ "zol-0.8 ubuntu-20.04" \ "openzfs-2.1-linux ubuntu-22.04" \ "openzfs-2.2 openzfs-2.2-linux" \ - "openzfs-2.2 openzfs-2.2-freebsd" + "openzfs-2.2 openzfs-2.2-freebsd" \ + "openzfs-2.3 openzfs-2.3-linux" \ + "openzfs-2.3 openzfs-2.3-freebsd" zpoolconfdir = $(sysconfdir)/zfs/zpool.d INSTALL_DATA_HOOKS += zpool-install-data-hook diff --git a/cmd/zpool/compatibility.d/openzfs-2.3 b/cmd/zpool/compatibility.d/openzfs-2.3 new file mode 100644 index 000000000..d06209880 --- /dev/null +++ b/cmd/zpool/compatibility.d/openzfs-2.3 @@ -0,0 +1,45 @@ +# Features supported by OpenZFS 2.3 on Linux and FreeBSD +allocation_classes +async_destroy +blake3 +block_cloning +bookmark_v2 +bookmark_written +bookmarks +device_rebuild +device_removal +draid +edonr +embedded_data +empty_bpobj +enabled_txg +encryption +extensible_dataset +fast_dedup +filesystem_limits +head_errlog +hole_birth +large_blocks +large_dnode +large_microzap +livelist +log_spacemap +longname +lz4_compress +multi_vdev_crash_dump +obsolete_counts +project_quota +raidz_expansion +redacted_datasets +redaction_bookmarks +redaction_list_spill +resilver_defer +sha512 +skein +spacemap_histogram +spacemap_v2 +userobj_accounting +vdev_zaps_v2 +zilsaxattr +zpool_checkpoint +zstd_compress