Difference between revisions of "Documentation/ZfsSend"

Jump to navigation Jump to search
Line 110: Line 110:
dmu_recv_stream performs the processing of the FREE, FREEOBJECTS, OBJECT, etc records that follow the BEGIN record. Using restore_read to read individual records, dmu_recv_stream loops until it reaches the END record or an error occurs. For each type of record it calls a different method which executes the operations on the dataset that receive has been provided.
dmu_recv_stream performs the processing of the FREE, FREEOBJECTS, OBJECT, etc records that follow the BEGIN record. Using restore_read to read individual records, dmu_recv_stream loops until it reaches the END record or an error occurs. For each type of record it calls a different method which executes the operations on the dataset that receive has been provided.


{| border="1" style="border-collapse:collapse; text-align: center"
{| border="1" style="border-collapse:collapse; text-align: center; center"
|-
|-
| '''Record Type''' || '''Method Called'''
| '''Record Type''' || '''Method Called'''
Line 120: Line 120:
| WRITE || restore_write
| WRITE || restore_write
|-
|-
| WRITE_BYREF | restore_write_byref
| WRITE_BYREF || restore_write_byref
|-
|-
| FREE || restore_free
| FREE || restore_free