• Brian King's avatar
    [PATCH] ipr: Device remove cleanup · 2ef2a2d5
    Brian King authored
    If a device disappears across an adapter reset, ipr schedules the device to be
    removed from scsi core. Any ops sent to that device prior to its actual removal
    end up getting sent to the adapter using a now invalid adapter resource handle.
    Usually, the adapter will just fail the command and the failure will end up
    looking like a selection timeout, but it is possible the resource handle
    has been re-used by the adapter and we could be sending an op to a different
    device than we think we are. This patch closes this window.
    Signed-off-by: default avatarBrian King <brking@us.ibm.com>
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
    2ef2a2d5
ipr.c 162 KB