Skip to content

Commit

Permalink
Introduce zv_state_lock to protect internal state of zvol_state_t and
Browse files Browse the repository at this point in the history
to avoid taking spa_namespace_lock (e.g. in dmu_objset_own() code path)
while holding zvol_stat_lock. Refactore the code accordingly.
  • Loading branch information
bprotopopov committed May 11, 2017
1 parent 4e3de24 commit a985663
Showing 1 changed file with 125 additions and 72 deletions.
Loading

0 comments on commit a985663

Please sign in to comment.