]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] qla4xxx: directly call iscsi recovery functions
authorMike Christie <michaelc@cs.wisc.edu>
Thu, 31 Jan 2008 19:36:44 +0000 (13:36 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 8 Feb 2008 00:02:34 +0000 (18:02 -0600)
commitb635930de91be0a217292e3fe381af273e5ffaf7
treeb817c8c5f40cf0ba1f58f5bd66ac811132ff5834
parent6eabafbe6616266e8de61980a7dac5ecc1ba1113
[SCSI] qla4xxx: directly call iscsi recovery functions

Qla4xxx can just call the iscsi recovery functions directly.
There is no need for userspace to do this for qla4xxx, because
we do not use the mutex to iterate over devices anymore and iscsi_block
/unblock_session can be called from interrupt context or the dpc thread.
And having userspace do this just creates uneeded headaches for qla4xxx root
situations where the session may experience problems. For example
during the kernel shutdown the scsi layer wants to send sync caches, but at
this time userspace is not up (iscsid is not running), so we cannot
recover from the problem.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Cc: David Somayajulu <david.somayajulu@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/qla4xxx/ql4_init.c
drivers/scsi/qla4xxx/ql4_os.c