floppy: switch to one queue per drive instead of sharing a queue one-queue-per-device
authorJens Axboe <jens.axboe@oracle.com>
Wed, 17 Jun 2009 12:54:18 +0000 (14:54 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 17 Jun 2009 12:54:18 +0000 (14:54 +0200)
commit7a0ebc7ea1db42a71841df6a15be9fd420fae980
treecc19890abb77294e898e70bbb150059a7088b8a5
parent65795efbd380a832ae508b04dba8f8e53f0b84d9
floppy: switch to one queue per drive instead of sharing a queue

Pretty straight forward conversion. Note that we do round-robin
between the drives that have available requests, before we simply
used the drive that the IO scheduler told us to. Since the IO
scheduler doesn't care about multiple devices per queue, the resulting
sort would not have made sense.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/block/floppy.c