HomeFreeBSD

Remove db_state DB_NOFILL checks from syncing context

Description

Remove db_state DB_NOFILL checks from syncing context

Syncing context should not depend on current state of dbuf, which
could already change several times in later transaction groups,
but rely solely on dirty record for the transaction group being
synced. Some of the checks seem already impossible, while instead
of others I think we should better check for absence of data in
the specific dirty record rather than DB_NOFILL.

Reviewed-by: Robert Evans <evansr@google.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Sponsored by: iXsystems, Inc.
Closes #16057

Details

Provenance
mavAuthored on Apr 8 2024, 10:23 PM
GitHub <noreply@github.com>Committed on Apr 8 2024, 10:23 PM
Parents
rG5e5fd0a1785a: Speculative prefetch for reordered requests
Branches
Unknown
Tags
Unknown