blk-mq: add 'type' attribute to the sysfs hctx directory
authorJens Axboe <axboe@kernel.dk>
Thu, 25 Oct 2018 14:58:14 +0000 (08:58 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 7 Nov 2018 02:47:53 +0000 (19:47 -0700)
commit92faac99c328d17628fff1a52828ab13e49901e8
treebd57c3876f82c6ccac5e03a67db1126341ab4da4
parent3f48a27fd4a9154817b24422505e9612ab6f7ecd
blk-mq: add 'type' attribute to the sysfs hctx directory

It can be useful for a user to verify what type a given hardware
queue is, expose this information in sysfs.

Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq-sysfs.c