[SCSI] iscsi class: Replace iscsi_get_next_target_id with IDA
authorMike Christie <michaelc@cs.wisc.edu>
Thu, 6 Oct 2011 08:56:57 +0000 (03:56 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 20 Oct 2011 15:10:07 +0000 (10:10 -0500)
commit8d4a690cd4f574bcb70c2cb89c227ba89a51351f
treed1a0da50cc35e363aed3bf62c80d26029549bca4
parentdc55b8274daddffefc34026ed7924138c8c5df17
[SCSI] iscsi class: Replace iscsi_get_next_target_id with IDA

 Replaced the iscsi_get_next_target_id with IDA to make
 target-id allocation efficient for iscsi offload drivers

 This patch should be applied after Jonathen Cameron Patch
 "ida : simplified functions for id allocation"

Signed-off-by: John Soni Jose <jose0here@gmail.com>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/scsi_transport_iscsi.c
include/scsi/scsi_transport_iscsi.h