summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-07-07Pull out disk sort. I committed the wrong version of the diff and itMarco Peereboom
wasn't ok deraadt & dlg.
2010-07-06siop sets XS_NO_CCB when it fails to allocate device state when commandsDavid 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 rcsidJason McIntyre
- some minor tweakage of previous
2010-07-06Document new unsetenv() error returns.Christian Weisgerber
From Nicolas Legrand <nlegrand@ethelred.fr>; ok jmc@
2010-07-06sun4e support in the bootblocks, derived from a diff from jason@ 7 years ago.Miod Vallat
2010-07-06Having common ienab_bic() and ienab_bis() entry points for sun4/4c and sun4mMiod 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-06Remove unused CPUARCH_xxx and CPUCLS_xxx defines, as well as all the unusedMiod Vallat
CPUTYP_xxx defines.
2010-07-06Use spltty() to lock downcalls from apm against the information beingTheo de Raadt
modified by the acpi thread. ok kettenis
2010-07-06Don't use a workq to do the suspend, because it races aginst the acpiTheo 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-06Send empty statistics rather than segfault if "ldapctl stats" is run when aMartin Hedenfal
database is being reopened due to compaction.
2010-07-06Try to detect busy loops caused by misbehaving audio driversAlexandre Ratchov
or hardware. If a busy loop is found, then close the device that caused the loop.
2010-07-06Plug another memory leak. Forgot to reset key returned from cursor, havingMartin Hedenfal
a reference to a cached page.
2010-07-06one wire counter driver 2nd rev, from John L. Scarfone" <j0@cox.net> PR 6422Theo de Raadt
ok miod
2010-07-06Clarify differences between the 'include' and 'schema' keyword. And stressMartin Hedenfal
the 'secure' keyword. Looks fine to jmc@, gilles@
2010-07-06zap trailing whitespace and fix some linewrap. please, developers, try andJason McIntyre
avoid these when committing to man pages;
2010-07-06Enable 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-06When moving a node between pages during rebalance, find the source pageMartin Hedenfal
prefix before finding any child page prefix. This fixes an inconsistency during rebalance.
2010-07-06Update the interfaces changes from kroute to rde via imsg. ThisAlexander Bluhm
is needed to orginate correct intra-area-prefix-lsas. ok claudio@ stsp@
2010-07-06Use 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-06Adapt 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-06document that ONLY_FOR_ARCHS and NOT_FOR_ARCHS are now subpackage-dependentMarc Espie
(and why !)
2010-07-06fuss over wantntogo, especially when it's false (make sure we still get :okMarc Espie
at end of lines instead of '' replacing 30/50)
2010-07-06Add a blank line between sections in the output log, it's more readable.Antoine Jacoutot
2010-07-06various tweaks to previous; ok ratchovJason McIntyre
2010-07-06timeout_add -> timeout_add_msecBret Lambert
ok art@
2010-07-06add the iopool wrapper around the mpii ccb free list. cut the midlayer andDavid Gwynne
the scsi_cmd path over to it.
2010-07-06Check return code from commit. Incorrectly returned success when commitMartin Hedenfal
failed due to disk full.
2010-07-06timeout_add -> timeout_add_msecBret Lambert
ok jsg@
2010-07-06Add the floppy576 entry back, needed for release. Okay kettenis.Paul Irofti
2010-07-06if we get an event notification that requires acknowledgement whileDavid 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-06move the last direct users of mpi_{get,put}_ccb over to using the scsiDavid Gwynne
ioh wrappers.
2010-07-06spacingTheo de Raadt
2010-07-06get rid of ridiculous differences between the i386 and amd64 versionsTheo de Raadt
2010-07-06syncTheo de Raadt
2010-07-06Kill an unused variablePhilip Guenthe
ok deraadt@
2010-07-06Handle all streams the same way because there's no actualAlexandre 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-06Fix monumental cock-up with SCSI_SILENT and SCSI_IGNORE_ILLEGAL_REQUESTKenneth 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@
2010-07-06make kdump build after COMPAT_BSDOS removal.Owain Ainsworth
Bad tedu, no cookie.
2010-07-05i forgot to remove various compat references from here. spotted by deraadtTed Unangst
2010-07-05During network intra-area-prefix-lsa origination, the designatedAlexander Bluhm
router's prefixes were ignored if all other routers on that link had no prefixes. Advertise a intra-area-prefix-lsa with all prefixes for the network if there are any adjacent neighbors on link. ok stsp@
2010-07-05bsdos was removedTheo de Raadt
2010-07-05Rework somewhat for safety, so that we only interpret the values ofJonathan Gray
the PERF_STATUS MSR on earlier processors when we can't find the values via acpi and have a bus clock value to use. And let processors we don't set a bus clock on (ie nehalem) use speedstep again. Expanded/changed version of a diff from gwk who isn't around right now.
2010-07-05compat_bsdos is goneTed Unangst
2010-07-05remove compat_bsdos supportTed Unangst
2010-07-05improve description for -i; as a consequence of recent changes,Igor Sobrado
OpenBSD MBR partition does not span from sector 1 after MBR partition data is re-initialized. written with lot of good advice from deraadt@ and jmc@ ok deraadt@
2010-07-05convert last user of libcompat in base to modern regexes. ok deraadtTed Unangst
2010-07-05Change SO_RDOMAIN to SO_RTABLE in err() after the recent "rename".Robert Nagy
It seems this one was missed.
2010-07-05Unbreak writing updates to the btree while having a cursor open on theMartin Hedenfal
affected pages. When a cursor has increased the reference count on a cached page, it is copied before updated. The new pointer was however not passed back to the caller, effectively commiting the old page numbers.
2010-07-05original `for' loop has bug `use after free'. At first iteration we arezinovik
checking h != NULL, then we free(h) and then we do `h = h->next', but `h' is not valid anymore. ok @krw
2010-07-05Plug a memory leak when aborting transactions.Martin Hedenfal