aboutsummaryrefslogtreecommitdiffstats
path: root/module/Makefile.in
diff options
context:
space:
mode:
authorTom Caputi <[email protected]>2018-05-01 14:24:20 -0400
committerBrian Behlendorf <[email protected]>2018-05-01 11:24:20 -0700
commit2c24b5b1487646f68960f25e13a1b0df645d4f49 (patch)
tree3f4ad2ba92d441d6a8b132daaa93f69024b6a71e /module/Makefile.in
parentd6133fc500ea8b4fdc1a51944cb17ea5e70f3137 (diff)
Fix issues found with zfs diff
Two deadlocks / ASSERT failures were introduced in a2c2ed1b which would occur whenever arc_buf_fill() failed to decrypt a block of data. This occurred because the call to arc_buf_destroy() which was responsible for cleaning up the newly created buffer would attempt to take out the hdr lock that it was already holding. This was resolved by calling the underlying functions directly without retaking the lock. In addition, the dmu_diff() code did not properly ensure that keys were loaded and mapped before begining dataset traversal. It turns out that this code does not need to look at any encrypted values, so the code was altered to perform raw IO only. Reviewed by: Matthew Ahrens <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Tom Caputi <[email protected]> Closes #7354 Closes #7456
Diffstat (limited to 'module/Makefile.in')
0 files changed, 0 insertions, 0 deletions