Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-01-06 | Ugly hack, call session_schedule in the task pdu callback handler. | Claudio Jeker | |
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. | |||
2011-01-06 | Pass the magic LUN -1 to VSCSI_REQPROBE so that all LU are probed | Claudio Jeker | |
by the midlayer. With help from dlg@ | |||
2011-01-06 | Add minimal LUN handling. Currently only single level LUN addressing is | Claudio Jeker | |
supported because the vscsi ioctl interface is limited to that. Seems to work according to my iscsi target having 2 units per target. OK dlg@ | |||
2011-01-05 | - properly fix pr6009. a different fix was commited as the original patch | Jasper Lievisse Adriaanse | |
used atoi(). this fix uses strtonum() instead. from bjorn ketelaars, pr6515. ok henning@ | |||
2011-01-04 | tweak previous; | Jason McIntyre | |
2011-01-04 | go all the way, put temp pages in /tmp | Marc Espie | |
2011-01-04 | create tempfile directly under fake, no need to go down. | Marc Espie | |
2011-01-04 | Implememnt NOP-IN -> NOP-OUT handling. If the NOP-In was issued by the | Claudio Jeker | |
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. | |||
2011-01-04 | Cleanup tasks with a NULL callback after queuing the PDU to be sent out. | Claudio Jeker | |
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. | |||
2011-01-04 | Reset the resid before issuing the task callback so that the pdu can | Claudio Jeker | |
be reused for sending out a message. This will be used soon for NOP handling. | |||
2011-01-04 | Print itt, cmdsn and expstatsn as unsigned when printing a PDU. | Claudio Jeker | |
2011-01-04 | Truncate the scsi sense data to 18 bytes if more data was supplied. | Claudio Jeker | |
dlg@ said it is OK to do that since the additional data is optional. My connection to the iscsi target sending 64byte sense data is now much happier. | |||
2011-01-04 | When translating a PDU to text strip all trailing \0 but one. | Claudio Jeker | |
Fixes parsing of login responses that had additional padding. | |||
2011-01-04 | Log the PDU which failed because no task was found. | Claudio Jeker | |
Should help identify the messages that are issued by the target (e.g. NOP). | |||
2011-01-04 | Add missing session parameter. | Claudio Jeker | |
2011-01-03 | make it possible to check for a pkgspec by name, without looking at installed | Marc Espie | |
stuff. | |||
2011-01-03 | redo the object creation in a more straightforward way. | Marc Espie | |
2011-01-03 | those all need newlines | Marc Espie | |
2011-01-03 | unbreak hardlinks, like MLINKS, too. | Jasper Lievisse Adriaanse | |
ok espie@ | |||
2011-01-03 | broke symlinks, noticed by jasper@ | Marc Espie | |
2011-01-02 | add missing newline between @url and @wantlib. | Federico G. Schwindt | |
espie@ ok. | |||
2011-01-02 | create formatted manpages as temporary files we remove after the fact. | Marc Espie | |
2011-01-02 | use new convention for methods with empty parameters. | Marc Espie | |
document PrelinkStuffOnly | |||
2011-01-02 | document optional prepare parameter | Marc Espie | |
2011-01-02 | tidy things: use ->new more often. | Marc Espie | |
use mkdir directly to be able to report errors in a sane way (as the File::Path interface is prone to change). allow prepare to specify its own destdir (for temp files). use state->system to report more errors. be consistent in destdir error printing. | |||
2011-01-02 | kill very old idiom, I don't actually want to go thru items directly. | Marc Espie | |
2010-12-31 | Change <sys/types.h> to <sys/param.h> instead of assuming that some | Philip Guenthe | |
system header pulls the latter in ok millert@ | |||
2010-12-31 | Add missing #includes instead of assuming that some system header pulls in | Philip Guenthe | |
the needed bits ok deraadt@, millert@ | |||
2010-12-29 | more stuff that uses print directly dies | Marc Espie | |
2010-12-24 | pass state around. | Marc Espie | |
2010-12-24 | move the handling of ldconfig to AddDelete::State | Marc Espie | |
actually simplifies code a great deal. It's not as if trying to avoid loading ten lines of code is a good idea. | |||
2010-12-24 | handle failures from ports tree with more care. | Marc Espie | |
this does avoid infinite loops in case of wrong plists. necessary since print-plist-with-depends CAN fail... | |||
2010-12-23 | Increase the DATA limit in the RDE to the max value and do the same | Claudio Jeker | |
for NOFILE in the session engine. OK henning, sthen@ | |||
2010-12-23 | Use the provided note() and warning() functions of dhcpd instead of | Claudio Jeker | |
calling syslog_r() directly -- this make -d work as expected. OK reyk@, stsp@, deraadt@ | |||
2010-12-22 | simplify some more: if it's not installed, ask the ports tree, who knows, | Marc Espie | |
we will catch more mismatches between spec and actual packagenames ? set status during dependency check don't check when simply printing the plist, this 'fixes' a bit of port-lib-depends-check don't fatal(), error() allows for more stuff to show up | |||
2010-12-22 | once we read the list, make sure it matches the dependency. | Marc Espie | |
Otherwise, this WILL turn into an infinite loop indeed ! | |||
2010-12-21 | parent_exit() signal handler must use _exit() not exit() | Theo de Raadt | |
2010-12-21 | fix, as noticed by dcoppa@ | Marc Espie | |
2010-12-21 | simplify a bit: | Marc Espie | |
- make find_dep_in_installed more regular - zap the {more} entry, add_dep is okay for that purpose - don't special case installed_list, provide older_names instead - make PseudoSets slightly less hackish - don't read full packinglist, prelinkstuff is exactly what we need | |||
2010-12-20 | use a better strategy: ask the ports tree for the plist for packages with | Marc Espie | |
the same pkgpath. Thus, PseudoSets need to have a real list, and pkgcreate needs to loop to solve those depends. reactivate the check | |||
2010-12-20 | Only set SO_REUSEPORT for listening ports. | David Hill | |
Fixes "Address already in use" errors seen on high load. OK reyk@ pyr@ | |||
2010-12-20 | missed some | Marc Espie | |
2010-12-20 | disable temporarily | Marc Espie | |
2010-12-20 | new check in pkg_create: walk the dependency tree for @wantlib, thus | Marc Espie | |
preventing packages that won't install (much easier to fix that when you still have the fake tree around !) specifically, look into depend that are installed, and possibly in the fake tree: if the package does build, it requires the libraries to be around anyways, so pure RUN_DEPENDS are not an issue (and avoid old libraries, if we find wantlib only in .lib, something really fishy is going on). Reuse the Dependencies class, so we're sure to have the exact same way to find libraries. Also fix exit codes from pkg_create... | |||
2010-12-20 | prepare for reuse in pkgcreate: allow not finding stuff and not failing | Marc Espie | |
also mark as known a special package known as BUILD | |||
2010-12-20 | split solver class into a base that can be reused from pkgcreate. | Marc Espie | |
2010-12-20 | more refactor: errsay_library | Marc Espie | |
2010-12-20 | more refactor: method for global_cache, add find_in_installed, separate | Marc Espie | |
cache handling from the rest for solve_dependency | |||
2010-12-20 | move stuff around | Marc Espie | |
2010-12-20 | use Auto::cache | Marc Espie | |