Changeset View
Changeset View
Standalone View
Standalone View
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/txg.c
Show All 12 Lines | |||||
*/ | */ | ||||
static void txg_sync_thread(void *arg); | static void txg_sync_thread(void *arg); | ||||
static void txg_quiesce_thread(void *arg); | static void txg_quiesce_thread(void *arg); | ||||
int zfs_txg_timeout = 5; /* max seconds worth of delta per txg */ | int zfs_txg_timeout = 5; /* max seconds worth of delta per txg */ | ||||
SYSCTL_DECL(_vfs_zfs); | SYSCTL_DECL(_vfs_zfs); | ||||
SYSCTL_NODE(_vfs_zfs, OID_AUTO, txg, CTLFLAG_RW, 0, "ZFS TXG"); | SYSCTL_NODE(_vfs_zfs, OID_AUTO, txg, CTLFLAG_RW | CTLFLAG_MPSAFE, 0, | ||||
"ZFS TXG"); | |||||
SYSCTL_INT(_vfs_zfs_txg, OID_AUTO, timeout, CTLFLAG_RWTUN, &zfs_txg_timeout, 0, | SYSCTL_INT(_vfs_zfs_txg, OID_AUTO, timeout, CTLFLAG_RWTUN, &zfs_txg_timeout, 0, | ||||
"Maximum seconds worth of delta per txg"); | "Maximum seconds worth of delta per txg"); | ||||
/* | /* | ||||
* Prepare the txg subsystem. | * Prepare the txg subsystem. | ||||
*/ | */ | ||||
void | void | ||||
txg_init(dsl_pool_t *dp, uint64_t txg) | txg_init(dsl_pool_t *dp, uint64_t txg) | ||||
Show All 12 Lines |