]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[SCSI] scsi_transport_iscsi: Add conn login, kernel to user, event to support offload...
authorManish Rangankar <manish.rangankar@qlogic.com>
Mon, 25 Jul 2011 18:48:52 +0000 (13:48 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 24 Aug 2011 05:47:10 +0000 (22:47 -0700)
commit35caea258c3a53a1abf1fe885ee170ae15ae4137
treea1eb9c17423b9063546a309b9cdfb63a2f5d820f
parent6edc50a85d7f070b5025029743ccff08c8b8acfd
[SCSI] 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