• Omar Sandoval's avatar
    ataflop: convert to blk-mq · 6ec3938c
    Omar Sandoval authored
    This driver is already pretty broken, in that it has two wait_events()
    (one in stdma_lock()) in request_fn. Get rid of the first one by
    freezing/quiescing the queue on format, and the second one by replacing
    it with stdma_try_lock(). The rest is straightforward. Compile-tested
    only and probably incorrect.
    
    Cc: Laurent Vivier <lvivier@redhat.com>
    Signed-off-by: default avatarOmar Sandoval <osandov@fb.com>
    
    Converted to blk_mq_init_sq_queue()
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
    6ec3938c
ataflop.c 54.3 KB