Skip to content

Commit

Permalink
Introduce zv_state_lock
Browse files Browse the repository at this point in the history
The lock is designed to protect internal state of zvol_state_t and
to avoid taking spa_namespace_lock (e.g. in dmu_objset_own() code path)
while holding zvol_stat_lock. Refactor the code accordingly.

Signed-off-by: Boris Protopopov <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #3484
Closes #6065
Closes #6134
  • Loading branch information
bprotopopov authored and behlendorf committed May 16, 2017
1 parent 0778358 commit 5559ba0
Showing 1 changed file with 124 additions and 71 deletions.
Loading

0 comments on commit 5559ba0

Please sign in to comment.