• Michael Reed's avatar
    [SCSI] fusion: hold off error recovery while alternate ioc is initializing · 03cb3829
    Michael Reed authored
    After discussing this patch with LSI, I resubmitting with a recommended
    40 second wait for the alternate ioc's initialization to complete.
    --
    Fusion FC chips are two function with some shared resources.  During
    initialization of one function its driver inhibits the ability of the
    other function's driver to allocate message frames by clearing its
    "active" flag.  Should mid-layer error recovery be initiated for a
    scsi command during this initialization (which can take up to 40 seconds)
    error recovery will escalate to the level of host reset.  This host
    reset might fail (as the other function is resetting) resulting in
    all connected targets being taken offline.
    
    This patch holds off mid-layer error recovery for up to 40 seconds
    to permit initialization of the other function to complete.
    Signed-off-by: default avatarMichael Reed <mdr@sgi.com>
    Acked-by: default avatar"Desai, Kashyap" <Kashyap.Desai@lsi.com>
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
    03cb3829
mptfc.c 41.2 KB