diff options
author | Bart Van Assche <bvanassche@acm.org> | 2019-05-30 20:00:50 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-05-31 17:12:34 -0400 |
commit | 83826a506632e9ec5a0ed011d9fd8e5ca768b384 (patch) | |
tree | 70e22aba889bc47e5f8dfa211a05f1cdd97ca672 /block/blk-rq-qos.c | |
parent | 0542cd57d266074114d70791ab245e18f750cd32 (diff) |
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 'block/blk-rq-qos.c')
-rw-r--r-- | block/blk-rq-qos.c | 7 |
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, | |||
209 | 209 | ||
210 | /** | 210 | /** |
211 | * rq_qos_wait - throttle on a rqw if we need to | 211 | * rq_qos_wait - throttle on a rqw if we need to |
212 | * @private_data - caller provided specific data | 212 | * @rqw: rqw to throttle on |
213 | * @acquire_inflight_cb - inc the rqw->inflight counter if we can | 213 | * @private_data: caller provided specific data |
214 | * @cleanup_cb - the callback to cleanup in case we race with a waker | 214 | * @acquire_inflight_cb: inc the rqw->inflight counter if we can |
215 | * @cleanup_cb: the callback to cleanup in case we race with a waker | ||
215 | * | 216 | * |
216 | * This provides a uniform place for the rq_qos users to do their throttling. | 217 | * This provides a uniform place for the rq_qos users to do their throttling. |
217 | * Since you can end up with a lot of things sleeping at once, this manages the | 218 | * Since you can end up with a lot of things sleeping at once, this manages the |