• Jeff Skirvin's avatar
    isci: filter broadcast change notifications during SMP phy resets · 61aaff49
    Jeff Skirvin authored
    When resetting a sata device in the domain we have seen occasions where
    libsas prematurely marks a device gone in the time it takes for the
    device to re-establish the link.  This plays badly with software raid
    arrays.  Other libsas drivers have non-uniform delays in their reset
    handlers to try to cover this condition, but not sufficient to close the
    hole.  Given that a sata device can take many seconds to recover we
    filter bcns and poll for the device reattach state before notifying
    libsas that the port needs the domain to be rediscovered.  Once this has
    been proven out at the lldd level we can think about uplevelling this
    feature to a common implementation in libsas.
    Signed-off-by: default avatarJeff Skirvin <jeffrey.d.skirvin@intel.com>
    [ use kzalloc instead of kmem_cache ]
    Signed-off-by: default avatarDave Jiang <dave.jiang@intel.com>
    [ use eventq and time macros ]
    Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
    61aaff49
port.h 11.3 KB