]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi_transport_iscsi: Add conn login, kernel to user, event to support offload sessio...
authorManish Rangankar <manish.rangankar@qlogic.com>
Mon, 25 Jul 2011 18:48:52 +0000 (13:48 -0500)
committerGuru Anbalagane <guru.anbalagane@oracle.com>
Fri, 16 Dec 2011 02:30:33 +0000 (18:30 -0800)
commit0262e21a71c1ed837a11c6104d4bf8db18f11e09
tree3dfacf7fc7f2ef6d26d0ca118e29725ba36de5fe
parent0cf97b4765a694d98b010e836b03905485a1062c
scsi_transport_iscsi: Add conn login, kernel to user, event to support offload session login.

Offload drivers like qla4xxx will offload the sending of the login/logout
pdus still, so this patch adds iscsi_conn_login_event which is
used by these types of drivers to notify userspace that the connection
has changed state.

It also adds a iscsi_is_session_online helper so the lld
can query the sessions state field.

Signed-off-by: Manish Rangankar <manish.rangankar@qlogic.com>
Signed-off-by: Lalit Chandivade <lalit.chandivade@qlogic.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/iscsi_if.h
include/scsi/scsi_transport_iscsi.h