mirror of
https://github.com/opnsense/src.git
synced 2026-03-12 21:52:51 -04:00
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
1 changed files with 3 additions and 0 deletions
|
|
@ -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 a new issue