summaryrefslogtreecommitdiff
path: root/usr.sbin/iscsid
AgeCommit message (Expand)Author
2014-11-23TargetPortalGroupTag is a binary 16-bit value so 0 is allowed.Claudio Jeker
2014-11-23Change the error handling a bit to ensure we do not double free the taskClaudio Jeker
2014-11-23Clear the work in progress PDU before calling the task handler.Claudio Jeker
2014-11-03actually use macro argument instead of shadowed variable nameTed Unangst
2014-07-13Set KERN_PROC_NOBROADCASTKILL so that iscsid is not killed by initClaudio Jeker
2014-05-10Extend the connection and session FSMs so that connection failure isClaudio Jeker
2014-05-10Move the task cleanup from the task fail callback to taskq_cleanup.Claudio Jeker
2014-04-21Bind to localAddr if specified and add some XXX comments about stuffClaudio Jeker
2014-04-21Start passing the initiator and target name in the show command.Claudio Jeker
2014-04-21Redo most of the control message handling. Switch it back to useClaudio Jeker
2014-04-21Handle EAGAIN, ENOBUFS and EINTR a bit better. Ignore them one layer aboveClaudio Jeker
2014-04-21It is possible that we can't burst all of the data in the immediate dataClaudio Jeker
2014-04-21Now that we properly negotiate the session params we can enable sendingClaudio Jeker
2014-04-20Introduce some basic stats for the vscsi layer. Just counting the commandsClaudio Jeker
2014-04-20After doing all of the loging dance to get the target's params it makesClaudio Jeker
2014-04-20Use only one style for "return foo;"Claudio Jeker
2014-04-20Move session params initialization to when we start a session and notClaudio Jeker
2014-04-20Fix conn_gen_kvp and its caller to fill the kvp array properly (includingClaudio Jeker
2014-04-20Cleanup a bit, switch on bcopy to memcpy and move a function a bit upClaudio Jeker
2014-04-19COnveret the bcopy() to memcpy()Claudio Jeker
2014-04-19Replace a magic number.Claudio Jeker
2014-04-07To win the startup race on the control socket we need to listen to it asClaudio Jeker
2014-02-17Call control_init() before daemon() so that iscsid && iscsictl reload worksClaudio Jeker
2013-08-14no longer any need to quote macro lines with >9 args;Jason McIntyre
2013-07-16use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@Ingo Schwarze
2013-03-11handle ECONNABORTED errors from accept(). In many code blocks they can beTheo de Raadt
2012-09-26last stage of rfc changes, using consistent Rs/Re blocks, and moving theJason McIntyre
2012-06-26tweak previous;Jason McIntyre
2012-06-26There is a iscsi.conf man page now. Reminded by jmc@Claudio Jeker
2012-04-11accept() pacing on the control socket if E*FILE errors are returned.Claudio Jeker
2011-08-20Add support for -v (enable verbose logging on the command line).Stuart Henderson
2011-05-04Massive diff to handle logins more correctly. iscsid will now doClaudio Jeker
2011-05-02Rework the logout code and use this to do a proper logout whenClaudio Jeker
2011-04-28Try to schedule a new task for the connection in conn_task_cleanup()Claudio Jeker
2011-04-28DATA OUT operations need to be piggibacked on the same connection asClaudio Jeker
2011-04-27Implement CTRL_LOG_VERBOSE to toggle log verbosity.Claudio Jeker
2011-04-27Rename task_cleanup() to conn_task_cleanup() seems a better place forClaudio Jeker
2011-04-27Add log_verbose() like all the other log.c users.Claudio Jeker
2011-04-27Start implementing the FSM. Introduce a session FSM that is run via aClaudio Jeker
2011-04-05Move session related code into session.c.Claudio Jeker
2011-04-05Log the SessionName so that it is possible to understand which sessionClaudio Jeker
2011-01-10Remove 2 empty lines.Claudio Jeker
2011-01-06Ugly hack, call session_schedule in the task pdu callback handler.Claudio Jeker
2011-01-06Pass the magic LUN -1 to VSCSI_REQPROBE so that all LU are probedClaudio Jeker
2011-01-06Add minimal LUN handling. Currently only single level LUN addressing isClaudio Jeker
2011-01-04Implememnt NOP-IN -> NOP-OUT handling. If the NOP-In was issued by theClaudio Jeker
2011-01-04Cleanup tasks with a NULL callback after queuing the PDU to be sent out.Claudio Jeker
2011-01-04Reset the resid before issuing the task callback so that the pdu canClaudio Jeker
2011-01-04Print itt, cmdsn and expstatsn as unsigned when printing a PDU.Claudio Jeker
2011-01-04Truncate the scsi sense data to 18 bytes if more data was supplied.Claudio Jeker