]> git.proxmox.com Git - mirror_zfs.git/commit
Small rework of txg_list code
authorTom Caputi <tcaputi@datto.com>
Mon, 20 Aug 2018 20:41:53 +0000 (16:41 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 27 Aug 2018 17:16:01 +0000 (10:16 -0700)
commit8c4fb36a24d4fd88382e454b13751a5adfea0806
tree3ae994cb68fb807d391688c4fee13fa24656cc4c
parenta584ef26053065f486d46a7335bea222cb03eeea
Small rework of txg_list code

This patch simply adds some missing locking to the txg_list
functions and refactors txg_verify() so that it is only compiled
in for debug builds.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tom Caputi <tcaputi@datto.com>
Closes #7795
include/sys/txg.h
module/zfs/dmu_tx.c
module/zfs/txg.c