[stgt] [PATCH 1/2] add signalfd support
FUJITA Tomonori
fujita.tomonori at lab.ntt.co.jp
Thu Sep 17 10:22:23 CEST 2009
On Thu, 17 Sep 2009 09:52:07 +0300
Or Gerlitz <ogerlitz at Voltaire.com> wrote:
> FUJITA Tomonori wrote:
> > Thanks. So it means that the latest code works even on systems that
> > don't support signalfd, right?
>
> Hi Tomo, I have problems which OTOH don't seem to be related to this patch, but OTOH don't allow me to declare the latest code to work...
Ok, first let's see if this is due to the recent tgt changes or not;
0.9.8 and RHEL 5.3 initiator work?
> First, with TCP, I can't login, the initiator complains and prints the "Could not create connection due to crc32c loading error. Make sure the crc32c module is built as a module or into the kernel" famous crc32 load error, but the RHEL 5.3 config file has it all in place (info below), I am quite sure its RTFM but I don't find the "M" that would tell me what I am doing wrong...
Wired, seems crc32c is built in.
> Next, with iSER, I can't write with disktest but can with dd (bs is null)
>
> > # dd if=/dev/zero of=/dev/sdi bs=1k count=1024
> > 1024+0 records in
> > 1024+0 records out
> > 1048576 bytes (1.0 MB) copied, 0.042389 seconds, 24.7 MB/s
> > # disktest -PT -T30 -h1 -K1 -B32k -ID /dev/sdi -D 0:100
> > | 2009/09/17-09:54:42 | INFO | 27601 | v1.1.12 | /dev/sdi | Balancing percentage between reads and writes
> > | 2009/09/17-09:54:42 | START | 27601 | v1.1.12 | /dev/sdi | Start args: -PT -T30 -h1 -K1 -B32k -ID /dev/sdi -D (-N 2000) (-r) (-c) (-p r) (-L 31)
> > | 2009/09/17-09:54:42 | INFO | 27601 | v1.1.12 | /dev/sdi | Starting pass
> > | 2009/09/17-09:54:42 | ERROR | 27601 | v1.1.12 | /dev/sdi | Write failed: seek 1, lba 1280 (0x500), got = -1, asked for = 32768
> > | 2009/09/17-09:54:43 | STAT | 27601 | v1.1.12 | /dev/sdi | Read throughput: 0.0B/s (0.00MB/s), IOPS 0.0/s.
> > | 2009/09/17-09:54:43 | STAT | 27601 | v1.1.12 | /dev/sdi | Total read throughput: 0.0B/s (0.00MB/s), IOPS 0.0/s.
> > | 2009/09/17-09:54:43 | END | 27601 | v1.1.12 | /dev/sdi | Test Done (Failed)
>
>
> Or
>
> > # grep -i crc /boot/config-2.6.18-128.el5
> > CONFIG_CRYPTO_CRC32C=y
> > CONFIG_CRC_CCITT=m
> > CONFIG_CRC16=m
> > CONFIG_CRC_ITU_T=m
> > CONFIG_CRC32=y
> > CONFIG_LIBCRC32C=y
>
>
> # iscsiadm -m node --target tgt-xxx
> # BEGIN RECORD 2.0-868
> node.name = tgt-xxx
> node.tpgt = 1
> node.startup = automatic
> iface.hwaddress = default
> iface.iscsi_ifacename = default
> iface.net_ifacename = default
> iface.transport_name = tcp
> node.discovery_address = 10.10.5.62
> node.discovery_port = 3260
> node.discovery_type = send_targets
> node.session.initial_cmdsn = 0
> node.session.initial_login_retry_max = 4
> node.session.cmds_max = 128
> node.session.queue_depth = 32
> 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.host_reset_timeout = 60
> node.session.iscsi.FastAbort = Yes
> node.session.iscsi.InitialR2T = Yes
> node.session.iscsi.ImmediateData = No
> 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 = 10.10.5.62
> node.conn[0].port = 3260
> node.conn[0].startup = automatic
> 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.MaxRecvDataSegmentLength = 131072
> 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 stgt" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the stgt
mailing list