diff options
author | avg <avg@FreeBSD.org> | 2014-02-18 15:39:59 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2014-02-18 15:39:59 +0000 |
commit | db526c6842c0a5119d859e939b0fa97284730dcb (patch) | |
tree | 400aeb91663d613064e0a86624b2b4f3731e16d8 | |
parent | afa027f3f568c9647fd596026f6fb803d3d2887c (diff) | |
download | FreeBSD-src-db526c6842c0a5119d859e939b0fa97284730dcb.zip FreeBSD-src-db526c6842c0a5119d859e939b0fa97284730dcb.tar.gz |
MFC r259052: Expose spa_asize_inflation
-rw-r--r-- | sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c index b13700b..41aebca 100644 --- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c +++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c @@ -304,6 +304,9 @@ SYSCTL_INT(_vfs_zfs, OID_AUTO, deadman_enabled, CTLFLAG_RDTUN, * (VDEV_RAIDZ_MAXPARITY + 1) * SPA_DVAS_PER_BP * 2 == 24 */ int spa_asize_inflation = 24; +TUNABLE_INT("vfs.zfs.spa_asize_inflation", &spa_asize_inflation); +SYSCTL_INT(_vfs_zfs, OID_AUTO, spa_asize_inflation, CTLFLAG_RWTUN, + &spa_asize_inflation, 0, "Worst case inflation factor for single sector writes"); #ifndef illumos #ifdef _KERNEL |