[SCSI] libfc: add local port hook for provider session lookup
authorJoe Eykholt <jeykholt@cisco.com>
Sat, 29 Jan 2011 00:04:13 +0000 (16:04 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Sat, 12 Feb 2011 17:02:17 +0000 (11:02 -0600)
commitbaf9fdf076a8976431b5de565aef2b98816caecf
tree42bad5787ee6e58825a7a4c2246c8b58f1e20f9d
parent1a5c2d7e5c8ef239804cb08b68363e0cd2f74a3d
[SCSI] libfc: add local port hook for provider session lookup

The target provider needs a per-instance lookup table
or other way to lookup sessions quickly without going through
a linear list or serializing too much.

Add a simple void * array indexed by FC-4 type to the fc_lport.

Signed-off-by: Joe Eykholt <jeykholt@cisco.com>
Committed-by: Nicholas A. Bellinger <nab@linux-iscsi.org>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
include/scsi/libfc.h