]> git.baikalelectronics.ru Git - kernel.git/commit
floppy: switch to one queue per drive instead of sharing a queue
authorJens Axboe <jaxboe@fusionio.com>
Wed, 22 Sep 2010 07:32:36 +0000 (09:32 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Wed, 22 Sep 2010 07:32:36 +0000 (09:32 +0200)
commit7f0c9b2304e529825ae048dd1f617fe706065ec8
treec65be4db08980d2230b62b7b52320c5bb8bcf484
parent6146fc5a38ceb0b8a76d017d7133b30495025d19
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.

Fixed by Vivek to get rid of a double lock problem in set_next_request()

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
drivers/block/floppy.c