Re: [PATCH] scsi: return TARGET_ERROR when a device has been disconnected

2012-08-16 Thread Hannes Reinecke
On 08/16/2012 04:53 PM, Michael Christie wrote: > > On Aug 16, 2012, at 1:40 AM, Hannes Reinecke wrote: > >> When we receive a sense code of >> NOT READY, LOGICAL UNIT NOT SUPPORTED >> the device has been disconnected and any retry on other paths >> would be pointless. So return TARGET_ERROR her

Re: [PATCH] scsi: return TARGET_ERROR when a device has been disconnected

2012-08-16 Thread Michael Christie
On Aug 16, 2012, at 1:40 AM, Hannes Reinecke wrote: > When we receive a sense code of > NOT READY, LOGICAL UNIT NOT SUPPORTED > the device has been disconnected and any retry on other paths > would be pointless. So return TARGET_ERROR here. What target is this with? What about {ILLEGAL_REQUEST

[PATCH] scsi: return TARGET_ERROR when a device has been disconnected

2012-08-15 Thread Hannes Reinecke
When we receive a sense code of NOT READY, LOGICAL UNIT NOT SUPPORTED the device has been disconnected and any retry on other paths would be pointless. So return TARGET_ERROR here. Signed-off-by: Hannes Reinecke Cc: James Bottomley --- drivers/scsi/scsi_error.c |4 1 files changed, 4 i