diff options
| author | Bartlomiej Zolnierkiewicz <[email protected]> | 2008-07-15 21:21:42 +0200 |
|---|---|---|
| committer | Bartlomiej Zolnierkiewicz <[email protected]> | 2008-07-15 21:21:42 +0200 |
| commit | c6866a6ff571eebebda45bf14b5b62188768893a (patch) | |
| tree | ae95d40eb549f07a24dc67b3fc84cc941accefb9 /tools/perf/scripts/python | |
| parent | e8a96aa71355edef9f40ce01459acf25c50cb78c (diff) | |
ide: use __generic_unplug_device() in ide_do_drive_cmd() (take 2)
* Call __elv_add_request() with 'plug' == 1 (so the device will be
plugged) and then use __generic_unplug_device() instead of calling
ide_do_request() directly.
v2:
* For blk_pm_resume_request() requests the queue is stopped so we
need to call ->request_fn explicitly.
Thanks to:
- Rafael for reporting/bisecting the bug
- Borislav/Rafael for testing the fix
This is a preparation for converting IDE to use blk_execute_rq().
Cc: FUJITA Tomonori <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: "Rafael J. Wysocki" <[email protected]>
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions