Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-07-07 | Use atomic operations to increment clock interrupt counter. | Mark Kettenis | |
ok art@ | |||
2010-07-07 | Implement atomic_add_ulong. | Mark Kettenis | |
ok art@ | |||
2010-07-07 | Don't grab the kernel lock for clock interrupts. Prevents deadlocks when | Mark Kettenis | |
running stuff that depends on mutexes without holding the kernel lock. ok art@ | |||
2010-07-07 | Remove duplicate mtod(). No need to do it twice since the mbuf is not | Claudio Jeker | |
modified in between. | |||
2010-07-07 | minor whitespace tweaks and clean up extra ; | David Gwynne | |
2010-07-07 | bring mpi_wait over to mpii for an mpsafe mechanism to sleep while waiting | David Gwynne | |
for a command to complete. this also replaces all the while (!ready) \ tsleep() wrapped in splbio code with mpii_wait. tested with bioctl runs and sensor updates on a raid volume | |||
2010-07-07 | set each disks openings to the maximum number the controller can handle. | David Gwynne | |
iopools make sure resources arent overallocated, while scheduling them evenly between devices. tested by and ok jsg@ | |||
2010-07-07 | update manpage to reflect recent changes to m_copyback | Bret Lambert | |
nag and ok sthen@ | |||
2010-07-07 | zap chmod of /etc/pkg.conf since the installer itself will not put a username | Alexander Hall | |
or password in there, and any existing /etc/pkg.conf file will already have its file mode preserved "sure" deraadt@ | |||
2010-07-07 | rename ccb_xs to ccb_cookie, and switch it from a struct scsi_xfer * to a | David Gwynne | |
void *. this will let me stash things other than scsi xfers in the ccb for ccb_done handlers to use. this is the same change i did in mpi.c r1.128 and mpivar.h r1.28 | |||
2010-07-07 | use a mutex to ensure writes to the two registers used to post commands to | David Gwynne | |
the chip are atomic wrt to all cpus in a system. mpii_push_reply only writes to one reg, so it is already atomic. neither it or mpii_start need splbio now. mpii(4) is still not completely mpsafe cos all the sleeps done while waiting for completion still rely on splbio. | |||
2010-07-07 | let the config page request code sleep while waiting for a ccb if it is | David Gwynne | |
allowed to. | |||
2010-07-07 | do a 1:1 conversion of mpii_{get,put}_ccb to scsi_io_{get,put}. | David Gwynne | |
2010-07-07 | Pull out disk sort. I committed the wrong version of the diff and it | Marco Peereboom | |
wasn't ok deraadt & dlg. | |||
2010-07-06 | siop sets XS_NO_CCB when it fails to allocate device state when commands | David Gwynne | |
are first sent to target/lun, as opposed to failing to allocate a ccb (which ive already fixed). this moves the allocation and freeing of this device state in siop into the scsi_probe and scsi_free handlers. if siop cant allocate memory for a device when the midlayer is about to probe it, we dont send commands to it. if the midlayer fails to find a device at that target/lun, it asks siop to free it. simplifies the io path and avoids work during interrupts. ok deraadt@ reads good to both marco@ and krw@ | |||
2010-07-06 | - add an openbsd rcsid | Jason McIntyre | |
- some minor tweakage of previous | |||
2010-07-06 | Document new unsetenv() error returns. | Christian Weisgerber | |
From Nicolas Legrand <nlegrand@ethelred.fr>; ok jmc@ | |||
2010-07-06 | sun4e support in the bootblocks, derived from a diff from jason@ 7 years ago. | Miod Vallat | |
2010-07-06 | Having common ienab_bic() and ienab_bis() entry points for sun4/4c and sun4m | Miod Vallat | |
is stupid, since the bits in the interrupt enable register are completely different between 4/4c and 4m. Instead, provide distinct, explicit function names to handle the interrupt enable register. | |||
2010-07-06 | Remove unused CPUARCH_xxx and CPUCLS_xxx defines, as well as all the unused | Miod Vallat | |
CPUTYP_xxx defines. | |||
2010-07-06 | Use spltty() to lock downcalls from apm against the information being | Theo de Raadt | |
modified by the acpi thread. ok kettenis | |||
2010-07-06 | Don't use a workq to do the suspend, because it races aginst the acpi | Theo de Raadt | |
thread. Instead, just tell the acpi thread to do the suspend for us. This makes apmd & zzz work correctly. While here, have acpithinkpad attempt to post the event to apm before prompting the suspend itself. ok kettenis marco mlarkin | |||
2010-07-06 | Send empty statistics rather than segfault if "ldapctl stats" is run when a | Martin Hedenfal | |
database is being reopened due to compaction. | |||
2010-07-06 | Try to detect busy loops caused by misbehaving audio drivers | Alexandre Ratchov | |
or hardware. If a busy loop is found, then close the device that caused the loop. | |||
2010-07-06 | Plug another memory leak. Forgot to reset key returned from cursor, having | Martin Hedenfal | |
a reference to a cached page. | |||
2010-07-06 | one wire counter driver 2nd rev, from John L. Scarfone" <j0@cox.net> PR 6422 | Theo de Raadt | |
ok miod | |||
2010-07-06 | Clarify differences between the 'include' and 'schema' keyword. And stress | Martin Hedenfal | |
the 'secure' keyword. Looks fine to jmc@, gilles@ | |||
2010-07-06 | zap trailing whitespace and fix some linewrap. please, developers, try and | Jason McIntyre | |
avoid these when committing to man pages; | |||
2010-07-06 | Enable FIFO IO for sd devices. This time committed against the actual tree. | Marco Peereboom | |
Tested by lots of people during c2k10 ok phessler krw thib | |||
2010-07-06 | When moving a node between pages during rebalance, find the source page | Martin Hedenfal | |
prefix before finding any child page prefix. This fixes an inconsistency during rebalance. | |||
2010-07-06 | Update the interfaces changes from kroute to rde via imsg. This | Alexander Bluhm | |
is needed to orginate correct intra-area-prefix-lsas. ok claudio@ stsp@ | |||
2010-07-06 | Use the static variable narea only where needed for config reload. | Alexander Bluhm | |
The other imessages use the stack variables area and iface. ok claudio@ | |||
2010-07-06 | Adapt code to adhere to the comment (now that doesn't happen very often!). | Martin Hedenfal | |
When deciding how to rebalancing after delete (move or merge), the number of keys is not important, as long as the source page doesn't get empty after a move. There is still a rare case where merging two quarter-full pages will not fit in a whole page (due to prefix expansion) that needs to be fixed. | |||
2010-07-06 | document that ONLY_FOR_ARCHS and NOT_FOR_ARCHS are now subpackage-dependent | Marc Espie | |
(and why !) | |||
2010-07-06 | fuss over wantntogo, especially when it's false (make sure we still get :ok | Marc Espie | |
at end of lines instead of '' replacing 30/50) | |||
2010-07-06 | Add a blank line between sections in the output log, it's more readable. | Antoine Jacoutot | |
2010-07-06 | various tweaks to previous; ok ratchov | Jason McIntyre | |
2010-07-06 | timeout_add -> timeout_add_msec | Bret Lambert | |
ok art@ | |||
2010-07-06 | add the iopool wrapper around the mpii ccb free list. cut the midlayer and | David Gwynne | |
the scsi_cmd path over to it. | |||
2010-07-06 | Check return code from commit. Incorrectly returned success when commit | Martin Hedenfal | |
failed due to disk full. | |||
2010-07-06 | timeout_add -> timeout_add_msec | Bret Lambert | |
ok jsg@ | |||
2010-07-06 | Add the floppy576 entry back, needed for release. Okay kettenis. | Paul Irofti | |
2010-07-06 | if we get an event notification that requires acknowledgement while | David Gwynne | |
we're busy, we might not be able to allocate a ccb via scsi_ioh_get if the pool is empty. this means we wont ack the event, which in turn means we wont receive further event notifications. this cuts the event ack code over to using a scsi_iohandler. the eventack iohandler will be called as soon as a ccb becomes available for it to use. this guarantees reliable event handling and acknowledgement, despite how busy the controller might be. this has bugging me ever since i wrote the event handling code. tested by hotplugging sata disks. | |||
2010-07-06 | move the last direct users of mpi_{get,put}_ccb over to using the scsi | David Gwynne | |
ioh wrappers. | |||
2010-07-06 | spacing | Theo de Raadt | |
2010-07-06 | get rid of ridiculous differences between the i386 and amd64 versions | Theo de Raadt | |
2010-07-06 | sync | Theo de Raadt | |
2010-07-06 | Kill an unused variable | Philip Guenthe | |
ok deraadt@ | |||
2010-07-06 | Handle all streams the same way because there's no actual | Alexandre Ratchov | |
difference between audio files and client connections. Clean up the way command line options are handled and clarify this in the manual page: stream parameters (-Ccehjmrtvx) must precede stream definitions (-ios) and per-device parameters (-abz) and stream definitions (-ios) must precede device definitions (-f). Since there's no ``server'' and ``non-server'' modes anymore, make the -l option just detach the process. ok and help from jakemsr and jmc | |||
2010-07-06 | Fix monumental cock-up with SCSI_SILENT and SCSI_IGNORE_ILLEGAL_REQUEST | Kenneth R Westerback | |
flags which I perpetrated when I paid insufficient attention to dlg@'s original diff. Belatedly tested by marco@ and myself. Bad marco@. Bad krw@. ok marco@ |