mirror_zfs/module/zcommon
Paul Dagnelie a981cb69e4 Implement dynamic gang header sizes
ZFS gang block headers are currently fixed at 512 bytes. This is
increasingly wasteful in the era of larger disk sector sizes. This PR
allows any size allocation to work as a gang header. It also contains
supporting changes to ZDB to make gang headers easier to work with.

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Rob Norris <rob.norris@klarasystems.com>
Reviewed-by: Allan Jude <allan@klarasystems.com>
Signed-off-by: Paul Dagnelie <paul.dagnelie@klarasystems.com>
Closes #17004
2025-07-09 14:02:53 -07:00
..
cityhash.c SPDX: license tags: MIT 2025-03-13 17:56:54 -07:00
simd_stat.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zfeature_common.c Implement dynamic gang header sizes 2025-07-09 14:02:53 -07:00
zfs_comutil.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zfs_deleg.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zfs_fletcher_aarch64_neon.c SPDX: license tags: BSD-2-Clause OR GPL-2.0-only 2025-03-13 17:57:21 -07:00
zfs_fletcher_avx512.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zfs_fletcher_intel.c SPDX: license tags: BSD-2-Clause OR GPL-2.0-only 2025-03-13 17:57:21 -07:00
zfs_fletcher_sse.c SPDX: license tags: BSD-2-Clause OR GPL-2.0-only 2025-03-13 17:57:21 -07:00
zfs_fletcher_superscalar4.c SPDX: license tags: BSD-2-Clause OR GPL-2.0-only 2025-03-13 17:57:21 -07:00
zfs_fletcher_superscalar.c SPDX: license tags: BSD-2-Clause OR GPL-2.0-only 2025-03-13 17:57:21 -07:00
zfs_fletcher.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zfs_namecheck.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zfs_prop.c Relax special_small_blocks restrictions 2025-07-02 11:11:37 -07:00
zfs_valstr.c metaslab: don't pass whole zio to throttle reserve APIs 2025-07-04 23:22:22 -04:00
zpool_prop.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zprop_common.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00