Import Illumos revision 13736:9f1d48e1681f
2901 ZFS receive fails for exabyte sparse files References: https://www.illumos.org/issues/2901 Obtained from: illumos (issue #2901) MFC after: 1 week
This commit is contained in:
parent
7027b9cda4
commit
de37372f73
@ -93,6 +93,9 @@ dump_free(dmu_sendarg_t *dsp, uint64_t object, uint64_t offset,
|
||||
{
|
||||
struct drr_free *drrf = &(dsp->dsa_drr->drr_u.drr_free);
|
||||
|
||||
if (length != -1ULL && offset + length < offset)
|
||||
length = -1ULL;
|
||||
|
||||
/*
|
||||
* If there is a pending op, but it's not PENDING_FREE, push it out,
|
||||
* since free block aggregation can only be done for blocks of the
|
||||
|
Loading…
Reference in New Issue
Block a user