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
GitHub <noreply@github.com>Committed on Jul 27 2023, 4:07 PM
Parents
rG782312c61277: zed: Reduce log noise for large JBODs
Branches
Unknown
Tags
Unknown