commit | e3896d77b7025c39150eb5ada33ec2c88f4ad445 | [log] [tgz] |
---|---|---|
author | Omar Sandoval <osandov@fb.com> | Mon Oct 15 09:12:12 2018 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Oct 16 09:49:18 2018 -0600 |
tree | ea13bc04044582cc97f85c3309880fbb494e2645 | |
parent | 1448a2a5360ae06f25e2edc61ae070dff5c0beb4 [diff] |
swim: convert to blk-mq The only interesting thing here is that there may be two floppies (i.e., request queues) sharing the same controller, so we use the global struct swim_priv->lock to check whether the controller is busy. Compile-tested only. Tested-by: Finn Thain <fthain@telegraphics.com.au> Acked-by: Laurent Vivier <lvivier@redhat.com> Signed-off-by: Omar Sandoval <osandov@fb.com> Converted to blk_mq_init_sq_queue() Signed-off-by: Jens Axboe <axboe@kernel.dk>