Robert Milkowski ?????:
> Hello Brian,
> 
> Monday, March 16, 2009, 7:30:33 PM, you wrote:
> 
> B> Somwhere in an 'zfs_ioctl'  my code failing. I'm trying to
> B> implement my own RAID algorithm and have absolutely no kernel
> B> programming experience. ha. I have only made changes in
> B> zpool_vdev.c where it determines what RAID_TYPE_CONFIG it is. Of
> B> course, this isn't the only place that needs to be modified.
> 
> B> My code makes a zfs_ioctl() and then fails with a '22' errno
> B> (Invalid device). I have no kernel programming experience and it's
> B> not jumping out at me in user space where it hosed up.
> 
> B> Any advice/tips would be appreciated. Especially kernel tracing/debuging 
> advice.
> 
> dtrace + fbt shoule help you greatly.
> 

Or alternatevily you can start with ztest + libzpool with your changes 
entirely in userland

Reply via email to