HomeFreeBSD

Some ZIO micro-optimizations.

Description

Some ZIO micro-optimizations.

  • Pack struct zio_prop by 4 bytes from 84 to 80.
    • Skip new child ZIO locking while linking to parent. The newly

allocated ZIO is not externally visible yet, so nobody should care.

  • Skip io_bp_copy writes when not used (write && non-debug).

Reviewed-by: Brian Atkinson <batkinson@lanl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Sponsored by: iXsystems, Inc.
Closes #14985

Details

Provenance
mavAuthored on Jun 30 2023, 3:54 PM
GitHub <noreply@github.com>Committed on Jun 30 2023, 3:54 PM
Parents
rGfa7b2390d498: Do not report bytes skipped by scan as issued.
Branches
Unknown
Tags
Unknown

Event Timeline