mirror_zfs/cmd
Alexander Motin 9f2cbea1dc zdb: Fix asize overflow in verify_livelist_allocs()
Spacemap entry might be too big to fit into a block pointer ashift.
We hit an assertion trying to run `zdb -bvy` on a large pool.  But
it seems the code does not really need size there, since we only
need to search for a range of offsets, so setting it to zero should
just make btree return position just before the first entry.  I
suspect the previous code could actually miss the first entry
due to this if its size was smaller.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Igor Kozhukhov <igor@dilos.org>
Signed-off-by: Alexander Motin <alexander.motin@TrueNAS.com>
Closes #17764
2025-10-22 10:36:30 -07:00
..
raidz_test SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
zdb zdb: Fix asize overflow in verify_livelist_allocs() 2025-10-22 10:36:30 -07:00
zed zed: prettify slack notification message 2025-08-12 17:24:15 -07:00
zfs Add interface to interface spa_get_worst_case_min_alloc() function 2025-10-21 11:02:42 -07:00
zinject SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
zpool Fix 'zpool add' safety check corner cases 2025-10-21 11:02:35 -07:00
zpool_influxdb SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
zstream SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
arc_summary add uncompressed_size to arc_summary 2025-08-19 10:30:04 -07:00
arcstat.in arcstat: prevent ZeroDivisionError when L2ARC becomes empty 2025-05-28 16:00:28 -07:00
dbufstat.in SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
fsck.zfs.in cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
Makefile.am build: rename FORCEDEBUG_CPPFLAGS to LIBZPOOL_CPPFLAGS 2024-08-27 12:53:27 -07:00
mount_zfs.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
zfs_ids_to_path.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
zgenhostid.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
zhack.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
zilstat.in SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
ztest.c Revert "Fix incorrect expected error in ztest" 2025-08-12 17:18:40 -07:00
zvol_wait zvol_wait logic may terminate prematurely 2022-10-11 12:12:04 -07:00