HomeFreeBSD

ZIL: Replay blocks without next block pointer.

Description

ZIL: Replay blocks without next block pointer.

If we get next block allocation error during log write, we trigger
transaction commit. But the block we have just completed is still
written and transactions it covers will be acknowledged normally.
If after that we ignore the block during replay just because it is
the last in the chain, we may not replay some transactions that we
have acknowledged as synced, that is not right.

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

Details

Provenance
mavAuthored on Aug 11 2023, 4:04 PM
GitHub <noreply@github.com>Committed on Aug 11 2023, 4:04 PM
Parents
rGbdb7df424518: ZIL: Avoid dbuf_read() before dmu_sync().
Branches
Unknown
Tags
Unknown