search for: dnode_phys_t

Displaying 3 results from an estimated 3 matches for "dnode_phys_t".

2007 Jul 23
12
GRUB, zfs-root + Xen: Error 16: Inconsistent filesystem structure
...| * +-------V---------V----------V---------------+ * memory | | dnode | 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, fs...
2013 Oct 26
2
[PATCH] 1. changes for vdiskadm on illumos based platform
...mp_func(buf, retbuf, psize, lsize); + if (comp != ZIO_COMPRESS_OFF) { + if (decomp_table[comp].decomp_func(buf, retbuf, psize, + lsize) != 0) { + grub_printf("zio_read decompression failed\n"); + return (ERR_FSYS_CORRUPT); + } + } return (0); } @@ -446,7 +466,7 @@ dmu_read(dnode_phys_t *dn, uint64_t blki grub_memset(buf, 0, dn->dn_datablkszsec << SPA_MINBLOCKSHIFT); break; - } else if ((errnum = zio_read(bp, tmpbuf, stack))) { + } else if (errnum = zio_read(bp, tmpbuf, stack)) { return (errnum); } @@ -465,13 +485,13 @@ dmu_read(dnode_phys_t *dn...
2008 Nov 26
2
zfs znode changes getting lost
In place of padding in zfs znode i added a new field. stored an integer value and am able to see saved information. but after reboot it is not there. If i was able to access before reboot so it must be in memory. I think i need to save it to disk. how does one force zfs znode to disk. right now i dont do anything special for it. Just made an ioctl, accessed znode and made changes. example in