diff options
author | Brian Behlendorf <[email protected]> | 2019-02-27 10:49:22 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2019-02-27 10:49:22 -0800 |
commit | 6af7ba417eb429413f9f24cd2704a302d766d9b4 (patch) | |
tree | 57b1584702c63f2e1bb13a785339eed22fa756d5 /cmd | |
parent | c568ab8d99d88b69f54159cd771cb9b20784174e (diff) |
Fix overly broad spa config lock
The spa_txg_history_init_io() and spa_txg_history_fini_io() were
mistakenly taking SCL_ALL when only SCL_CONFIG is required to
access the vdev stats. This could result in a deadlock which
was observed when running ztest.
Reviewed-by: Olaf Faaland <[email protected]>
Reviewed-by: Tim Chase <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #8445
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions