[zfs-discuss] zfs ioctls and cli concepts

2008-12-08 Thread shelly
i would like to know how to include a ioctl in zfs_ioctl.c. 

So would be grateful if somebody explained how zfs ioctls work.
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] zfs znode changes getting lost

2008-11-27 Thread shelly
thanx a lot perrin it really helped a lot.
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] zfs znode changes getting lost

2008-11-26 Thread shelly
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


[zfs-discuss] unloading zfs module

2008-10-20 Thread shelly
Is it possible to unload zfs module without rebooting the computer. 

I am making some changes in zfs kernel code. then compiling it. i then want to 
reload the newly rebuilt module without rebooting.

I tried modunload. But its always givin can't unload the module: Device busy .

What can be the possible solution
--
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss