HomeFreeBSD

Refactor dnode dirty context from dbuf_dirty

Description

Refactor dnode dirty context from dbuf_dirty

  • Add dedicated donde_set_dirtyctx routine.
  • Add empty dirty record on destroy assertion.
  • Make much more extensive use of the SET_ERROR macro.

Reviewed-by: Will Andrews <wca@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Signed-off-by: Matt Macy <mmacy@FreeBSD.org>
Closes #9924

Details

Provenance
mmacyAuthored on Feb 27 2020, 12:09 AM
GitHub <noreply@github.com>Committed on Feb 27 2020, 12:09 AM
Parents
rG647ff8e975d2: ZTS: Fix zfs_copies_002_pos
Branches
Unknown
Tags
Unknown