From d3e0138a3d186d61a13b9b8450c3b0d1b0ba9398 Mon Sep 17 00:00:00 2001 From: Colm Date: Fri, 26 May 2023 10:04:19 -0700 Subject: [PATCH] Adding new read-only compatible zpool features to compatibility.d/grub2 GRUB2 is compatible with all "read-only compatible" features, so it is safe to add new features of this type to the grub2 compatibility list. We generally want to include all compatible features, to minimize the differences between grub2-compatible pools and no-compatibility pools. Adding new properties `livelist` and `zpool_checkpoint` accordingly. Also adding them to the man page which references this file as an example, for consistency. Reviewed-by: Richard Yao Reviewed-by: Brian Behlendorf Signed-off-by: Colm Buckley Closes #14893 --- cmd/zpool/compatibility.d/grub2 | 2 ++ man/man7/zpool-features.7 | 2 ++ 2 files changed, 4 insertions(+) diff --git a/cmd/zpool/compatibility.d/grub2 b/cmd/zpool/compatibility.d/grub2 index 4e8f21362..fec73a269 100644 --- a/cmd/zpool/compatibility.d/grub2 +++ b/cmd/zpool/compatibility.d/grub2 @@ -8,5 +8,7 @@ extensible_dataset filesystem_limits hole_birth large_blocks +livelist lz4_compress spacemap_histogram +zpool_checkpoint diff --git a/man/man7/zpool-features.7 b/man/man7/zpool-features.7 index 2b7dcb638..b901ce6c2 100644 --- a/man/man7/zpool-features.7 +++ b/man/man7/zpool-features.7 @@ -228,8 +228,10 @@ extensible_dataset filesystem_limits hole_birth large_blocks +livelist lz4_compress spacemap_histogram +zpool_checkpoint .No example# Nm zpool Cm create Fl o Sy compatibility Ns = Ns Ar grub2 Ar bootpool Ar vdev .Ed