linux/block
Jens Axboe e34cbd3074 blk-wbt: add general throttling mechanism
We can hook this up to the block layer, to help throttle buffered
writes.

wbt registers a few trace points that can be used to track what is
happening in the system:

wbt_lat: 259:0: latency 2446318
wbt_stat: 259:0: rmean=2446318, rmin=2446318, rmax=2446318, rsamples=1,
               wmean=518866, wmin=15522, wmax=5330353, wsamples=57
wbt_step: 259:0: step down: step=1, window=72727272, background=8, normal=16, max=32

This shows a sync issue event (wbt_lat) that exceeded it's time. wbt_stat
dumps the current read/write stats for that window, and wbt_step shows a
step down event where we now scale back writes. Each trace includes the
device, 259:0 in this case.

Signed-off-by: Jens Axboe <axboe@fb.com>
2016-11-10 13:53:32 -07:00
..
partitions
badblocks.c
bio-integrity.c
bio.c block: add bio_iov_iter_get_pages() 2016-11-02 10:50:18 -06:00
blk-cgroup.c
blk-core.c block: add scalable completion tracking of requests 2016-11-10 13:53:26 -07:00
blk-exec.c
blk-flush.c block: set REQ_SYNC if we clear REQ_FUA|REQ_PREFLUSH 2016-11-08 19:39:28 -07:00
blk-integrity.c
blk-ioc.c
blk-lib.c block: better op and flags encoding 2016-10-28 08:48:16 -06:00
blk-map.c block: better op and flags encoding 2016-10-28 08:48:16 -06:00
blk-merge.c
blk-mq-cpumap.c
blk-mq-pci.c
blk-mq-sysfs.c block: add scalable completion tracking of requests 2016-11-10 13:53:26 -07:00
blk-mq-tag.c
blk-mq-tag.h
blk-mq.c block: add scalable completion tracking of requests 2016-11-10 13:53:26 -07:00
blk-mq.h block: add scalable completion tracking of requests 2016-11-10 13:53:26 -07:00
blk-settings.c block: add code to track actual device queue depth 2016-11-05 17:09:53 -06:00
blk-softirq.c
blk-stat.c block: add scalable completion tracking of requests 2016-11-10 13:53:26 -07:00
blk-stat.h block: add scalable completion tracking of requests 2016-11-10 13:53:26 -07:00
blk-sysfs.c block: add scalable completion tracking of requests 2016-11-10 13:53:26 -07:00
blk-tag.c
blk-throttle.c
blk-timeout.c
blk-wbt.c blk-wbt: add general throttling mechanism 2016-11-10 13:53:32 -07:00
blk-wbt.h blk-wbt: add general throttling mechanism 2016-11-10 13:53:32 -07:00
blk-zoned.c
blk.h
bounce.c
bsg-lib.c
bsg.c block: drop q argument from bsg_validate_sgv4_hdr 2016-11-03 07:56:14 -06:00
cfq-iosched.c block: cfq_cpd_alloc() should use @gfp 2016-11-10 10:10:04 -07:00
cmdline-parser.c
compat_ioctl.c
deadline-iosched.c
elevator.c block: better op and flags encoding 2016-10-28 08:48:16 -06:00
genhd.c
ioctl.c
ioprio.c
Kconfig blk-mq: Introduce blk_mq_quiesce_queue() 2016-11-02 12:50:19 -06:00
Kconfig.iosched
Makefile blk-wbt: add general throttling mechanism 2016-11-10 13:53:32 -07:00
noop-iosched.c
partition-generic.c
scsi_ioctl.c
t10-pi.c