HomeFreeBSD

Ensure dsl scan prefetch queue is emptied

Description

Ensure dsl scan prefetch queue is emptied

This patch simply ensures that scn->scn_prefetch_queue is emptied
before the kernel module is unloaded and when scanning completes.

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

Details

Provenance
Tom Caputi <tcaputi@datto.com>Authored on Dec 6 2018, 5:47 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Dec 6 2018, 5:47 PM
Parents
rGb53cb02d9252: Fix 'zfs receive -F' message when destination has snapshots
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGd6496040d904: Ensure dsl scan prefetch queue is emptied (authored by Tom Caputi <tcaputi@datto.com>).Dec 6 2018, 5:47 PM