[SCSI] iscsi: add sysfs attrs for uspace sync up
authorMike Christie <michaelc@cs.wisc.edu>
Fri, 7 Apr 2006 02:13:36 +0000 (21:13 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Fri, 14 Apr 2006 19:03:41 +0000 (14:03 -0500)
commitfd7255f51a13ea915099c7e488001dfbbeb05104
tree964624f68f000848dae1a9f4c396502849707826
parentb5c7a12dc29ae0990d9e867749bdd717a3160325
[SCSI] iscsi: add sysfs attrs for uspace sync up

For iscsi boot when going from initramfs to the real root we
need to stop the userpsace iscsi daemon. To later restart it
iscsid needs to be able to rebuild itself and part of that
process is matching a session running the kernel with the
iscsid representation. To do this the attached patch
adds several required iscsi values. If the LLD does not provide
them becuase, login is done in userspace, then the transport
class and userspace set ths up for the LLD.

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