block/rq_qos: implement rq_qos_ops->queue_depth_changed()
mainline inclusion from mainline-5.4-rc1 commit 9677a3e01f838622d2efc9a3ccb97090a2c3156a category: feature bugzilla: 38688 CVE: NA --------------------------- wbt already gets queue depth changed notification through wbt_set_queue_depth(). Generalize it into rq_qos_ops->queue_depth_changed() so that other rq_qos policies can easily hook into the events too. Signed-off-by: NTejun Heo <tj@kernel.org> Signed-off-by: NJens Axboe <axboe@kernel.dk> Conflict: block/blk-rq-qos.c block/blk-rq-qos.h block/blk-wbt.c Signed-off-by: NYu Kuai <yukuai3@huawei.com> Reviewed-by: NHou Tao <houtao1@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录