]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/scsi/scsi_transport_iscsi.c
[SCSI] iscsi: rm kernel iscsi handles usage for session and connection
authorMike Christie <michaelc@cs.wisc.edu>
Fri, 7 Apr 2006 02:13:33 +0000 (21:13 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Fri, 14 Apr 2006 19:02:43 +0000 (14:02 -0500)
commitb5c7a12dc29ae0990d9e867749bdd717a3160325
tree66bb4b7fd02e5a8a89f385aadf80a666ac941fbe
parent13f7e5acc8b329080672c13f05f252ace5b79825
[SCSI] iscsi: rm kernel iscsi handles usage for session and connection

from hare@suse.de and michaelc@cs.wisc.edu

hw iscsi like qla4xxx does not allocate a host per session and
for userspace it is difficult to restart iscsid using the
"iscsi handles" for the session and connection, so this
patch just has the class or userspace allocate the id for
the session and connection.

Note: this breaks userspace and requires users to upgrade to the newest
open-iscsi tools. Sorry about his but open-iscsi is still too new to
say we have a stable user-kernel api and we were not good nough
designers to know that other hw iscsi drivers and iscsid itself would
need such changes. Actually we sorta did but at the time we did not
have the HW available to us so we could only guess.

Luckily, the only tools hooking into the class are the open-iscsi ones
or other tools like iscsitart hook into the open-iscsi engine from
userspace or prgroams like anaconda call our tools so they are not affected.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/iscsi_tcp.c
drivers/scsi/scsi_transport_iscsi.c
include/scsi/iscsi_if.h
include/scsi/scsi_transport_iscsi.h