mirror_zfs/include
Alexander Motin 19b9d93970 BRT: Fix ranges to blocks conversion math
BRT_RANGESIZE_TO_NBLOCKS() takes number of ranges as its argument.
To get number of blocks we should multiply it by the entry size,
not divide by it, as it was due to missing parentheses.

Before #17875 this could cause small memory corruptions for vdevs
bigger than 64TB, but the change made the bug more noticeable.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Alexander Motin <alexander.motin@TrueNAS.com>
Closes #17886
Closes #17915
2025-11-12 09:52:16 -08:00
..
os zvol: Fix blk-mq sync 2025-10-21 11:02:42 -07:00
sys BRT: Fix ranges to blocks conversion math 2025-11-12 09:52:16 -08:00
.gitignore OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00
cityhash.h SPDX: license tags: MIT 2025-04-16 09:59:44 -07:00
libnvpair.h SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
libuutil_common.h SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
libuutil_impl.h SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
libuutil.h SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
libzdb.h libzdb: Initial breakout of libzdb 2024-02-05 10:00:41 -08:00
libzfs_core.h SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
libzfs.h Expose dataset encryption status via fast stat path 2025-06-17 10:49:40 -07:00
libzfsbootenv.h SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
libzutil.h SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
Makefile.am include: move zio_priority_t into zfs.h 2025-02-28 00:42:29 +05:00
thread_pool.h SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
zfeature_common.h SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
zfs_comutil.h SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
zfs_deleg.h SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
zfs_fletcher.h SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
zfs_namecheck.h SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
zfs_prop.h SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
zfs_valstr.h SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00