diff options
author | Yu Kuai <yukuai3@huawei.com> | 2023-05-27 03:06:44 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-06-26 17:53:36 +0200 |
commit | 6d85ebf95c44e52337ca1d07f0db4b435d1e6762 (patch) | |
tree | 40f2398571a652edc60fd1af5939b0cd4c88e429 /block/blk-cgroup.c | |
parent | blk-iocost: move wbt_enable/disable_default() out of spinlock (diff) | |
download | linux-6d85ebf95c44e52337ca1d07f0db4b435d1e6762.tar.xz linux-6d85ebf95c44e52337ca1d07f0db4b435d1e6762.zip |
blk-sysfs: add a new attr_group for blk_mq
Currently wbt sysfs entry is created for bio based device, and wbt can
be enabled for such device through sysfs while it doesn't make sense
because wbt can only work for rq based device. In the meantime, there
are other similar sysfs entries.
Fix this by adding a new attr_group for blk_mq, and sysfs entries will
only be created when the device is rq based.
Suggested-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20230527010644.647900-6-yukuai1@huaweicloud.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-cgroup.c')
0 files changed, 0 insertions, 0 deletions