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 20:44:59 +0000 (13:44 -0700)
commita783b81820fe3532809c98371ec904dfdb0ea9e5
tree63ccf6f6fa444de9115e0bf35f08b4eccff0854b
parentf31967f0e455d08d3ea1d2f849bf62dafc92dbf4
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