summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2014-10-02 22:52:05 +0000
committerdelphij <delphij@FreeBSD.org>2014-10-02 22:52:05 +0000
commit4fa55a08b7b0152b0912935727ea8a6c57d30a5a (patch)
tree967aa65677a421fe9b918f28a1f92a6f3f7b1679
parent81242229b82a886a97d09db44c6b6748764645a4 (diff)
downloadFreeBSD-src-4fa55a08b7b0152b0912935727ea8a6c57d30a5a.zip
FreeBSD-src-4fa55a08b7b0152b0912935727ea8a6c57d30a5a.tar.gz
MFC r271528: MFV r271512:
Illumos issue: 5136 fix write throttle comment in dsl_pool.c Approved by: re (gjb)
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_pool.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_pool.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_pool.c
index 1ce9e48..a06518e 100644
--- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_pool.c
+++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_pool.c
@@ -116,8 +116,8 @@ int zfs_delay_min_dirty_percent = 60;
/*
* This controls how quickly the delay approaches infinity.
- * Larger values cause it to delay less for a given amount of dirty data.
- * Therefore larger values will cause there to be more dirty data for a
+ * Larger values cause it to delay more for a given amount of dirty data.
+ * Therefore larger values will cause there to be less dirty data for a
* given throughput.
*
* For the smoothest delay, this value should be about 1 billion divided
@@ -130,11 +130,6 @@ int zfs_delay_min_dirty_percent = 60;
uint64_t zfs_delay_scale = 1000 * 1000 * 1000 / 2000;
-/*
- * XXX someday maybe turn these into #defines, and you have to tune it on a
- * per-pool basis using zfs.conf.
- */
-
#ifdef __FreeBSD__
extern int zfs_vdev_async_write_active_max_dirty_percent;
OpenPOWER on IntegriCloud