]> git.proxmox.com Git - mirror_zfs.git/commitdiff
Add all read-only compatible zpool features to grub2 compatibility
authorUmer Saleem <usaleem@ixsystems.com>
Tue, 31 Oct 2023 16:51:54 +0000 (21:51 +0500)
committerGitHub <noreply@github.com>
Tue, 31 Oct 2023 16:51:54 +0000 (09:51 -0700)
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 <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Umer Saleem <usaleem@ixsystems.com>
Closes #15459

cmd/zpool/compatibility.d/grub2

index fec73a269a789c8cf6a012da785ed7fbec1fa99e..8c3a3ce11d94a097f0abbb6c8c296a310074f50b 100644 (file)
@@ -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