]> git.baikalelectronics.ru Git - 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)
commit31cbca46ae0ebfb7a5bca8ee964dac017258c3d3
tree078d26dad9c54fad05b67f015f5a29aedf6969ec
parente30fdab9474dfc8ad7761eda456dfe8bce9ab9c1
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