mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 18:40:43 +03:00
OpenZFS 7404 - rootpool_007_neg, bootfs_006_pos and bootfs_008_neg tests fail with the loader project bits
Authored by: Toomas Soome <tsoome@me.com> Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Marcel Telka <marcel@telka.sk> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Richard Lowe <richlowe@richlowe.net> Reviewed-by: George Melikov <mail@gmelikov.ru> Ported-by: Brian Behlendorf <behlendorf1@llnl.gov> Porting Notes: - Removed gzip and zle compression restriction on bootfs datasets. Grub added support for these long ago. Ay version of grub which understands lz4 also supports this. - Enabled rootpool tests in runfile but skipped by default in setup on Linux since they modify the rootpool. - bootfs_006_pos.ksh, striped pools are allowed as bootfs. OpenZFS-issue: https://www.illumos.org/issues/7404 OpenZFS-commit: https://github.com/openzfs/openzfs/commit/55a424c Closes #5982
This commit is contained in:
committed by
Brian Behlendorf
parent
10f251191f
commit
8aab121821
@@ -120,6 +120,16 @@ enum zio_checksum {
|
||||
#define BOOTFS_COMPRESS_VALID(compress) \
|
||||
((compress) == ZIO_COMPRESS_LZJB || \
|
||||
(compress) == ZIO_COMPRESS_LZ4 || \
|
||||
(compress) == ZIO_COMPRESS_GZIP_1 || \
|
||||
(compress) == ZIO_COMPRESS_GZIP_2 || \
|
||||
(compress) == ZIO_COMPRESS_GZIP_3 || \
|
||||
(compress) == ZIO_COMPRESS_GZIP_4 || \
|
||||
(compress) == ZIO_COMPRESS_GZIP_5 || \
|
||||
(compress) == ZIO_COMPRESS_GZIP_6 || \
|
||||
(compress) == ZIO_COMPRESS_GZIP_7 || \
|
||||
(compress) == ZIO_COMPRESS_GZIP_8 || \
|
||||
(compress) == ZIO_COMPRESS_GZIP_9 || \
|
||||
(compress) == ZIO_COMPRESS_ZLE || \
|
||||
(compress) == ZIO_COMPRESS_ON || \
|
||||
(compress) == ZIO_COMPRESS_OFF)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user