diff options
author | George Wilson <[email protected]> | 2014-06-12 15:29:11 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2014-07-22 09:41:32 -0700 |
commit | 080b3100155c472f8c8a380db2458bf70bd13279 (patch) | |
tree | c5ee4ad94fd156b7db4440a8a90b8ad3d158459c /COPYRIGHT | |
parent | 3c51c5cb1f1c6097ecbfd18aa1177ba0f67c215e (diff) |
Illumos #4756 Fix metaslab_group_preload deadlock
4756 metaslab_group_preload() could deadlock
Reviewed by: Matthew Ahrens <[email protected]>
Reviewed by: Christopher Siden <[email protected]>
Reviewed by: Dan McDonald <[email protected]>
Reviewed by: Saso Kiselkov <[email protected]>
Approved by: Garrett D'Amore <[email protected]>
The metaslab_group_preload() function grabs the mg_lock and then later
tries to grab the metaslab lock. This lock ordering may lead to a
deadlock since other consumers of the mg_lock will grab the metaslab
lock first.
References:
https://www.illumos.org/issues/4756
https://github.com/illumos/illumos-gate/commit/30beaff
Ported-by: Prakash Surya <[email protected]>
Signed-off-by: Prakash Surya <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #2488
Diffstat (limited to 'COPYRIGHT')
0 files changed, 0 insertions, 0 deletions