[SCSI] iscsi: add async notification of session events
commit53cb8a1f45e06a2627a6d89b151cccb95fa45cbf
authorMike Christie <michaelc@cs.wisc.edu>
Wed, 28 Jun 2006 17:00:32 +0000 (28 12:00 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Thu, 29 Jun 2006 15:14:42 +0000 (29 11:14 -0400)
tree272c8bfb7a3e8a9a9af55e2e6b76e0ecd757410b
parent6a8a0d3621745279a131d95f0204dc9ddac60d55
[SCSI] iscsi: add async notification of session events

This patch adds or modifies the transport class functions
used to notify userspace of session state events.

We modify the session addition up event and add a destruction event
to notify userspace of session creation, relogin and destruction.

And we modify the conn error event to be sent by broadcast
since multiple listeners may want to listen for it.

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