]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
block: remove old blk_iopoll_enabled variable
authorJens Axboe <axboe@fb.com>
Thu, 13 Mar 2014 15:38:42 +0000 (09:38 -0600)
committerJens Axboe <axboe@fb.com>
Thu, 13 Mar 2014 15:38:42 +0000 (09:38 -0600)
commit89f8b33ca1ea881d1d84542282cb85d07d02e78d
treeaec73b5cbf9e2c1baed0ecaf03a2a2093df26b6f
parentaf5040da01ef980670b3741b3e10733ee3e33566
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>
block/blk-iopoll.c
drivers/scsi/be2iscsi/be_main.c
drivers/scsi/ipr.c
include/linux/blk-iopoll.h
kernel/sysctl.c