diff options
| author | Per Forlin <[email protected]> | 2011-07-01 18:55:33 +0200 |
|---|---|---|
| committer | Chris Ball <[email protected]> | 2011-07-20 17:21:15 -0400 |
| commit | ee8a43a51c7681f19fe23b6b936e1d8094a8b7d1 (patch) | |
| tree | 8d4e11c82e24b2538c87fb655e499e7d7f9b99ca /tools/perf/scripts/python/sched-migration.py | |
| parent | 04296b7bfda45295a568b4b312e03828fae801dc (diff) | |
mmc: block: add handling for two parallel block requests in issue_rw_rq
Change mmc_blk_issue_rw_rq() to become asynchronous.
The execution flow looks like this:
* The mmc-queue calls issue_rw_rq(), which sends the request
to the host and returns back to the mmc-queue.
* The mmc-queue calls issue_rw_rq() again with a new request.
* This new request is prepared in issue_rw_rq(), then it waits for
the active request to complete before pushing it to the host.
* When the mmc-queue is empty it will call issue_rw_rq() with a NULL
req to finish off the active request without starting a new request.
Signed-off-by: Per Forlin <[email protected]>
Acked-by: Kyungmin Park <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Reviewed-by: Venkatraman S <[email protected]>
Tested-by: Sourav Poddar <[email protected]>
Tested-by: Linus Walleij <[email protected]>
Signed-off-by: Chris Ball <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions