• Kashyap, Desai's avatar
    [SCSI] mpt2sas: Add additional check for responding volumes after Host Reset · d417d1c3
    Kashyap, Desai authored
    ISSUE DESCRIPTION:
    This test case involves creating two RAID1 volumes,  then
    simultaneiously issue host reset and pull all the drives associated to
    the 1st raid volume.  The observed behavour is the physical drives are
    removed, however the volume remains.   The expected behavour is the
    volume as well as physical drives should be removed from OS.
    
    FIX:
    Add support in the post host reset device scan logic for raid volumes
    where the driver will have an additional check for responding raid
    volume where the status should be either online, optimal, or degraded.
    So for voluemes that have a status of missing or failed, the driver
    will mark them for deletion.
    Signed-off-by: default avatarKashyap Desai <kashyap.desai@lsi.com>
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
    d417d1c3
mpt2sas_scsih.c 205 KB