]> granicus.if.org Git - zfs/commit
txg visibility code should not execute under tc_open_lock
authorRichard Yao <richard.yao@clusterhq.com>
Wed, 17 Feb 2016 21:16:25 +0000 (16:16 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 27 Jul 2016 21:11:13 +0000 (14:11 -0700)
commitf26b4b3c8a0db1b215caeeb80868381bc324d449
tree8ad7a6f1664bd8dc3518dc7d4aa0660329947df5
parentfcf64f45d9bf4270f6c6bfe9df6ef253a7bfc766
txg visibility code should not execute under tc_open_lock

The memory allocation and locking in `spa_txg_history_*()` can
potentially block txg_hold_open for arbitrarily long periods of time.

Signed-off-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #4333
module/zfs/txg.c