]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit46bd19d8b123d81022fa1cb6ef260b578cd5ab33
tree63ccf6f6fa444de9115e0bf35f08b4eccff0854b
parentbc0b26e44ffab5cd72129ac813726dfc729f36b1
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