History log of /openbsd/usr.sbin/iscsid/connection.c (Results 1 – 21 of 21)
Revision Date Author Comments
# 2f43ab01 05-Dec-2015 mmcc <mmcc@openbsd.org>

strings.h -> string.h as necessary to prevent implicit declaration
warnings


# efb506e8 23-Nov-2014 claudio <claudio@openbsd.org>

TargetPortalGroupTag is a binary 16-bit value so 0 is allowed.
Still not perfect since binary values can also be base64 encoded but
one step closer.


# daed3c83 10-May-2014 claudio <claudio@openbsd.org>

Extend the connection and session FSMs so that connection failure is
handled more gracefully. Losing the TCP connection no longer results
in an unrecoverable stop requiring a restart of iscsid.


# 4b539f84 21-Apr-2014 claudio <claudio@openbsd.org>

Bind to localAddr if specified and add some XXX comments about stuff
that is not prefect yet.


# f9cc11ec 21-Apr-2014 claudio <claudio@openbsd.org>

Handle EAGAIN, ENOBUFS and EINTR a bit better. Ignore them one layer above
and do not fail and tear down the world when they happen.


# 7bc8b37f 20-Apr-2014 claudio <claudio@openbsd.org>

After doing all of the loging dance to get the target's params it makes
sense to merge them into the active set. At least that way we run with
the right params and finally do reads and writes that ar

After doing all of the loging dance to get the target's params it makes
sense to merge them into the active set. At least that way we run with
the right params and finally do reads and writes that are > 8k.

show more ...


# be16f395 20-Apr-2014 claudio <claudio@openbsd.org>

Use only one style for "return foo;"


# 889e0b3b 20-Apr-2014 claudio <claudio@openbsd.org>

Fix conn_gen_kvp and its caller to fill the kvp array properly (including
the NULL terminator at the end). Now iscsid does proper LoginOperational
negotiation (which will bump the MaxRecvDataSegmentL

Fix conn_gen_kvp and its caller to fill the kvp array properly (including
the NULL terminator at the end). Now iscsid does proper LoginOperational
negotiation (which will bump the MaxRecvDataSegmentLength to 64k)

show more ...


# 4125a3c4 04-May-2011 claudio <claudio@openbsd.org>

Massive diff to handle logins more correctly. iscsid will now do
better operational parameter negotiation but more is needed.
Tested by todd@ and myself.


# 12bd4d7f 02-May-2011 claudio <claudio@openbsd.org>

Rework the logout code and use this to do a proper logout when
exiting. This works well for idle sessions but still has some
issues on busy session. It seems more task scheduler changes are
needed t

Rework the logout code and use this to do a proper logout when
exiting. This works well for idle sessions but still has some
issues on busy session. It seems more task scheduler changes are
needed to make this work. This also includes some mem-leak fixes
in error pathes found by Igor Zinovik.
go for it dlg@

show more ...


# e1c3b4f8 28-Apr-2011 claudio <claudio@openbsd.org>

Try to schedule a new task for the connection in conn_task_cleanup()
this removes the session_schedule() in the task_pdu_cb().


# 6727bd69 27-Apr-2011 claudio <claudio@openbsd.org>

Rename task_cleanup() to conn_task_cleanup() seems a better place for
this function since it does connections scheduling.


# cb408c6c 27-Apr-2011 claudio <claudio@openbsd.org>

Start implementing the FSM. Introduce a session FSM that is run via a
callback and implement some of the connection FSM actions. Implement
logouts so that discovery sessions do a nice login -> query

Start implementing the FSM. Introduce a session FSM that is run via a
callback and implement some of the connection FSM actions. Implement
logouts so that discovery sessions do a nice login -> query -> logout.
Fix the task scheduling especially for immediate and connection specific
tasks. The session will now only schedule tasks to a session that is
in LOGGED_IN state.
looks good dlg@

show more ...


# 454bf635 05-Apr-2011 claudio <claudio@openbsd.org>

Log the SessionName so that it is possible to understand which session
caused the problem.


# 3a6ae92e 10-Jan-2011 claudio <claudio@openbsd.org>

Remove 2 empty lines.


# 20e2c494 06-Jan-2011 claudio <claudio@openbsd.org>

Pass the magic LUN -1 to VSCSI_REQPROBE so that all LU are probed
by the midlayer. With help from dlg@


# 186d2732 04-Jan-2011 claudio <claudio@openbsd.org>

Cleanup tasks with a NULL callback after queuing the PDU to be sent out.
This allows immediate responses (e.g. NOP-out) to be issued with a task
instead of very special code. Also set expstatsn on al

Cleanup tasks with a NULL callback after queuing the PDU to be sent out.
This allows immediate responses (e.g. NOP-out) to be issued with a task
instead of very special code. Also set expstatsn on all PDU that carry
it.

show more ...


# 7aed54e1 25-Sep-2010 sobrado <sobrado@openbsd.org>

spacing, no binary changes.


# 6379dddc 24-Sep-2010 claudio <claudio@openbsd.org>

another useless and noisy debug message


# eda5eff4 24-Sep-2010 claudio <claudio@openbsd.org>

Set TCP_NODELAY since we want the request to be sent ASAP.
OK dlg@


# bde1ae23 24-Sep-2010 claudio <claudio@openbsd.org>

iSCSI Initiatior daemon using vscsi(4).
Currently implements the absolute minimum of the protocol to make
it work against targets. Many things still in flux but we're annoyed
to work outside of the t

iSCSI Initiatior daemon using vscsi(4).
Currently implements the absolute minimum of the protocol to make
it work against targets. Many things still in flux but we're annoyed
to work outside of the tree. Commited from a source tree on an iSCSI
disk served via iscsid but it is not yet production ready.
OK dlg@, matthew@, deraadt@

show more ...