[SCSI] zfcp: convert zfcp to use target reset and device reset handler
commit74b2e047ecda7a82c3327a0d0bb45ee2ccf301ca
authorChristof Schmitt <christof.schmitt@de.ibm.com>
Mon, 3 Mar 2008 11:19:28 +0000 (3 12:19 +0100)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 7 Apr 2008 17:15:43 +0000 (7 12:15 -0500)
treeda3466200e3b5c56702c98a420d64de1a8877907
parentce5450392fa3ab54f0a84aa3b7589f8d6f2a58af
[SCSI] zfcp: convert zfcp to use target reset and device reset handler

[based on proposal from Mike Christie <michaelc@cs.wisc.edu>, this
patch adds some simplifications to the handler functions]

With the new target reset handler callback in the SCSI midlayer, the
device reset handler in zfcp can be split in two parts. Now, zfcp does
not have to track anymore whether the device supports LUN resets, so
remove this flag and let the SCSI midlayer decide what to do.

The device reset handler simply issues a LUN reset and the target
reset handler a target reset.

Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/s390/scsi/zfcp_def.h
drivers/s390/scsi/zfcp_scsi.c