diff options
author | Tom Caputi <[email protected]> | 2018-12-04 12:54:05 -0500 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-12-04 09:54:05 -0800 |
commit | fedef6dd592cf6e83ab8fc8b81e5407d64f79996 (patch) | |
tree | dccf313d0b46be313944d59bd8b5a934b4b2e49d /etc/init.d | |
parent | 0b606cb33fd1c43a4eea416e48d81127373c20ea (diff) |
Fix ztest deadlock in spa_vdev_remove()
This patch corrects an issue where spa_vdev_remove() would
call spa_history_log_internal() while holding the spa config
lock. This function may decide to block until the next txg if
the current one seems too full. However, since the thread is
holding the config log, the txg sync thread cannot progress
and the system ends up deadlocked. This patch simply moves
all calls to spa_history_log_internal() outside of the config
lock.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Tom Caputi <[email protected]>
Closes #8162
Diffstat (limited to 'etc/init.d')
0 files changed, 0 insertions, 0 deletions