Skip to content

Commit

Permalink
zfs_scrub_limit tunable is not used anywhere
Browse files Browse the repository at this point in the history
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
  • Loading branch information
imp authored and behlendorf committed May 6, 2013
1 parent ee664d4 commit 4f34b3b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions module/zfs/vdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down Expand Up @@ -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

0 comments on commit 4f34b3b

Please sign in to comment.