HomeFreeBSD

Avoid waiting in dmu_sync_late_arrival().

Description

Avoid waiting in dmu_sync_late_arrival().

The transaction there does not produce any dirty data or log blocks,
so it should not be throttled. All other cases wait for TXG sync, by
which time the log block we are writing will be obsolete, so we can
skip waiting and just return error here instead.

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

Details

Provenance
mavAuthored on Jul 27 2023, 4:07 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Aug 25 2023, 6:58 PM
Parents
rG0ae7bfc0a424: zpool_vdev_remove() should handle EALREADY error return
Branches
Unknown
Tags
Unknown

Event Timeline