diff options
| author | Tejun Heo <[email protected]> | 2009-05-08 11:54:01 +0900 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2009-05-11 09:52:15 +0200 |
| commit | 5b36ad6000ddea390aca3c3b67ead7616ace2ffc (patch) | |
| tree | dedca03fffd6729487fbd9bc3959428038e0cdfb /tools/perf/scripts/python | |
| parent | 9a8d23d8855e554fc5887f14cb008b55c4300ccc (diff) | |
mg_disk: dequeue and track in-flight request
mg_disk has at most single request in flight per device. Till now,
whenever it needs to access the in-flight request it called
elv_next_request(). This patch makes mg_disk track the in-flight
request directly using mg_host->req and dequeue it when processing
starts.
q->queuedata is set to mg_host so that mg_host can be determined
without fetching request from the queue.
[ Impact: dequeue in-flight request, one elv_next_request() per request ]
Signed-off-by: Tejun Heo <[email protected]>
Cc: unsik Kim <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions