From 1c7048357d91d612ebde9429a06a889a15865643 Mon Sep 17 00:00:00 2001 From: Umer Saleem Date: Tue, 31 Oct 2023 21:51:54 +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. Reviewed-by: Brian Behlendorf Reviewed-by: Alexander Motin Signed-off-by: Umer Saleem Closes #15459 --- 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 fec73a269a..8c3a3ce11d 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