diff options
author | Tom Caputi <[email protected]> | 2019-04-10 10:17:36 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-04-15 15:28:48 -0700 |
commit | c2c6eadf29c8ab46f6c9fdc68688e65785d26b4b (patch) | |
tree | 2d77c42f2ca73214ad5fb4cd94de8d0cedef2cfb /module/lua/lzio.h | |
parent | 83472fabe5600695fdb07a3f158a9352cc5bf3af (diff) |
Fix issues with truncated files in raw sends
When receiving a raw send stream only reallocated objects
whose contents were not freed by the standard indicators
should call dmu_free_long_range().
Furthermore, if calling dmu_free_long_range() is required
then the objects current block size must be used and not
the new block size.
Two additional test cases were added to provided realistic
test coverage for processing reallocated objects which are
part of a raw receive.
Reviewed-by: Olaf Faaland <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Signed-off-by: Tom Caputi <[email protected]>
Closes #8528
Closes #8607
Diffstat (limited to 'module/lua/lzio.h')
0 files changed, 0 insertions, 0 deletions