Skip to content
  • Ming Lei's avatar
    blk-mq: update comments on blk_mq_quiesce_queue() · 69e07c4a
    Ming Lei authored
    
    
    Actually what we want to get from blk_mq_quiesce_queue()
    isn't only to wait for completion of all ongoing .queue_rq().
    
    In the typical context of canceling requests, we need to
    make sure that the following is done in the dispatch path
    before starting to cancel requests:
    
    	- failed dispatched request is finished
    	- busy dispatched request is requeued, and the STARTED
    	flag is cleared
    
    So update comment to keep code, doc and our expection consistent.
    
    Signed-off-by: default avatarMing Lei <ming.lei@redhat.com>
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
    69e07c4a