summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorJens Axboe2014-03-13 16:38:42 +0100
committerJens Axboe2014-03-13 16:38:42 +0100
commit89f8b33ca1ea881d1d84542282cb85d07d02e78d (patch)
treeaec73b5cbf9e2c1baed0ecaf03a2a2093df26b6f /block
parentblktrace: fix accounting of partially completed requests (diff)
downloadkernel-qcow2-linux-89f8b33ca1ea881d1d84542282cb85d07d02e78d.tar.gz
kernel-qcow2-linux-89f8b33ca1ea881d1d84542282cb85d07d02e78d.tar.xz
kernel-qcow2-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 'block')
-rw-r--r--block/blk-iopoll.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/block/blk-iopoll.c b/block/blk-iopoll.c
index 1855bf51edb0..c11d24e379e2 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);