ide: always ensure that blk_delay_queue() is called if we have pending IO
authorJens Axboe <jaxboe@fusionio.com>
Tue, 5 Apr 2011 01:29:57 +0000 (03:29 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Tue, 5 Apr 2011 21:52:49 +0000 (23:52 +0200)
commit782b86e2656762382ae1c2686d8d5c91f7d5eacf
treea2d47765c87d1407e67ac55634c2bcbfa6cddb59
parentf83e826181f7f8fb152e4190d03854fc3a5dd040
ide: always ensure that blk_delay_queue() is called if we have pending IO

Just because we are not requeuing a request does not mean that
some aren't pending. So always issue a blk_delay_queue() if
either we are requeueing OR there's pending IO.

This fixes a boot problem for some IDE boxes.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
drivers/ide/ide-io.c