]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
fnic: fix for fnic crash when blk-mq enabled in UEK4
authorJason Luo <zhangqing.luo@oracle.com>
Thu, 22 Oct 2015 06:23:04 +0000 (14:23 +0800)
committerJason Luo <zhangqing.luo@oracle.com>
Thu, 22 Oct 2015 06:23:04 +0000 (14:23 +0800)
From: Narsimhulu Musini <nmusini@cisco.com>

fnic driver hits crash on accessing global tag set when blk-mq enabled.
fix disables blk-mq support for fnic.

Orabug: 22049739

Signed-off-by: Narsimhulu Musini <nmusini@cisco.com>
Signed-off-by: Jason Luo <zhangqing.luo@oracle.com>
drivers/scsi/fnic/fnic_main.c

index 8a0d4d7b3254d715c32cfcc41bb0fc66dd221221..f32d9df18825753f7a07794ea8842931cb7ee336 100644 (file)
@@ -118,6 +118,7 @@ static struct scsi_host_template fnic_host_template = {
        .sg_tablesize = FNIC_MAX_SG_DESC_CNT,
        .max_sectors = 0xffff,
        .shost_attrs = fnic_attrs,
+       .disable_blk_mq = 1,
        .use_blk_tags = 1,
        .track_queue_depth = 1,
 };