HomeFreeBSD

ztest: ENOSPC in ztest_objset_destroy_cb()

Description

ztest: ENOSPC in ztest_objset_destroy_cb()

While unlikely it is possible for dsl_destroy_head() to return
ENOSPC in the ztest_objset_destroy_cb(). This can occur even
when ZFS_SPACE_CHECK_DESTROY is used with the dsl_sync_task().
Both the existence of a checkpoint and pending deferred frees
can cause this.

Reviewed-by: Serapheim Dimitropoulos <serapheim.dimitro@delphix.com>
Reviewed-by: Tom Caputi <tcaputi@datto.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #8206

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Dec 14 2018, 6:03 PM
GitHub <noreply@github.com>Committed on Dec 14 2018, 6:03 PM
Parents
rG98d07d579839: OpenZFS 9559 - zfs diff handles files on delete queue in fromsnap poorly
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG0dd6b6bfcb2c: ztest: ENOSPC in ztest_objset_destroy_cb() (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Dec 14 2018, 6:03 PM