]> git.proxmox.com Git - mirror_zfs.git/commit
Ensure dsl scan prefetch queue is emptied
authorTom Caputi <tcaputi@datto.com>
Thu, 6 Dec 2018 17:47:23 +0000 (12:47 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 6 Dec 2018 17:47:23 +0000 (09:47 -0800)
commitd6496040d904c381d7ecdb113cfcab4964e033c1
treedf6fde310a69cd7cc51837f6b095073b141d3b75
parentb53cb02d925258ada06282d7dc4223a251edb5cb
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
module/zfs/dsl_scan.c