Ramzec commented on this pull request.


-       return (0);
+       switch (new_type) {
+       case HOLE:
+               pending->sru.hole.datablksz = datablksz;
+               break;
+       case DATA:
+               pending->sru.data.datablksz = datablksz;
+               pending->sru.data.obj_type = dn->dn_type;
+               pending->sru.data.bp = *bp;
+               if (spta->issue_prefetches) {
+                       zbookmark_phys_t zb = {0};
+                       zb.zb_objset = dmu_objset_id(dn->dn_objset);
+                       zb.zb_object = dn->dn_obj

I meant the following code-block (dmu_send.c line 2127):
+       if (fnvlist_num_pairs(nvl) > 0) {
 +              payload = fnvlist_pack(nvl, &payload_len);
 +              drr->drr_payloadlen = payload_len;
 +      }

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/484#discussion_r152377585
------------------------------------------
openzfs-developer
Archives: 
https://openzfs.topicbox.com/groups/developer/discussions/T1fcfd4fc81bcdfff-M96e382a40ae719a2ef6bf853
Powered by Topicbox: https://topicbox.com

Reply via email to