HomeFreeBSD

Refactor Log Size Limit

Description

Refactor Log Size Limit

Original Log Size Limit implementation blocked all writes in case of
limit reached until the TXG is committed and the log is freed. It
caused huge delays and following speed spikes in application writes.

This implementation instead smoothly throttles writes, using exactly
the same mechanism as used for dirty data.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: jxdking <lostking2008@hotmail.com>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Sponsored-By: iXsystems, Inc.
Issue #12284
Closes #13476

Details

Provenance
mavAuthored on May 24 2022, 4:46 PM
GitHub <noreply@github.com>Committed on May 24 2022, 4:46 PM
Parents
rGf375b23c026a: Tiered early abort, zstd edition
Branches
Unknown
Tags
Unknown

Event Timeline