diff options
author | Ming Lei <[email protected]> | 2017-06-06 23:22:07 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2017-06-18 14:24:48 -0600 |
commit | 69e07c4adb8669fd77f3b59abdb436aca9f1bee9 (patch) | |
tree | 3cb9d1d58028066defca897d75076f7b1d1d6bfd /tools/perf/scripts/python/netdev-times.py | |
parent | f4560ffe8cec1361b1021d81aca6a4173f8e7c87 (diff) |
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 <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions