HomeFreeBSD

Fix issues with raw sends of spill blocks

Description

Fix issues with raw sends of spill blocks

This patch fixes 2 issues in how spill blocks are processed during
raw sends. The first problem is that compressed spill blocks were
using the logical length rather than the physical length to
determine how much data to dump into the send stream. The second
issue is a typo that caused the spill record's object number to be
used where the objset's ID number was required. Both issues have
been corrected, and the payload_size is now printed in zstreamdump
for future debugging.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tom Caputi <tcaputi@datto.com>
Closes #7378
Closes #7432

Details

Provenance
Tom Caputi <tcaputi@datto.com>Authored on Apr 17 2018, 6:19 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Apr 17 2018, 6:19 PM
Parents
rGe14a32b1c844: Fix object reclaim when using large dnodes
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGb0ee5946aaee: Fix issues with raw sends of spill blocks (authored by Tom Caputi <tcaputi@datto.com>).Apr 17 2018, 6:19 PM