Skip to content

Commit 9809b4e

Browse files
Christoph Hellwigaxboe
authored andcommitted
block: update a few comments for the legacy request removal
Only the mq locking is left in the flush state machine. Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent d533756 commit 9809b4e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎block/blk-flush.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ static void blk_flush_queue_rq(struct request *rq, bool add_front)
148148
* completion and trigger the next step.
149149
*
150150
* CONTEXT:
151-
* spin_lock_irq(q->queue_lock or fq->mq_flush_lock)
151+
* spin_lock_irq(fq->mq_flush_lock)
152152
*
153153
* RETURNS:
154154
* %true if requests were added to the dispatch queue, %false otherwise.
@@ -252,7 +252,7 @@ static void flush_end_io(struct request *flush_rq, blk_status_t error)
252252
* Please read the comment at the top of this file for more info.
253253
*
254254
* CONTEXT:
255-
* spin_lock_irq(q->queue_lock or fq->mq_flush_lock)
255+
* spin_lock_irq(fq->mq_flush_lock)
256256
*
257257
*/
258258
static void blk_kick_flush(struct request_queue *q, struct blk_flush_queue *fq,

0 commit comments

Comments
 (0)