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 authored and behlendorf committed May 16, 2017
1 parent 600107a commit 6cd9dc4
Showing 1 changed file with 124 additions and 71 deletions.
Loading

0 comments on commit 6cd9dc4

Please sign in to comment.