Shweta Krishnan
2007-May-25 16:18 UTC
[zfs-discuss] Re: ZFS over a layered driver interface
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