aboutsummaryrefslogtreecommitdiff
path: root/include/scsi/fc/fc_gs.h
diff options
context:
space:
mode:
authorJoe Eykholt <jeykholt@cisco.com>2009-08-25 14:02:33 -0700
committerJames Bottomley <James.Bottomley@suse.de>2009-09-10 12:07:50 -0500
commitc762608bf75f792dcaf3658338189b9970951704 (patch)
tree16ed727f905466e550de7c2bee962c06736bda1d /include/scsi/fc/fc_gs.h
parent883a337cf8969b2906ffd8aeb838d875f7338190 (diff)
[SCSI] libfc: fix: empty zone causes endless discovery retries.
On some switches, an empty zone causes GPN_FT to be rejected with reason 9 (unable) explanation 7 (FC-4 types not registered), which causes discovery to be retried endlessly. Treat this as just an empty response and consider discovery complete. Signed-off-by: Joe Eykholt <jeykholt@cisco.com> Signed-off-by: Robert Love <robert.w.love@intel.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'include/scsi/fc/fc_gs.h')
-rw-r--r--include/scsi/fc/fc_gs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/scsi/fc/fc_gs.h b/include/scsi/fc/fc_gs.h
index ffab0272c65..324dd0e3c62 100644
--- a/include/scsi/fc/fc_gs.h
+++ b/include/scsi/fc/fc_gs.h
@@ -87,6 +87,7 @@ enum fc_ct_explan {
FC_FS_EXP_PNAM = 0x02, /* port name not registered */
FC_FS_EXP_NNAM = 0x03, /* node name not registered */
FC_FS_EXP_COS = 0x04, /* class of service not registered */
+ FC_FS_EXP_FTNR = 0x07, /* FC-4 types not registered */
/* definitions not complete */
};