Displaying 3 results from an estimated 3 matches for "vtoz".
Did you mean:
vtor
2008 Jun 18
4
getting inodeno for zfs from vnode in vfs kernel layer
i need to get inodeno on ZFS and i am not able to find how to find it in
kernel at vfs layer.
i have vnode pointer and i am doing VTOZ to get znode but printing z_id
from znode pointer
gives me deadbeef(unitialized) , can somebody point me how to get that?
i looked at zfs_getattr code and it does similar thing which i am doing
but its able to get me
inode no in getattribute structure(node id), that makes me thinking
there is...
2008 Nov 26
2
zfs znode changes getting lost
...here. 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
2008 Jun 18
0
getting inode for zfs from vnode/vfs layer in kernel
i need to get inodeno on ZFS and i am not able to find how to find it in
kernel at vfs layer.
i have vnode pointer and i am doing VTOZ to get znode but printing z_id
from znode pointer
gives me deadbeef(unitialized) , can somebody point me how to get that?
i looked at zfs_getattr code and it does similar thing which i am doing
but its able to get me
inode no in getattribute structure(node id), that makes me thinking
there is...