mirror_zfs/cmd/zdb
Alexander Motin c33a55b0c2
Allow dsl_deadlist_open() return errors
In some cases like dsl_dataset_hold_obj() it is possible to handle
those errors, so failure to hold dataset should be better than
kernel panic.  Some other places where these errors are still not
handled but asserted should be less dangerous just as unreachable.

We have a user report about pool corruption leading to assertions
on these errors.  Hopefully this will make behavior a bit nicer.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by:	Alexander Motin <mav@FreeBSD.org>
Sponsored by:	iXsystems, Inc.
Closes #16836
2024-12-04 15:15:58 -08:00
..
Makefile.am build: rename FORCEDEBUG_CPPFLAGS to LIBZPOOL_CPPFLAGS 2024-08-27 12:53:27 -07:00
zdb_il.c zfs_log: add flex array fields to log record structs 2024-09-27 09:18:11 -07:00
zdb.c Allow dsl_deadlist_open() return errors 2024-12-04 15:15:58 -08:00
zdb.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00