Re: [PATCH 06/16] blk-mq: add 'type' attribute to the sysfs hctx directory

From: Omar Sandoval
Date: Thu Nov 01 2018 - 18:00:02 EST


On Tue, Oct 30, 2018 at 12:32:42PM -0600, Jens Axboe wrote:
> 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@xxxxxxxx>
> Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>
> Signed-off-by: Jens Axboe <axboe@xxxxxxxxx>
> ---
> block/blk-mq-sysfs.c | 10 ++++++++++
> 1 file changed, 10 insertions(+)

Out of curiousity, why sysfs instead of debugfs?