search for: dsl_dataset_phys

Displaying 2 results from an estimated 2 matches for "dsl_dataset_phys".

Did you mean: dsl_dataset_phys_t
2005 Dec 16
1
Miscalculation in a comment in dsl_dataset.h
Line 71 of http://cvs.opensolaris.org/source/xref/on/usr/src/uts/common/fs/zfs/sys/dsl_dataset.h#dsl_dataset_phys says uint64_t ds_pad[8]; /* pad out to 256 bytes for good measure */ But that padding actually increases dsl_dataset_phys to 320 bytes total; the structure is already 256 bytes without the padding. This message posted from opensolaris.org
2013 Oct 26
2
[PATCH] 1. changes for vdiskadm on illumos based platform
...t *mosmdn, cha *obj = headobj; skip: - if ((errnum = dnode_get(mosmdn, headobj, DMU_OT_DSL_DATASET, mdn, stack))) + if (errnum = dnode_get(mosmdn, headobj, DMU_OT_DSL_DATASET, mdn, stack)) return (errnum); if (issnapshot) { uint64_t snapobj; @@ -966,13 +1107,13 @@ skip: snapobj = ((dsl_dataset_phys_t *)DN_BONUS(mdn))-> ds_snapnames_zapobj; - if ((errnum = dnode_get(mosmdn, snapobj, - DMU_OT_DSL_DS_SNAP_MAP, mdn, stack))) + if (errnum = dnode_get(mosmdn, snapobj, + DMU_OT_DSL_DS_SNAP_MAP, mdn, stack)) return (errnum); if (zap_lookup(mdn, snapname + 1, &headob...