• Stephen M. Cameron's avatar
    cciss: Do not automatically rescan on UNIT ATTENTION/LUN DATA CHANGED · da002184
    Stephen M. Cameron authored
    cciss: Do not automatically rescan on UNIT ATTENTION/LUN DATA CHANGED
    There are problems with doing this.  If, say, several logical drives
    are deleted at once, several such UNIT ATTENTIONS will be encountered,
    often during the rescan triggered by the first such UNIT ATTENTION.
    The block layer may be in the midst of trying to add logical drives
    which were just deleted (resulting in the subsequent UNIT ATTENTION(s).)
    Making the rescan code robust enough to tolerate this kind of thing
    is too complicated for the moment.  So, for now, we just don't do it.
    Note: This UNIT ATTENTION/LUN DATA CHANGED situation only occurs on
    the MSA2012.
    Signed-off-by: default avatarStephen M. Cameron <scameron@beardog.cce.hp.com>
    Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
    da002184
cciss.c 124 KB