Commit 48b99c9d authored by Jens Axboe's avatar Jens Axboe

blk-mq: fix a typo and a spelling mistake

Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 018c259b
...@@ -525,7 +525,7 @@ EXPORT_SYMBOL(blk_mq_start_request); ...@@ -525,7 +525,7 @@ EXPORT_SYMBOL(blk_mq_start_request);
/* /*
* When we reach here because queue is busy, REQ_ATOM_COMPLETE * When we reach here because queue is busy, REQ_ATOM_COMPLETE
* flag isn't set yet, so there may be race with timeout hanlder, * flag isn't set yet, so there may be race with timeout handler,
* but given rq->deadline is just set in .queue_rq() under * but given rq->deadline is just set in .queue_rq() under
* this situation, the race won't be possible in reality because * this situation, the race won't be possible in reality because
* rq->timeout should be set as big enough to cover the window * rq->timeout should be set as big enough to cover the window
...@@ -672,7 +672,7 @@ void blk_mq_rq_timed_out(struct request *req, bool reserved) ...@@ -672,7 +672,7 @@ void blk_mq_rq_timed_out(struct request *req, bool reserved)
* just be ignored. This can happen due to the bitflag ordering. * just be ignored. This can happen due to the bitflag ordering.
* Timeout first checks if STARTED is set, and if it is, assumes * Timeout first checks if STARTED is set, and if it is, assumes
* the request is active. But if we race with completion, then * the request is active. But if we race with completion, then
* we both flags will get cleared. So check here again, and ignore * both flags will get cleared. So check here again, and ignore
* a timeout event with a request that isn't active. * a timeout event with a request that isn't active.
*/ */
if (!test_bit(REQ_ATOM_STARTED, &req->atomic_flags)) if (!test_bit(REQ_ATOM_STARTED, &req->atomic_flags))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment