On Aug 16, 2012, at 1:40 AM, Hannes Reinecke <[email protected]> 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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html