allanjude commented on this pull request.


> @@ -2669,6 +2678,18 @@ receive_read_record(struct receive_arg *ra)
        case DRR_WRITE:
        {
                struct drr_write *drrw = &ra->rrd->header.drr_u.drr_write;
+               if (drrw->drr_compressiontype >= ZIO_COMPRESS_FUNCTIONS)
+                       return (SET_ERROR(ENOTSUP));
+               if (drrw->drr_checksumtype >= ZIO_CHECKSUM_FUNCTIONS)
+                       return (SET_ERROR(ENOTSUP));
+               if (P2PHASE(drrw->drrw->drr_logical_size, SPA_MINBLOCKSIZE))

fixed

-- 
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/630#discussion_r222130752
------------------------------------------
openzfs: openzfs-developer
Permalink: 
https://openzfs.topicbox.com/groups/developer/Tc3a0a7ad59c999df-Mcae0516813734976761cd86b
Delivery options: https://openzfs.topicbox.com/groups/developer/subscription

Reply via email to