Tejun Heo e091eb67af hd: clean up request completion paths
hd read/write_intr() functions manually manipulate request to
incrementally complete it, which block layer already supports.  Simply
use block layer completion routines instead of manual partial
completion.

While at it, clear unnecessary elv_next_request() check at the tail of
read_intr().  This also makes read and write_intr() more consistent.

[ Impact: cleanup ]

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-04-28 08:14:51 +02:00
..
2009-04-01 21:42:24 +02:00
2009-04-15 12:10:13 +02:00
2009-04-07 08:12:38 +02:00
2009-04-28 08:14:51 +02:00
2009-04-07 08:12:38 +02:00
2009-04-28 07:37:28 +02:00
2009-04-07 08:12:38 +02:00
2009-04-02 19:05:02 -07:00
2009-04-28 08:14:50 +02:00
2009-04-28 08:14:50 +02:00
2009-03-26 21:15:27 +01:00
2009-04-17 10:50:27 -07:00
2009-04-24 08:54:21 +02:00