]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: Export queue state through /sys/kernel/debug/block/*/state
authorBart Van Assche <bart.vanassche@sandisk.com>
Mon, 10 Apr 2017 22:13:15 +0000 (16:13 -0600)
committerJens Axboe <axboe@fb.com>
Mon, 10 Apr 2017 22:13:15 +0000 (16:13 -0600)
commitbad408ac85f9f0bf55cdb689836a83ede6f97faf
treea221f4cbfd674ab1df15338cece2d603914e76b2
parent15afa330f818e0de648caa6469672d3eba6932a9
blk-mq: Export queue state through /sys/kernel/debug/block/*/state

Make it possible to check whether or not a block layer queue has
been stopped. Make it possible to start and to run a blk-mq queue
from user space.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Omar Sandoval <osandov@fb.com>
Cc: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq-debugfs.c