mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-01-13 19:50:25 +03:00
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 <cyril.plisko@mountall.com> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #1444
This commit is contained in:
parent
ee664d4631
commit
4f34b3bdf4
@ -61,9 +61,6 @@ static vdev_ops_t *vdev_ops_table[] = {
|
|||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
/* maximum scrub/resilver I/O queue per leaf vdev */
|
|
||||||
int zfs_scrub_limit = 10;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Given a vdev type, return the appropriate ops vector.
|
* Given a vdev type, return the appropriate ops vector.
|
||||||
*/
|
*/
|
||||||
@ -3241,7 +3238,4 @@ EXPORT_SYMBOL(vdev_degrade);
|
|||||||
EXPORT_SYMBOL(vdev_online);
|
EXPORT_SYMBOL(vdev_online);
|
||||||
EXPORT_SYMBOL(vdev_offline);
|
EXPORT_SYMBOL(vdev_offline);
|
||||||
EXPORT_SYMBOL(vdev_clear);
|
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
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user