Up to [local] / src / usr.sbin / iscsid
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.10 / (download) - annotate - [select for diffs], Sat May 10 11:28:02 2014 UTC (10 years ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
OPENBSD_7_3_BASE,
OPENBSD_7_3,
OPENBSD_7_2_BASE,
OPENBSD_7_2,
OPENBSD_7_1_BASE,
OPENBSD_7_1,
OPENBSD_7_0_BASE,
OPENBSD_7_0,
OPENBSD_6_9_BASE,
OPENBSD_6_9,
OPENBSD_6_8_BASE,
OPENBSD_6_8,
OPENBSD_6_7_BASE,
OPENBSD_6_7,
OPENBSD_6_6_BASE,
OPENBSD_6_6,
OPENBSD_6_5_BASE,
OPENBSD_6_5,
OPENBSD_6_4_BASE,
OPENBSD_6_4,
OPENBSD_6_3_BASE,
OPENBSD_6_3,
OPENBSD_6_2_BASE,
OPENBSD_6_2,
OPENBSD_6_1_BASE,
OPENBSD_6_1,
OPENBSD_6_0_BASE,
OPENBSD_6_0,
OPENBSD_5_9_BASE,
OPENBSD_5_9,
OPENBSD_5_8_BASE,
OPENBSD_5_8,
OPENBSD_5_7_BASE,
OPENBSD_5_7,
OPENBSD_5_6_BASE,
OPENBSD_5_6,
HEAD
Changes since 1.9: +3 -5 lines
Diff to previous 1.9 (colored)
Move the task cleanup from the task fail callback to taskq_cleanup. This makes the one failure callback a lot simpler.
Revision 1.9 / (download) - annotate - [select for diffs], Thu Apr 28 18:32:01 2011 UTC (13 years, 1 month ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE,
OPENBSD_5_5,
OPENBSD_5_4_BASE,
OPENBSD_5_4,
OPENBSD_5_3_BASE,
OPENBSD_5_3,
OPENBSD_5_2_BASE,
OPENBSD_5_2,
OPENBSD_5_1_BASE,
OPENBSD_5_1,
OPENBSD_5_0_BASE,
OPENBSD_5_0
Changes since 1.8: +1 -2 lines
Diff to previous 1.8 (colored)
Try to schedule a new task for the connection in conn_task_cleanup() this removes the session_schedule() in the task_pdu_cb().
Revision 1.8 / (download) - annotate - [select for diffs], Wed Apr 27 19:02:07 2011 UTC (13 years, 1 month ago) by claudio
Branch: MAIN
Changes since 1.7: +2 -16 lines
Diff to previous 1.7 (colored)
Rename task_cleanup() to conn_task_cleanup() seems a better place for this function since it does connections scheduling.
Revision 1.7 / (download) - annotate - [select for diffs], Wed Apr 27 07:25:26 2011 UTC (13 years, 1 month ago) by claudio
Branch: MAIN
Changes since 1.6: +28 -3 lines
Diff to previous 1.6 (colored)
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@
Revision 1.6 / (download) - annotate - [select for diffs], Thu Jan 6 15:40:04 2011 UTC (13 years, 4 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE,
OPENBSD_4_9
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)
Ugly hack, call session_schedule in the task pdu callback handler. Without this accessing both LU on my iscsi target will lock up because tasks a queued but no longer scheduled. We need a better task scheduler but this allows me to run iogen on both partitions without locking up.
Revision 1.5 / (download) - annotate - [select for diffs], Tue Jan 4 13:19:55 2011 UTC (13 years, 5 months ago) by claudio
Branch: MAIN
Changes since 1.4: +9 -1 lines
Diff to previous 1.4 (colored)
Implememnt NOP-IN -> NOP-OUT handling. If the NOP-In was issued by the target (itt = 0xffffffff) send back an immediate NOP-Out reusing the NOP-In PDU. This makes my iscsi target happy. Also plug a mem leak on error path which was found by Igor Zinovik.
Revision 1.4 / (download) - annotate - [select for diffs], Tue Jan 4 09:53:17 2011 UTC (13 years, 5 months ago) by claudio
Branch: MAIN
Changes since 1.3: +3 -2 lines
Diff to previous 1.3 (colored)
Log the PDU which failed because no task was found. Should help identify the messages that are issued by the target (e.g. NOP).
Revision 1.3 / (download) - annotate - [select for diffs], Sat Sep 25 16:20:06 2010 UTC (13 years, 8 months ago) by sobrado
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)
spacing, no binary changes.
Revision 1.2 / (download) - annotate - [select for diffs], Sat Sep 25 14:40:28 2010 UTC (13 years, 8 months ago) by sobrado
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)
fix typos in documentation and log_debug() function. ok claudio@
Revision 1.1 / (download) - annotate - [select for diffs], Fri Sep 24 09:43:19 2010 UTC (13 years, 8 months ago) by claudio
Branch: MAIN
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@