Re: [PATCH -next 3/6] blk-wbt: don't enable wbt for bio based device

From: Christoph Hellwig
Date: Thu May 11 2023 - 11:21:31 EST


On Thu, May 11, 2023 at 09:45:06AM +0800, Yu Kuai wrote:
> From: Yu Kuai <yukuai3@xxxxxxxxxx>
>
> Because rq_qos only make sense for rq based device. Instead of fail
> from sysfs configuration, make wbt sysfs dentry invisible directly.

This looks ok, bt I would be better to just have a separate attr
group just for blk-mq based devices?