]> err.no Git - linux-2.6/commit
[SCSI] scsi_dh: create lookup cache
authorHannes Reinecke <hare@suse.de>
Thu, 17 Jul 2008 23:53:33 +0000 (16:53 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 26 Jul 2008 19:14:54 +0000 (15:14 -0400)
commit7c32c7a2d36c52d2b9ed040a9171364020ecc6a2
tree52e5c6b9bfd6aee8b431fc70713fa1882f8e0a31
parentae11b1b36da726a8a93409b896704edc6b4f3402
[SCSI] scsi_dh: create lookup cache

Create a cache of devices that are seen in a system. This will avoid
the unnecessary traversal of the device list in the scsi_dh when there
are multiple luns of a same type.

Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/device_handler/scsi_dh.c