]> git.proxmox.com Git - mirror_zfs.git/commitdiff
Remove obsolete_counts from grub2 compatibility list
authorUmer Saleem <usaleem@ixsystems.com>
Tue, 7 Nov 2023 20:04:56 +0000 (01:04 +0500)
committerGitHub <noreply@github.com>
Tue, 7 Nov 2023 20:04:56 +0000 (12:04 -0800)
PR#15459 add all read-only compatible zpool features to grub2
compatibility list. 'obsolete_counts' is a read-only features that
depends on 'device_removal' feature which is not read-only and
is marked as ZFEATURE_FLAG_MOS. Creating a pool with grub2
compatibility enables 'device_removal' feature as well, which is
not desired.

This commit removes the 'obsolete_counts' feature from
grub2 compatibility list, as GRUB only supports read-only
compatible features.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Umer Saleem <usaleem@ixsystems.com>
Closes #15499

cmd/zpool/compatibility.d/grub2

index 8c3a3ce11d94a097f0abbb6c8c296a310074f50b..6d60e643593b7a9ba06dd61fcd56a7fffd8e9729 100644 (file)
@@ -14,7 +14,6 @@ large_blocks
 livelist
 log_spacemap
 lz4_compress
-obsolete_counts
 project_quota
 resilver_defer
 spacemap_histogram