• Brian King's avatar
    [PATCH] blk_queue_free_tags() fix · ff2087ea
    Brian King authored
    This is a resend of three ll_rw_blk patches related to tagged queuing.
    
    Currently blk_queue_free_tags cannot be called with ops outstanding.  The
    scsi_tcq API defined to LLD scsi drivers allows for scsi_deactivate_tcq to
    be called (which calls blk_queue_free_tags) with ops outstanding.  Change
    blk_queue_free_tags to no longer free the tags, but rather just disable
    tagged queuing and also modify blk_queue_init_tags to handle re-enabling
    tagged queuing after it has been disabled.
    Signed-off-by: default avatarJens Axboe <axboe@suse.de>
    Signed-off-by: default avatarBrian King <brking@us.ibm.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    ff2087ea
ll_rw_blk.c 83.2 KB