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
[SCSI Target Devel]
[Linux SCSI Target Infrastructure]
[Kernel Newbies]
[Share Photos]
[IDE]
[Security]
[Git]
[Netfilter]
[Bugtraq]
[Photos]
[Yosemite]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Linux ATA RAID]
[Linux IIO]
[Samba]
[Video 4 Linux]
[Device Mapper]
[Linux Resources]