summaryrefslogtreecommitdiffstats
path: root/block/blk-rq-qos.c
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2019-05-31 02:00:50 +0200
committerJens Axboe <axboe@kernel.dk>2019-05-31 23:12:34 +0200
commit83826a506632e9ec5a0ed011d9fd8e5ca768b384 (patch)
tree70e22aba889bc47e5f8dfa211a05f1cdd97ca672 /block/blk-rq-qos.c
parentblock: Fix blk_mq_*_map_queues() kernel-doc headers (diff)
downloadlinux-83826a506632e9ec5a0ed011d9fd8e5ca768b384.tar.xz
linux-83826a506632e9ec5a0ed011d9fd8e5ca768b384.zip
block: Fix rq_qos_wait() kernel-doc header
Add documentation for the @rqw argument and change " - " into ": ". Fixes: 84f603246db9 ("block: add rq_qos_wait to rq_qos") # v5.0-rc1~52^2~140. Reviewed-by: Chaitanya Kulkarni <chiatanya.kulkarni@wdc.com> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '')
-rw-r--r--block/blk-rq-qos.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/block/blk-rq-qos.c b/block/blk-rq-qos.c
index 3f55b56f24bc..659ccb8b693f 100644
--- a/block/blk-rq-qos.c
+++ b/block/blk-rq-qos.c
@@ -209,9 +209,10 @@ static int rq_qos_wake_function(struct wait_queue_entry *curr,
/**
* rq_qos_wait - throttle on a rqw if we need to
- * @private_data - caller provided specific data
- * @acquire_inflight_cb - inc the rqw->inflight counter if we can
- * @cleanup_cb - the callback to cleanup in case we race with a waker
+ * @rqw: rqw to throttle on
+ * @private_data: caller provided specific data
+ * @acquire_inflight_cb: inc the rqw->inflight counter if we can
+ * @cleanup_cb: the callback to cleanup in case we race with a waker
*
* This provides a uniform place for the rq_qos users to do their throttling.
* Since you can end up with a lot of things sleeping at once, this manages the