diff options
author | Jens Axboe <axboe@fb.com> | 2014-03-13 09:38:42 -0600 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-03-13 09:38:42 -0600 |
commit | 89f8b33ca1ea881d1d84542282cb85d07d02e78d (patch) | |
tree | aec73b5cbf9e2c1baed0ecaf03a2a2093df26b6f /kernel | |
parent | af5040da01ef980670b3741b3e10733ee3e33566 (diff) | |
download | linux-89f8b33ca1ea881d1d84542282cb85d07d02e78d.tar.gz linux-89f8b33ca1ea881d1d84542282cb85d07d02e78d.tar.bz2 linux-89f8b33ca1ea881d1d84542282cb85d07d02e78d.zip |
block: remove old blk_iopoll_enabled variable
This was a debugging measure to toggle enabled/disabled
when testing. But for real production setups, it's not
safe to toggle this setting without either reloading
drivers of quiescing IO first. Neither of which the toggle
enforces.
Additionally, it makes drivers deal with the conditional
state.
Remove it completely. It's up to the driver whether iopoll
is enabled or not.
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/sysctl.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 49e13e1f8fe6..ef0bf04e8649 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -112,9 +112,6 @@ extern int sysctl_nr_open_min, sysctl_nr_open_max; #ifndef CONFIG_MMU extern int sysctl_nr_trim_pages; #endif -#ifdef CONFIG_BLOCK -extern int blk_iopoll_enabled; -#endif /* Constants used for minimum and maximum */ #ifdef CONFIG_LOCKUP_DETECTOR @@ -1094,15 +1091,6 @@ static struct ctl_table kern_table[] = { .proc_handler = proc_dointvec, }, #endif -#ifdef CONFIG_BLOCK - { - .procname = "blk_iopoll", - .data = &blk_iopoll_enabled, - .maxlen = sizeof(int), - .mode = 0644, - .proc_handler = proc_dointvec, - }, -#endif { } }; |