aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAndrew Vasquez <[email protected]>2008-08-13 21:36:56 -0700
committerJames Bottomley <[email protected]>2008-08-16 10:21:09 -0500
commit6390d1f33faecf48e31f27dd7dbe928540f8acfc (patch)
treef6ff0fa0888f89117618e832bdcd257da0f5803d /tools/perf/scripts/python
parentfe42625cdf0d4e06f01e365897a64b68d7f7de7d (diff)
[SCSI] qla2xxx: Correct synchronization of software/firmware fcport states.
Greg Wettstein ([email protected]) noted: http://article.gmane.org/gmane.linux.scsi/43409 on a reboot of a previously recognized SCST target, the initiator driver would be unable to re-recognize the device as a target. It turns out that prior to the SCST software reloading and returning it's "target-capable" abilities in the PRLI payload, the HBA would be re-initialized as an initiator-only type port. Since initiators typically classify themselves as an FCP-2 capable device, both software and firmware do not perform an explicit logout during port-loss. Unfortunately, as can be seen by the failure case, when the port (now target-capable) returns, firmware performs an ADISC without a follow-on PRLI, leaving stale 'initiator-only' data in the firmware's port database. Correct the discrepancy by performing the explicit logout during the transport's request to terminate-rport-io, thus synchronizing port states and ensuring a follow-on PRLI is performed. Reported-by: Greg Wettstein <[email protected]> Signed-off-by: Andrew Vasquez <[email protected]> Cc: Stable Tree <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions