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 /block | |
parent | af5040da01ef980670b3741b3e10733ee3e33566 (diff) |
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 'block')
-rw-r--r-- | block/blk-iopoll.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/block/blk-iopoll.c b/block/blk-iopoll.c index 1855bf51edb..c11d24e379e 100644 --- a/block/blk-iopoll.c +++ b/block/blk-iopoll.c @@ -14,9 +14,6 @@ #include "blk.h" -int blk_iopoll_enabled = 1; -EXPORT_SYMBOL(blk_iopoll_enabled); - static unsigned int blk_iopoll_budget __read_mostly = 256; static DEFINE_PER_CPU(struct list_head, blk_cpu_iopoll); |