aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/vdev_indirect.c
diff options
context:
space:
mode:
authorTom Caputi <[email protected]>2018-10-16 17:00:55 -0400
committerBrian Behlendorf <[email protected]>2018-10-24 14:37:02 -0700
commita783dd96843699744e0543b579b5f50c9023432f (patch)
treeed3ee0c03f7b8acffb29689b93a485cbcf6d6ed3 /module/zfs/vdev_indirect.c
parentab4c009e3d0cf794bbe84aff3b9ac203eaed03c7 (diff)
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 reader 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 (via spa_history_log_internal()) while holding the spa config lock as a writer. Reviewed-by: Serapheim Dimitropoulos <[email protected]> Reviewed-by: Matthew Ahrens <[email protected]> Co-authored-by: Brian Behlendorf <[email protected]> Signed-off-by: Tom Caputi <[email protected]> Closes #8010
Diffstat (limited to 'module/zfs/vdev_indirect.c')
0 files changed, 0 insertions, 0 deletions