From 8f4b42281a5852ac97606ae4e70dde2d86353c8f Mon Sep 17 00:00:00 2001 From: Umer Saleem Date: Wed, 25 Oct 2023 20:14:24 +0500 Subject: [PATCH] Add all read-only compatible zpool features to grub2 compatibility GRUB opens the boot pool in read-only mode. All read-only compatible features for zpool can be enabled and added to grub2 compatibility, as GRUB does not open the boot-pool for write. Signed-off-by: Umer Saleem --- cmd/zpool/compatibility.d/grub2 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/cmd/zpool/compatibility.d/grub2 b/cmd/zpool/compatibility.d/grub2 index fec73a269a78..8c3a3ce11d94 100644 --- a/cmd/zpool/compatibility.d/grub2 +++ b/cmd/zpool/compatibility.d/grub2 @@ -1,6 +1,9 @@ # Features which are supported by GRUB2 +allocation_classes async_destroy +block_cloning bookmarks +device_rebuild embedded_data empty_bpobj enabled_txg @@ -9,6 +12,13 @@ filesystem_limits hole_birth large_blocks livelist +log_spacemap lz4_compress +obsolete_counts +project_quota +resilver_defer spacemap_histogram +spacemap_v2 +userobj_accounting +zilsaxattr zpool_checkpoint