From: Joe Eykholt Date: Tue, 25 Aug 2009 21:02:11 +0000 (-0700) Subject: [SCSI] libfc: do not log off rports before or after discovery X-Git-Tag: v2.6.32-rc1~689^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f6c6149870e03c722af6eae406758b28cb71320;p=pandora-kernel.git [SCSI] libfc: do not log off rports before or after discovery When receiving an RSCN, do not log off all rports. This is extremely disruptive. If, after the GPN_FT response, some rports haven't been listed, delete them. Add field disc_id to structs fc_rport_priv and fc_disc. disc_id is an arbitrary serial number used to identify the rports found by the latest discovery. This eliminates the need to go through the rport list when restarting discovery. Signed-off-by: Joe Eykholt Signed-off-by: Robert Love Signed-off-by: James Bottomley --- Reading git-diff-tree failed