Skip to content
Commit 48821184 authored by Jens Axboe's avatar Jens Axboe
Browse files

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: default avatarJens Axboe <jaxboe@fusionio.com>
Signed-off-by: default avatarVivek Goyal <vgoyal@redhat.com>
parent fcfb5c0c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment