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 zfs_ioctl

case add_new:
                zp = VTOZ(vp);
                zp->z_phys->new_field = 2;
               return(0);
-- 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to