Skip to content

Commit

Permalink
Add all read-only compatible zpool features to grub2 compatibility
Browse files Browse the repository at this point in the history
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 openzfs#15459
  • Loading branch information
usaleem-ix committed Nov 1, 2023
1 parent fa2d8bd commit 6102c64
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions cmd/zpool/compatibility.d/grub2
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

0 comments on commit 6102c64

Please sign in to comment.