svn commit: r271512 - vendor-sys/illumos/dist/uts/common/fs/zfs
Xin LI
delphij at FreeBSD.org
Sat Sep 13 15:05:11 UTC 2014
Author: delphij
Date: Sat Sep 13 15:05:10 2014
New Revision: 271512
URL: http://svnweb.freebsd.org/changeset/base/271512
Log:
5136 fix write throttle comment in dsl_pool.c
Reviewed by: Adam Leventhal <ahl at delphix.com>
Reviewed by: Christopher Siden <christopher.siden at delphix.com>
Reviewed by: Max Grossman <max.grossman at delphix.com>
Reviewed by: Josef 'Jeff' Sipek <jeffpc at josefsipek.net>
Reviewed by: Richard Elling <richard.elling at gmail.com>
Approved by: Dan McDonald <danmcd at omniti.com>
Author: Matthew Ahrens <mahrens at delphix.com>
illumos/illumos-gate at d85a1e969ce08b3bc4a7cb3626a6e33a28b5caeb
Modified:
vendor-sys/illumos/dist/uts/common/fs/zfs/dsl_pool.c
Modified: vendor-sys/illumos/dist/uts/common/fs/zfs/dsl_pool.c
==============================================================================
--- vendor-sys/illumos/dist/uts/common/fs/zfs/dsl_pool.c Sat Sep 13 14:30:46 2014 (r271511)
+++ vendor-sys/illumos/dist/uts/common/fs/zfs/dsl_pool.c Sat Sep 13 15:05:10 2014 (r271512)
@@ -111,8 +111,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
@@ -125,12 +125,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.
- */
-
-
hrtime_t zfs_throttle_delay = MSEC2NSEC(10);
hrtime_t zfs_throttle_resolution = MSEC2NSEC(10);
More information about the svn-src-vendor
mailing list