diff options
author | Jens Axboe <[email protected]> | 2017-06-26 08:15:27 -0600 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2017-06-27 12:05:31 -0600 |
commit | f793dfd3f39a3dc50468b06498606b3a906f42f1 (patch) | |
tree | 5bce7522f30a29ec7931e6b1cdc5d37f9e60b13e /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | cb6934f8ea1a595902ca37e250e0917d4dd7b2a7 (diff) |
blk-mq: expose write hints through debugfs
Useful to verify that things are working the way they should.
Reading the file will return number of kb written with each
write hint. Writing the file will reset the statistics. No care
is taken to ensure that we don't race on updates.
Drivers will write to q->write_hints[] if they handle a given
write hint.
Reviewed-by: Andreas Dilger <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions