On 12/06/2013 18:40, Or Gerlitz wrote:
On 11/06/2013 15:26, Or Gerlitz wrote:
Hi Nic,
I saw that the TCP code is willing to handle TEXT/sendtargets from
within the kernel, so I went a head and added the patch below,I just
have to rush now to other venues and will be able to test that
tomorrow. Will that plus probably enhancing isert_response_queue too
be all, or you see anything which is missing here?
Or.
Running with this patch and attempting to issue discovery over iser, I
came across this sequence of prints, can you let me
know how to make things more verbose so I can maybe debug it up little
further?
[ 1212.932724] i_buf: iqn.1994-05.com.redhat:e977fe6d73e, s_buf:
Discovery, t_buf: (null)
[ 1212.934862] Unable to accept text parameter length: 16greater than
MaxXmitDataSegmentLength 0.
Hi Mike,
I see now that at the initiator, for some reason
MaxXmitDataSegmentLength is 0 for iser nodes,
I am not sure how, but this doesn't seemto be an issue for non-discovery
sessions conducted
over iser with both LIO and TGT, any idea how to change that for discovery?
Or.
$ iscsiadm -m node -T
iqn.2003-01.org.linux-iscsi.xena017-3.x8664:sn.462ec002637e
# BEGIN RECORD 6.2.0-873.2.el6
node.name = iqn.2003-01.org.linux-iscsi.xena017-3.x8664:sn.462ec002637e
node.tpgt = 1
node.startup = manual
node.leading_login = No
iface.hwaddress = <empty>
iface.ipaddress = <empty>
iface.iscsi_ifacename = default
iface.net_ifacename = <empty>
iface.transport_name = iser
iface.initiatorname = <empty>
iface.bootproto = <empty>
iface.subnet_mask = <empty>
iface.gateway = <empty>
iface.ipv6_autocfg = <empty>
iface.linklocal_autocfg = <empty>
iface.router_autocfg = <empty>
iface.ipv6_linklocal = <empty>
iface.ipv6_router = <empty>
iface.state = <empty>
iface.vlan_id = 0
iface.vlan_priority = 0
iface.vlan_state = <empty>
iface.iface_num = 0
iface.mtu = 0
iface.port = 0
node.discovery_address = 192.168.20.199
node.discovery_port = 3260
node.discovery_type = send_targets
node.session.initial_cmdsn = 0
node.session.initial_login_retry_max = 8
node.session.xmit_thread_priority = -20
node.session.cmds_max = 128
node.session.queue_depth = 32
node.session.nr_sessions = 1
node.session.auth.authmethod = None
node.session.auth.username = <empty>
node.session.auth.password = <empty>
node.session.auth.username_in = <empty>
node.session.auth.password_in = <empty>
node.session.timeo.replacement_timeout = 120
node.session.err_timeo.abort_timeout = 15
node.session.err_timeo.lu_reset_timeout = 30
node.session.err_timeo.tgt_reset_timeout = 30
node.session.err_timeo.host_reset_timeout = 60
node.session.iscsi.FastAbort = Yes
node.session.iscsi.InitialR2T = No
node.session.iscsi.ImmediateData = Yes
node.session.iscsi.FirstBurstLength = 262144
node.session.iscsi.MaxBurstLength = 16776192
node.session.iscsi.DefaultTime2Retain = 0
node.session.iscsi.DefaultTime2Wait = 2
node.session.iscsi.MaxConnections = 1
node.session.iscsi.MaxOutstandingR2T = 1
node.session.iscsi.ERL = 0
node.conn[0].address = 192.168.20.199
node.conn[0].port = 3260
node.conn[0].startup = manual
node.conn[0].tcp.window_size = 524288
node.conn[0].tcp.type_of_service = 0
node.conn[0].timeo.logout_timeout = 15
node.conn[0].timeo.login_timeout = 15
node.conn[0].timeo.auth_timeout = 45
node.conn[0].timeo.noop_out_interval = 5
node.conn[0].timeo.noop_out_timeout = 5
node.conn[0].iscsi.MaxXmitDataSegmentLength = 0
node.conn[0].iscsi.MaxRecvDataSegmentLength = 262144
node.conn[0].iscsi.HeaderDigest = None
node.conn[0].iscsi.IFMarker = No
node.conn[0].iscsi.OFMarker = No
# END RECORD
--
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