diff options
author | mnc <mnc@d7303112-9cec-0310-bdd2-e83a94d6c2b6> | 2007-04-24 04:49:04 +0000 |
---|---|---|
committer | mnc <mnc@d7303112-9cec-0310-bdd2-e83a94d6c2b6> | 2007-04-24 04:49:04 +0000 |
commit | 180f1b41fa0aa4edc821678e42d67f12511bc921 (patch) | |
tree | 8052d5d968df2efffff8ff28409e90c9fc2675b7 /etc | |
parent | 245aeadb6ec6e546d905de0760f9aa56529e4b4b (diff) | |
download | open-iscsi-180f1b41fa0aa4edc821678e42d67f12511bc921.tar.gz |
there were some fun leaks and places where we could segfault since we never check if the allocation succeeds, so this patch fixes them in the discovery code and it allows use to set the MaxRecvDataSegmentLength so we can set it higher for some targets which do not send multiple smaller pdus well
git-svn-id: svn://svn.berlios.de/open-iscsi@787 d7303112-9cec-0310-bdd2-e83a94d6c2b6
Diffstat (limited to 'etc')
-rw-r--r-- | etc/iscsid.conf | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/etc/iscsid.conf b/etc/iscsid.conf index 64127b7..81f464b 100644 --- a/etc/iscsid.conf +++ b/etc/iscsid.conf @@ -153,6 +153,16 @@ node.session.iscsi.MaxBurstLength = 16776192 # the default is 131072 node.conn[0].iscsi.MaxRecvDataSegmentLength = 131072 + +# To specify the maximum number of data bytes the initiator can receive +# in an iSCSI PDU from a target during a discovery session, edit the +# following line. +# +# The value is the number of bytes in the range of 512 to (2^24-1) and +# the default is 32768 +# +discovery.sendtargets.iscsi.MaxRecvDataSegmentLength = 32768 + # To allow the targets to control the setting of the digest checking, # with the initiator requesting a preference of enabling the checking, uncomment# one or both of the following lines: #node.conn[0].iscsi.HeaderDigest = CRC32C,None @@ -177,8 +187,3 @@ node.conn[0].iscsi.MaxRecvDataSegmentLength = 131072 # The default is to never use DataDigests and to allow the target to control # the setting of the HeaderDigest checking with the initiator requesting # a preference of disabling the checking. - -# -# To enable the iSNS server -#isns.address = 192.168.0.1 -#isns.port = 3205 |