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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Aug 16, 2012, at 1:40 AM, Hannes Reinecke <hare@xxxxxxx> 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,  LOGICAL UNIT NOT SUPPORTED}? Would you want to do the same behavior for that error?

I ask because I have seen targets return {ILLEGAL_REQUEST,  LOGICAL UNIT NOT SUPPORTED} when you only unexport the LUN from a path/port on the target. I was wondering if some might do the same for {NOT_READY, LOGICAL UNIT NOT SUPPORTED}? In those cases, we would not want multipath to fail IO.

In these type of cases should the target be returning something else?--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux