Thanks to everyone for their help! yes dtrace did help and I found that in my 
layered driver, the prop_op entry point had an error in setting the [Ss]ize 
dynamic property, and apparently that's what ZFS looks for, not just Nblocks! 
what took me so long in getting to this error was that the driver was faulting 
not in the beginning but after some reads and writes (basically when the offset 
exceeded the size, it gave rise to the EINVAL), and that too within zio_wait(), 
which confused it with a synchronization problem.
With that fixed, the layered driver works fine when I try to create a storage 
pool with it.
 
 
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