提交 83826a50 编写于 作者: B Bart Van Assche 提交者: Jens Axboe

block: Fix rq_qos_wait() kernel-doc header

Add documentation for the @rqw argument and change " - " into ": ".

Fixes: 84f60324 ("block: add rq_qos_wait to rq_qos") # v5.0-rc1~52^2~140.
Reviewed-by: NChaitanya Kulkarni <chiatanya.kulkarni@wdc.com>
Signed-off-by: NBart Van Assche <bvanassche@acm.org>
Signed-off-by: NJens Axboe <axboe@kernel.dk>
上级 0542cd57
...@@ -209,9 +209,10 @@ static int rq_qos_wake_function(struct wait_queue_entry *curr, ...@@ -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 * rq_qos_wait - throttle on a rqw if we need to
* @private_data - caller provided specific data * @rqw: rqw to throttle on
* @acquire_inflight_cb - inc the rqw->inflight counter if we can * @private_data: caller provided specific data
* @cleanup_cb - the callback to cleanup in case we race with a waker * @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. * 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 * Since you can end up with a lot of things sleeping at once, this manages the
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册