diff options
author | Ming Lei <ming.lei@redhat.com> | 2017-06-06 17:22:07 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-06-18 22:24:48 +0200 |
commit | 69e07c4adb8669fd77f3b59abdb436aca9f1bee9 (patch) | |
tree | 3cb9d1d58028066defca897d75076f7b1d1d6bfd /include | |
parent | blk-mq: use QUEUE_FLAG_QUIESCED to quiesce queue (diff) | |
download | linux-69e07c4adb8669fd77f3b59abdb436aca9f1bee9.tar.xz linux-69e07c4adb8669fd77f3b59abdb436aca9f1bee9.zip |
blk-mq: update comments on blk_mq_quiesce_queue()
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: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions