block/rq_qos: implement rq_qos_ops->queue_depth_changed()
authorTejun Heo <tj@kernel.org>
Wed, 28 Aug 2019 22:05:55 +0000 (15:05 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 29 Aug 2019 03:17:07 +0000 (21:17 -0600)
commit9677a3e01f838622d2efc9a3ccb97090a2c3156a
tree8fee617bcc94779a92ab88c46d7862f0885a1282
parentd3e65ffff61c329fb2d0bf15736c440c2d0cfc97
block/rq_qos: implement rq_qos_ops->queue_depth_changed()

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: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-rq-qos.c
block/blk-rq-qos.h
block/blk-settings.c
block/blk-wbt.c
block/blk-wbt.h