@@ -42,8 +42,8 @@ static void blk_end_sync_rq(struct request *rq, int error)
* @done: I/O completion handler
*
* Description:
- * Insert a fully prepared request at the back of the I/O scheduler queue
- * for execution. Don't wait for completion.
+ * Insert a fully prepared request at head or tail of the I/O scheduler
+ * queue for execution. Don't wait for completion.
*
* Note:
* This function will invoke @done directly if the queue is dead.
@@ -93,8 +93,8 @@ EXPORT_SYMBOL_GPL(blk_execute_rq_nowait);
* @at_head: insert request at head or tail of queue
*
* Description:
- * Insert a fully prepared request at the back of the I/O scheduler queue
- * for execution and wait for completion.
+ * Insert a fully prepared request at head or tail of the I/O scheduler
+ * queue for execution and wait for completion.
*/
int blk_execute_rq(struct request_queue *q, struct gendisk *bd_disk,
struct request *rq, int at_head)
blk_execute_rq* has param @at_head to point out head or tail for insertion. No "back" only. Signed-off-by: Wang Sheng-Hui <shhuiw@foxmail.com> --- block/blk-exec.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)