summaryrefslogtreecommitdiffstats
path: root/block/blk-mq-debugfs.h
diff options
context:
space:
mode:
authorOmar Sandoval <osandov@fb.com>2017-05-04 09:31:34 +0200
committerJens Axboe <axboe@fb.com>2017-05-04 16:25:17 +0200
commitdaaadb3e9453ab89c2e113a2d1df8e19e30944cc (patch)
tree4a72782bd1b32dd4b0757e993644ff98b7cbc9d5 /block/blk-mq-debugfs.h
parentkyber: add debugfs attributes (diff)
downloadlinux-daaadb3e9453ab89c2e113a2d1df8e19e30944cc.tar.xz
linux-daaadb3e9453ab89c2e113a2d1df8e19e30944cc.zip
mq-deadline: add debugfs attributes
Expose the fifo lists, cached next requests, batching state, and dispatch list. It'd also be possible to add the sorted lists, but there aren't already seq_file helpers for rbtrees. Signed-off-by: Omar Sandoval <osandov@fb.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-mq-debugfs.h')
-rw-r--r--block/blk-mq-debugfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/blk-mq-debugfs.h b/block/blk-mq-debugfs.h
index dd3bbfe74f46..a182e6f97565 100644
--- a/block/blk-mq-debugfs.h
+++ b/block/blk-mq-debugfs.h
@@ -14,6 +14,7 @@ struct blk_mq_debugfs_attr {
const struct seq_operations *seq_ops;
};
+int __blk_mq_debugfs_rq_show(struct seq_file *m, struct request *rq);
int blk_mq_debugfs_rq_show(struct seq_file *m, void *v);
int blk_mq_debugfs_register(struct request_queue *q);