aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
Diffstat (limited to 'block')
-rw-r--r--block/elevator.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/block/elevator.c b/block/elevator.c
index bd78f693fcf2..a029cfed80da 100644
--- a/block/elevator.c
+++ b/block/elevator.c
@@ -813,6 +813,11 @@ void elv_abort_queue(struct request_queue *q)
813 rq = list_entry_rq(q->queue_head.next); 813 rq = list_entry_rq(q->queue_head.next);
814 rq->cmd_flags |= REQ_QUIET; 814 rq->cmd_flags |= REQ_QUIET;
815 trace_block_rq_abort(q, rq); 815 trace_block_rq_abort(q, rq);
816 /*
817 * Mark this request as started so we don't trigger
818 * any debug logic in the end I/O path.
819 */
820 blk_start_request(rq);
816 __blk_end_request_all(rq, -EIO); 821 __blk_end_request_all(rq, -EIO);
817 } 822 }
818} 823}