]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
blk-mq: move hctx io_poll, stats, and dispatched from sysfs to debugfs
authorOmar Sandoval <osandov@fb.com>
Wed, 25 Jan 2017 16:06:48 +0000 (08:06 -0800)
committerJens Axboe <axboe@fb.com>
Fri, 27 Jan 2017 15:17:44 +0000 (08:17 -0700)
commitbe21547318b2c7d9988237b106cc63767b86eae4
tree078d26dad9c54fad05b67f015f5a29aedf6969ec
parentd7e3621ad1e48f08dc14c34e353af69f7c35cb20
blk-mq: move hctx io_poll, stats, and dispatched from sysfs to debugfs

These statistics _might_ be useful to userspace, but it's better not to
commit to an ABI for these yet. Also, the dispatched file in sysfs
couldn't be cleared, so make it clearable like the others in debugfs.

Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq-debugfs.c
block/blk-mq-sysfs.c