On 02/13/2013 12:31 PM, Nicholas A. Bellinger wrote:
On Fri, 2013-02-08 at 15:05 -0800, Andy Grover wrote:
RFC 3720 says "Each Network Portal, as utilized by a given iSCSI Node,
belongs to exactly one portal group within that node." therefore
iscsit_add_np should not check for existing matching portals, it should
just go ahead and try to make the portal, and then kernel_bind() will
return the proper error.
Signed-off-by: Andy Grover <agrover@xxxxxxxxxx>
---
NACK. Your interpretation of RFC-3720 is incorrect. There is nothing
that says that a single IP address cannot be shared across multiple
TargetName+TargetPortalGroupTag endpoints.
A Network Portal is ip:port, not just IP. I'd agree two TPGs can use the
same IP as long as they listen on different ports.
But that bit I quoted seems pretty clear. How should it be alternatively
interpreted?
Thanks -- Andy
--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html