W.r.t. these changes, if a racing thread did not acquire a write lock through rw_trywrlock, then were any error to occur for the active writer, it seems the waiting reader is uninformed and goes on its way as though libzfs_ns_avl is ready to use.
(As an aside regarding the pre-existing code, I wonder whether libzfs_ns_gen is not perhaps set too early given all the errors that may occur subsequently in namespace_reload().) -- 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/433#issuecomment-319782342 ------------------------------------------ openzfs-developer Archives: https://openzfs.topicbox.com/groups/developer/discussions/T1ceee7d74c7fab5d-Mfd58d4dc4253b351950c5b67 Powered by Topicbox: https://topicbox.com