Illumos 6393 zfs receive a full send as a clone #4221
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Illumos 6393 zfs receive a full send as a clone
Reviewed by: Matthew Ahrens [email protected]
Reviewed by: Prakash Surya [email protected]
Reviewed by: Richard Elling [email protected]
Approved by: Dan McDonald [email protected]
References:
https://www.illumos.org/issues/6393
illumos/illumos-gate@68ecb2e
diverged code base from Illumos:
[module/zfs/dmu_send.c]
zfsonlinux@fcff0f3 Illumos 5960, 5925
(due to ISO C90 & braces around #ifdef ZFS_DEBUG; now equal to upstream again)
ISO C90 - mixed declarations and code: for (struct receive_objnode *n = list_remove_head(&list->list);
struct receive_objnode *last_object;
Reorder code in function 'objlist_insert'
around the #ifdef ZFS_DEBUG statement
to account for unused variable & ISO C90 warnings
Remove
struct receive_ign_obj_node *n;
from Illumos 5960, 5925 which now isn't needed anymore (ISO C90).
Ported-by: kernelOfTruth [email protected]