diff options
author | Hannes Reinecke <hare@suse.com> | 2018-10-07 10:35:35 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-10-15 23:53:29 -0400 |
commit | a33e5bfb29721015349a3864c91abe11f6195d5c (patch) | |
tree | 82065a8ff7f13a8d7842dd0ac2bdb4b16fafe357 /drivers/scsi/libfc | |
parent | 86117d7f9569820795c8f6b9a1c9b911cb5037c7 (diff) | |
download | linux-a33e5bfb29721015349a3864c91abe11f6195d5c.tar.bz2 |
scsi: core: Allow state transitions from OFFLINE to BLOCKED
When an RSCN gets delayed (or not being sent at all), the transport class
will detect an error, EH kicks in, and eventually will be setting the
device to offline. If we receive an RSCN after that, the device will
stay in 'offline'. This patch allows for an 'offline' to 'blocked'
transition, thereby allowing the device to become active again.
Signed-off-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/libfc')
0 files changed, 0 insertions, 0 deletions