mirror_zfs/cmd/zdb
Alexander Motin 3afdc97d91
ZIO: Remove READY pipeline stage from root ZIOs
zio_root() has no arguments for ready callback or parent ZIO. Except
one recent case in ZIL code if root ZIOs ever have a parent it is
also a root ZIO.  It means we do not need READY pipeline stage for
them, which takes some time to process, but even more time to wait
for the children and be woken by them, and both for no good reason.

The most visible effect of this change is that it avoids one taskq
wakeup per ZIL block written, previously used to run zio_ready()
for lwb_root_zio and skipped now.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by:	Alexander Motin <mav@FreeBSD.org>
Sponsored by:	iXsystems, Inc.
Closes #15398
2023-10-25 15:22:25 -07:00
..
Makefile.am zdb: add decryption support 2023-03-02 13:39:09 -08:00
zdb_il.c Implementation of block cloning for ZFS 2023-03-10 11:59:53 -08:00
zdb.c ZIO: Remove READY pipeline stage from root ZIOs 2023-10-25 15:22:25 -07:00
zdb.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00