1
0
Fork 0
alistair23-linux/Documentation/block
Michael Callahan bdca3c87fb block: Track DISCARD statistics and output them in stat and diskstat
Add tracking of REQ_OP_DISCARD ios to the partition statistics and
append them to the various stat files in /sys as well as
/proc/diskstats.  These are tracked with the same four stats as reads
and writes:

Number of discard ios completed.
Number of discard ios merged
Number of discard sectors completed
Milliseconds spent on discard requests

This is done via adding a new STAT_DISCARD define to genhd.h and then
using it to index that stat field for discard requests.

tj: Refreshed on top of v4.17 and other previous updates.

Signed-off-by: Michael Callahan <michaelcallahan@fb.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Andy Newell <newella@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-07-18 08:44:22 -06:00
..
00-INDEX block, bfq: introduce the BFQ-v0 I/O scheduler as an extra scheduler 2017-04-19 08:29:02 -06:00
bfq-iosched.txt block, bfq: move debug blkio stats behind CONFIG_DEBUG_BLK_CGROUP 2017-11-14 20:13:33 -07:00
biodoc.txt block: remov blk_queue_invalidate_tags 2018-06-15 08:13:35 -06:00
biovecs.txt Documentation: update notes in biovecs about arbitrarily sized bios 2015-08-13 12:32:07 -06:00
capability.txt genhd: expose AN to user space 2007-05-23 20:14:11 -07:00
cfq-iosched.txt block: replace REQ_NOIDLE with REQ_IDLE 2016-11-01 09:43:26 -06:00
cmdline-partition.txt Documentation: block: cmdline-partition.txt fixes and additions 2018-05-08 09:18:53 -06:00
data-integrity.txt bio-integrity: fold bio_integrity_enabled to bio_integrity_prep 2017-07-03 16:56:24 -06:00
deadline-iosched.txt trivial: Miscellaneous documentation typo fixes 2009-06-12 18:01:47 +02:00
ioprio.txt Update Jens Axboe's email in Documentation/* 2007-10-16 09:59:55 +02:00
kyber-iosched.txt blk-mq: introduce Kyber multiqueue I/O scheduler 2017-04-14 14:06:58 -06:00
null_blk.txt null_blk: add zone support 2018-07-09 09:07:55 -06:00
pr.txt Doc: Fix double words in Documentation 2017-01-26 15:25:41 -07:00
queue-sysfs.txt block: remove the discard_zeroes_data flag 2017-04-08 11:25:38 -06:00
request.txt Update Jens Axboe's email in Documentation/* 2007-10-16 09:59:55 +02:00
stat.txt block: Track DISCARD statistics and output them in stat and diskstat 2018-07-18 08:44:22 -06:00
switching-sched.txt Documentation: drop as block elevator reference in switching-sched.txt 2011-11-04 12:01:48 -07:00
writeback_cache_control.txt block, drivers, fs: rename REQ_FLUSH to REQ_PREFLUSH 2016-06-07 13:41:38 -06:00