Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix lock inversion in txg_sync_thread()
This patch fixes a lock inversion issue in txg_sync_thread() where the code would attempt hold the spa config lock as a writer while holding tx->tx_sync_lock. This races with spa_vdev_remove() which attempts to hold the tx->tx_sync_lock to assign a new tx while holding the spa config lock as a reader. TEST_ZTEST_TIMEOUT=3600 Co-authored-by: Brian Behlendorf <[email protected]> Signed-off-by: Tom Caputi <[email protected]>
- Loading branch information