I think @rmustacc is exactly right. We should not be building the zfs command (or libzfs) in fakekernel context. This is a highly specialised environment that really only makes sense for things like libzpool which include kernel code.
I suggest you have a look at this earlier webrev of mine which introduces _TASKQUSER which can be used to access the taskq API outside if fakekernel context. It was modelled after the _KMEMUSER define which does something similar: http://cr.illumos.org/~webrev/andy_js/8115-1/ -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/openzfs/openzfs/pull/536#issuecomment-363908847 ------------------------------------------ openzfs-developer Archives: https://openzfs.topicbox.com/groups/developer/discussions/T22334a01fda83bfd-Mf7f1a0daae724f19b46654e3 Powered by Topicbox: https://topicbox.com
