@ahrens will provide anything needed to nail this down. I sure have a huge
interest in getting this merged.
I will start with reproducing the L2ARC issue with kmem_flags set, as the
second issue puzzles me as well. I can reproduce this currently only on my
700GB dataset, there migt be something special with it.
I am applying these bits to Smartos, I only have to fix a simple issue by hand
in dmu_send.c which differs slightly from Illumos
--- usr/src/uts/common/fs/zfs/dmu_send.c
+++ usr/src/uts/common/fs/zfs/dmu_send.c
@@ -3101,9 +3592,10 @@ receive_read_record(struct receive_arg *ra)
case DRR_OBJECT:
{
struct drr_object *drro = &ra->rrd->header.drr_u.drr_object;
- uint32_t size = P2ROUNDUP(drro->drr_bonuslen, 8);
+ uint32_t size = DRR_OBJECT_PAYLOAD_SIZE(drro);
void *buf = kmem_zalloc(size, KM_SLEEP);
dmu_object_info_t doi;
+
err = receive_read_payload_and_next_header(ra, size, buf);
if (err != 0) {
kmem_free(buf, size);
I can easily provide the resulting platform bits as well as the iso if you
prefer.
--
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/489#issuecomment-376405409
------------------------------------------
openzfs: openzfs-developer
Permalink:
https://openzfs.topicbox.com/groups/developer/discussions/T91797982fdd5b7d9-M241eb145fdefb72408295f29
Delivery options: https://openzfs.topicbox.com/groups