HomeFreeBSD

Ensure dsl_destroy_head() decrypts objsets

Description

Ensure dsl_destroy_head() decrypts objsets

This patch corrects a small issue where the dsl_destroy_head()
code that runs when the async_destroy feature is disabled would
not properly decrypt the dataset before beginning processing.
If the dataset is not able to be decrypted, the optimization
code now simply does not run and the dataset is completely
destroyed in the DSL sync task.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tom Caputi <tcaputi@datto.com>
Closes #9021

Details

Provenance
Tom Caputi <tcaputi@datto.com>Authored on Jul 15 2019, 11:08 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jul 15 2019, 11:08 PM
Parents
rGff9630d1a800: Disable unused pathname::pn_path* (unneeded in Linux)
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG9949b856a043: Ensure dsl_destroy_head() decrypts objsets (authored by Tom Caputi <tcaputi@datto.com>).Jul 15 2019, 11:08 PM