diff options
| author | Ming Lei <ming.lei@redhat.com> | 2017-10-14 17:22:32 +0800 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2017-11-01 08:20:02 -0600 |
| commit | 0df21c86bdbfd17dec9ab898312af9bfb74d5d86 (patch) | |
| tree | a035d2c2b35dc838006ef6b85201ae2bc86b2d10 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | scsi: allow passing in null rq to scsi_prep_state_check() (diff) | |
| download | linux-0df21c86bdbfd17dec9ab898312af9bfb74d5d86.tar.gz linux-0df21c86bdbfd17dec9ab898312af9bfb74d5d86.zip | |
scsi: implement .get_budget and .put_budget for blk-mq
We need to tell blk-mq to reserve resources before queuing one request,
so implement these two callbacks. Then blk-mq can avoid to dequeue
request too early, and IO merging can be improved a lot.
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
