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: NFinn Thain <fthain@telegraphics.com.au> Acked-by: NLaurent Vivier <lvivier@redhat.com> Signed-off-by: NOmar Sandoval <osandov@fb.com> Converted to blk_mq_init_sq_queue() Signed-off-by: NJens Axboe <axboe@kernel.dk>
Showing
想要评论请 注册 或 登录