J Duff wrote: > I just got back to implementing this. I am willing to work with the unstable > interface. > > What is bothering me is that zfs_get_user_props takes a zfs_handle_t* as an > input arg. Since I am working within the kernel, I have only a spa_t* to work > with, and I can't figure out how to get a zfs_handle_t* from the spa_t*. > > How do I get a proper zfs_handle_t*?
Are you "in" the zfs module or some other module ? If you are "in" the zfs module I would seriously question why you are looking at a user property rather than adding a new "system" property. What data is held in your property and what part of the system uses it ? -- Darren J Moffat