diff options
author | Matthew Macy <mmacy@freebsd.org> | 2020-02-27 00:09:17 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-27 00:09:17 +0000 |
commit | 28caa74b196553aaafda6d0a881668735d627d82 (patch) | |
tree | 45c69d5ef7d50efd5b45c11037946dd8225dedaf /module/zfs/spa_checkpoint.c | |
parent | 647ff8e975d2087ade05d862eb19a589ab155126 (diff) | |
download | src-28caa74b196553aaafda6d0a881668735d627d82.tar.gz src-28caa74b196553aaafda6d0a881668735d627d82.zip |
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
Diffstat (limited to 'module/zfs/spa_checkpoint.c')
-rw-r--r-- | module/zfs/spa_checkpoint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/spa_checkpoint.c b/module/zfs/spa_checkpoint.c index 7b86bd417cd2..5fb614467273 100644 --- a/module/zfs/spa_checkpoint.c +++ b/module/zfs/spa_checkpoint.c @@ -212,7 +212,7 @@ spa_checkpoint_discard_sync_callback(space_map_entry_t *sme, void *arg) uint64_t end = sme->sme_offset + sme->sme_run; if (sdc->sdc_entry_limit == 0) - return (EINTR); + return (SET_ERROR(EINTR)); /* * Since the space map is not condensed, we know that |