diff options
author | Tom Caputi <[email protected]> | 2018-08-20 14:03:56 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-08-20 11:03:56 -0700 |
commit | 149ce888bb14a220036ca3e5b301e3b56451bd71 (patch) | |
tree | 693a3b880bd10701fc13153bf866d4c37dded8a9 /LICENSE | |
parent | c962fd6c4e3836be223af93b0d75d92e8ee98fb4 (diff) |
Fix issues with raw receive_write_byref()
This patch fixes 2 issues with raw, deduplicated send streams. The
first is that datasets who had been completely received earlier in
the stream were not still marked as raw receives. This caused
problems when newly received datasets attempted to fetch raw data
from these datasets without this flag set.
The second problem was that the arc freeze checksum code was not
consistent about which locks needed to be held while performing
its asserts. The proper locking needed to run these asserts is
actually fairly nuanced, since the asserts touch the linked list
of buffers (requiring the header lock), the arc_state (requiring
the b_evict_lock), and the b_freeze_cksum (requiring the
b_freeze_lock). This seems like a large performance sacrifice and
a lot of unneeded complexity to verify that this relatively small
debug feature is working as intended, so this patch simply removes
these asserts instead.
Reviewed by: Matthew Ahrens <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Tom Caputi <[email protected]>
Closes #7701
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions