search for: dnode_size

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

Did you mean: node_size
2007 Jul 23
12
GRUB, zfs-root + Xen: Error 16: Inconsistent filesystem structure
...| dnode | scratch | * | | 512B | 512B | area | * +--------------------------------------------+ Using these defines... #define MOS ((dnode_phys_t *)(RAW_ADDR(0x100000))) #define DNODE ((dnode_phys_t *)(MOS + DNODE_SIZE)) #define ZFS_SCRATCH ((char *)(DNODE + DNODE_SIZE)) ... the DNODE area is located ``512*sizeof(dnode_phys_t)'''' bytes after MOS, not 512 bytes! Instead of 512 bytes for MOS, fsys_zfs is using 256 kbytes. Same problem with the size for the DNODE area. Apparently we...
2013 Oct 26
2
[PATCH] 1. changes for vdiskadm on illumos based platform
...he metadnode of an object set. * @@ -731,7 +802,7 @@ dnode_get(dnode_phys_t *mdn, uint64_t ob stack += blksz; } - if ((errnum = dmu_read(mdn, blkid, (char *)dnbuf, stack))) + if (errnum = dmu_read(mdn, blkid, (char *)dnbuf, stack)) return (errnum); grub_memmove(buf, &dnbuf[idx], DNODE_SIZE); @@ -766,6 +837,24 @@ is_top_dataset_file(char *str) return (0); } +static int +check_feature(zap_attribute_t *za, void *arg, char *stack) +{ + const char **names = arg; + int i; + + if (za->za_first_integer == 0) + return (0); + + for (i = 0; names[i] != NULL; i++) { + if (grub_strcmp(z...