Files
android_kernel_xiaomi_sm8450/drivers/ide
Bartlomiej Zolnierkiewicz 201bffa464 ide: use per-device request queue locks (v2)
* Move hack for flush requests from choose_drive() to do_ide_request().

* Add ide_plug_device() helper and convert core IDE code from using
  per-hwgroup lock as a request lock to use the ->queue_lock instead.

* Remove no longer needed:
  - choose_drive() function
  - WAKEUP() macro
  - 'sleeping' flag from ide_hwif_t
  - 'service_{start,time}' fields from ide_drive_t

This patch results in much simpler and more maintainable code
(besides being a scalability improvement).

v2:
* Fixes/improvements based on review from Elias:
  - take as many requests off the queue as possible
  - remove now redundant BUG_ON()

Cc: Elias Oltmanns <eo@nebensachen.de>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2009-01-02 16:12:50 +01:00
..
2008-12-02 20:40:04 +01:00
2008-11-30 10:03:36 -08:00
2008-11-27 12:38:11 +00:00
2008-11-09 21:35:36 +01:00
2008-11-02 21:40:08 +01:00
2008-11-02 21:40:10 +01:00
2008-07-23 19:55:57 +02:00
2008-10-21 07:48:27 -04:00
2009-01-02 16:12:48 +01:00
2008-11-02 21:40:08 +01:00
2008-11-02 21:40:08 +01:00
2008-12-28 20:00:03 +01:00
2008-11-02 21:40:08 +01:00
2008-10-26 09:35:05 -07:00
2008-11-02 21:40:08 +01:00
2008-11-02 21:40:08 +01:00