diff options
author | Ming Lei <ming.lei@redhat.com> | 2017-06-06 18:22:07 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-06-18 23:24:48 +0300 |
commit | 69e07c4adb8669fd77f3b59abdb436aca9f1bee9 (patch) | |
tree | 3cb9d1d58028066defca897d75076f7b1d1d6bfd /lib/percpu_ida.c | |
parent | f4560ffe8cec1361b1021d81aca6a4173f8e7c87 (diff) | |
download | linux-69e07c4adb8669fd77f3b59abdb436aca9f1bee9.tar.xz |
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 'lib/percpu_ida.c')
0 files changed, 0 insertions, 0 deletions