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 <boris.protopopov@actifio.com>
  • Loading branch information
bprotopopov committed May 15, 2017
1 parent 4e3de24 commit 8458d48
Showing 1 changed file with 124 additions and 71 deletions.
Loading

0 comments on commit 8458d48

Please sign in to comment.