While doing a zio we have the information about what pool and dataset we are operating on encoded in a zbookmark_t.
I found I can go from a object to a dataset name using dsl_dsobj_to_dsname() but that needs a pool name. The reason I need the dataset name is to be able to call dsl_prop_get() so I can lookup the key which I'm storing as a property (one that won't be visible over the ioctl). So I do I go from z zbookmark_t to a pool name ? I've looked in a few header files and I couldn't find anything obvious. -- Darren J Moffat