• Jens Axboe's avatar
    [PATCH] Fix blk_stop_queue bug · 6431d730
    Jens Axboe authored
    Benh saw some bugs where the queue would end up being in an invalid
    state, and this could certainly explain one of them. We must not have a
    stopped queue on the plug list, and blk_plug_device() right now will
    happily plug a stopped queue.
    
    We don't need to have it plugged either, blk_start_queue() will make
    sure that request_fn gets run.
    6431d730
ll_rw_blk.c 72.5 KB