diff options
author | Tejun Heo <tj@kernel.org> | 2019-08-28 15:05:55 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-08-28 21:17:07 -0600 |
commit | 9677a3e01f838622d2efc9a3ccb97090a2c3156a (patch) | |
tree | 8fee617bcc94779a92ab88c46d7862f0885a1282 /block/blk-settings.c | |
parent | d3e65ffff61c329fb2d0bf15736c440c2d0cfc97 (diff) | |
download | linux-9677a3e01f838622d2efc9a3ccb97090a2c3156a.tar.gz linux-9677a3e01f838622d2efc9a3ccb97090a2c3156a.tar.bz2 linux-9677a3e01f838622d2efc9a3ccb97090a2c3156a.zip |
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>
Diffstat (limited to 'block/blk-settings.c')
-rw-r--r-- | block/blk-settings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-settings.c b/block/blk-settings.c index 2c1831207a8f..a058997b9cce 100644 --- a/block/blk-settings.c +++ b/block/blk-settings.c @@ -805,7 +805,7 @@ EXPORT_SYMBOL(blk_queue_update_dma_alignment); void blk_set_queue_depth(struct request_queue *q, unsigned int depth) { q->queue_depth = depth; - wbt_set_queue_depth(q, depth); + rq_qos_queue_depth_changed(q); } EXPORT_SYMBOL(blk_set_queue_depth); |