I see a few places in the code that do the following:
        mutex_enter(&spa_namespace_lock);
        dsl_sync_task(...);
        mutex_exit(&spa_namespace_lock);
One example is spa_change_guid().

In my understanding this implies that the sync thread must never acquire
spa_namespace_lock.  Is this a real rule?  Do we always honor it?

Thank you!
-- 
Andriy Gapon


-------------------------------------------
openzfs-developer
Archives: https://www.listbox.com/member/archive/274414/=now
RSS Feed: https://www.listbox.com/member/archive/rss/274414/28015062-cce53afa
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=28015062&id_secret=28015062-f966d51c
Powered by Listbox: http://www.listbox.com

Reply via email to