Remove vfs.zfs.top_maxinflight tunable/sysctl.

It is dead since sorted scrub import at r334844.

MFC after:	1 week
Sponsored by:	iXsystems, Inc.
This commit is contained in:
Alexander Motin 2020-03-05 19:43:43 +00:00
parent d524bcbb44
commit 5c940cf1ff
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=358683

View File

@ -137,12 +137,6 @@ extern int zfs_vdev_async_write_active_min_dirty_percent;
*/
int zfs_scan_strict_mem_lim = B_FALSE;
/*
* Maximum number of parallelly executing I/Os per top-level vdev.
* Tune with care. Very high settings (hundreds) are known to trigger
* some firmware bugs and resets on certain SSDs.
*/
int zfs_top_maxinflight = 32; /* maximum I/Os per top-level */
unsigned int zfs_resilver_delay = 2; /* number of ticks to delay resilver -- 2 is a good number */
unsigned int zfs_scrub_delay = 4; /* number of ticks to delay scrub -- 4 is a good number */
unsigned int zfs_scan_idle = 50; /* idle window in clock ticks */
@ -186,8 +180,6 @@ boolean_t zfs_no_scrub_io = B_FALSE; /* set to disable scrub i/o */
boolean_t zfs_no_scrub_prefetch = B_FALSE; /* set to disable scrub prefetch */
SYSCTL_DECL(_vfs_zfs);
SYSCTL_UINT(_vfs_zfs, OID_AUTO, top_maxinflight, CTLFLAG_RWTUN,
&zfs_top_maxinflight, 0, "Maximum I/Os per top-level vdev");
SYSCTL_UINT(_vfs_zfs, OID_AUTO, resilver_delay, CTLFLAG_RWTUN,
&zfs_resilver_delay, 0, "Number of ticks to delay resilver");
SYSCTL_UINT(_vfs_zfs, OID_AUTO, scrub_delay, CTLFLAG_RWTUN,
@ -1538,7 +1530,6 @@ dsl_scan_prefetch_thread(void *arg)
dsl_scan_t *scn = arg;
spa_t *spa = scn->scn_dp->dp_spa;
vdev_t *rvd = spa->spa_root_vdev;
uint64_t maxinflight = rvd->vdev_children * zfs_top_maxinflight;
scan_prefetch_issue_ctx_t *spic;
/* loop until we are told to stop */