diff options
author | Tom Caputi <[email protected]> | 2018-03-28 21:30:44 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-03-28 18:30:44 -0700 |
commit | 13a2ff2727dd5fb46b08570279689373a7d5b26a (patch) | |
tree | d1c86b4db6ae2cb2eb43bf582edfdae5a99cfde4 /module/zfs/qat_compress.c | |
parent | d2812de6f7e115d205f4fb730db2d134f362e0e7 (diff) |
Fix ASSERT in dsl_scan_fini() and cleanup comments
This patch fixes an issue where dsl_scan_prefetch_cb() might
add more prefetch I/Os to the prefetch queue after prefetching
has been completed. This was happening because that code was
checking scn->scn_suspending instead of scn->scn_prefetch_stop.
This occasionally triggered an ASSERT during ztest runs in
dsl_scan_fini() when the code attempted to destroy an AVL tree
that still had entires in it. This patch also includes a number
of spelling corrections and comment cleanups throughout
dsl_scan.c
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Tom Caputi <[email protected]>
Closes #7353
Diffstat (limited to 'module/zfs/qat_compress.c')
0 files changed, 0 insertions, 0 deletions