linux/include
Jens Axboe 64f1c21e86 blk-mq: make the polling code adaptive
The previous commit introduced the hybrid sleep/poll mode. Take
that one step further, and use the completion latencies to
automatically sleep for half the mean completion time. This is
a good approximation.

This changes the 'io_poll_delay' sysfs file a bit to expose the
various options. Depending on the value, the polling code will
behave differently:

-1	Never enter hybrid sleep mode
 0	Use half of the completion mean for the sleep delay
>0	Use this specific value as the sleep delay

Signed-off-by: Jens Axboe <axboe@fb.com>
Tested-By: Stephen Bates <sbates@raithlin.com>
Reviewed-By: Stephen Bates <sbates@raithlin.com>
2016-11-17 13:34:57 -07:00
..
acpi
asm-generic Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild 2016-10-14 14:26:58 -07:00
clocksource
crypto
drm
dt-bindings Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux 2016-10-12 11:05:23 -07:00
keys
kvm
linux blk-mq: make the polling code adaptive 2016-11-17 13:34:57 -07:00
math-emu
media
memory
misc
net A single commit converting the mac80211 DocBook template over to Sphinx. 2016-10-14 14:11:22 -07:00
pcmcia
ras
rdma
rxrpc
scsi block: split out request-only flags into a new namespace 2016-10-28 08:45:17 -06:00
soc powerpc updates for 4.9 #2 2016-10-14 11:07:42 -07:00
sound
target
trace blk-wbt: add general throttling mechanism 2016-11-10 13:53:32 -07:00
uapi blk-zoned: implement ioctls 2016-10-18 10:05:42 -06:00
video fbdev changes for 4.9 2016-10-12 11:01:37 -07:00
xen
Kbuild