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 /include | |
parent | af5040da01ef980670b3741b3e10733ee3e33566 (diff) | |
download | linux-stable-89f8b33ca1ea881d1d84542282cb85d07d02e78d.tar.gz linux-stable-89f8b33ca1ea881d1d84542282cb85d07d02e78d.tar.bz2 linux-stable-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 'include')
-rw-r--r-- | include/linux/blk-iopoll.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/blk-iopoll.h b/include/linux/blk-iopoll.h index 308734d3d4a2..77ae77c0b704 100644 --- a/include/linux/blk-iopoll.h +++ b/include/linux/blk-iopoll.h @@ -43,6 +43,4 @@ extern void __blk_iopoll_complete(struct blk_iopoll *); extern void blk_iopoll_enable(struct blk_iopoll *); extern void blk_iopoll_disable(struct blk_iopoll *); -extern int blk_iopoll_enabled; - #endif |