summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCyril Plisko <[email protected]>2012-10-24 12:26:56 +0200
committerBrian Behlendorf <[email protected]>2013-05-06 14:14:06 -0700
commit4f34b3bdf4ced8f808f6cd928b87bd42ea3039fe (patch)
tree6d7356211730fa1f00485ba5d2f23d4e7c36a620
parentee664d463189d6302877461967afe21ce9d861a0 (diff)
zfs_scrub_limit tunable is not used anywhere
As a part of scrub/resilver tuning zfs_scrub_limit fell out of use, but the definition of the variable remained in place. Moreover various guides still (misleadingly) mention it as a way to influence resilver/scrub behavior. This commit removes its finally. Signed-off-by: Cyril Plisko <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #1444
-rw-r--r--module/zfs/vdev.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/module/zfs/vdev.c b/module/zfs/vdev.c
index 15ff30fb3..c44e4f67f 100644
--- a/module/zfs/vdev.c
+++ b/module/zfs/vdev.c
@@ -61,9 +61,6 @@ static vdev_ops_t *vdev_ops_table[] = {
NULL
};
-/* maximum scrub/resilver I/O queue per leaf vdev */
-int zfs_scrub_limit = 10;
-
/*
* Given a vdev type, return the appropriate ops vector.
*/
@@ -3241,7 +3238,4 @@ EXPORT_SYMBOL(vdev_degrade);
EXPORT_SYMBOL(vdev_online);
EXPORT_SYMBOL(vdev_offline);
EXPORT_SYMBOL(vdev_clear);
-
-module_param(zfs_scrub_limit, int, 0644);
-MODULE_PARM_DESC(zfs_scrub_limit, "Max scrub/resilver I/O per leaf vdev");
#endif