mirror_zfs/man
Alexander Motin f70c85086b
BRT: Fix ZAP entry endianness
During original block cloning implementation a mistake was made,
making BRT ZAP entries an array of 8 1-byte entries instead of 1
entry of 8 bytes. This makes the pools non-endian-safe.

This commit introduces a new read-compatible pool feature
"com.truenas:block_cloning_endian", fixing the endianness issue
for new pools while maintaining compatibility with existing ones.

The feature is automatically activated when creating the first BRT
ZAP (ensuring we don't activate it on pools that already have BRT
entries in the old format).  When active, BRT entries are stored
as single 8-byte values.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by:	Alexander Motin <alexander.motin@TrueNAS.com>
Closes #17572
2025-07-30 09:42:47 -07:00
..
man1 libzpool: tunable-based option interface for zdb/ztest 2025-07-15 15:47:03 -07:00
man4 Default to zfs_bclone_wait_dirty=1 2025-07-25 10:42:23 -04:00
man5 SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
man7 BRT: Fix ZAP entry endianness 2025-07-30 09:42:47 -07:00
man8 zpool/zfs: Add '-a|--all' option to scrub, trim, initialize 2025-07-29 14:50:44 -07:00
Makefile.am Introduce zfs rewrite subcommand (#17246) 2025-05-12 10:22:17 -07:00