Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-06-25 | use daddr64_t for size in bounds_check_with_label(); prompted by miod@; | Otto Moerbeek | |
ok deraadt@ | |||
2007-06-24 | rework sensor tasks to use the kernels generic workq rather than a special | David Gwynne | |
kernel thread of its own. the api has changed (which will be fixed in the manpage shortly) so all the users of sensor tasks that i can find have been fixed too. noone tested, so its going in to force people to run with it. "put it in" deraadt@ | |||
2007-06-21 | english, okay jmc@ | Pedro Martelletto | |
2007-06-20 | b_cylinder does not need to be set on the callpath down into drivers. | Theo de Raadt | |
cpu_disklabel can go away, since nothing anymore needs to use it; ok miod | |||
2007-06-18 | ansify/de-register. | Jasper Lievisse Adriaanse | |
no binary change | |||
2007-06-17 | de-register | Jasper Lievisse Adriaanse | |
ok thib@ | |||
2007-06-17 | significantly simplified disklabel infrastructure. MBR handling becomes MI | Theo de Raadt | |
to support hotplug media on most architectures. disklabel setup and verification done using new helper functions. Disklabels must *always* have a correct checksum now. Same code paths are used to learn on-disk location disklabels, to avoid new errors sneaking in. Tested on almost all cases, testing help from todd, kettenis, krw, otto, dlg, robert, gwk, drahn | |||
2007-06-14 | Forgotten hackton diff: bounds check for seek on special devices | Otto Moerbeek | |
with a disklabel. Original diff from pedro@; ok pedro@ deraadt@ | |||
2007-06-11 | kill unneeded include; | Thordur I. Bjornsson | |
(stdarg.h, leftover from the vararg's idea). ok tedu@ | |||
2007-06-10 | when we change fields in the label to version 1, fix the checksum (but only | Theo de Raadt | |
if it was ok beforehands) | |||
2007-06-10 | Add netbt files to common files for "make tags" | Uwe Stuehler | |
2007-06-09 | blocks/sectors != blocks/blocks. Fix calculation of b_cylinder in | Kenneth R Westerback | |
bounds_check_with_label(). Tweak error path to eliminate duplicate code. | |||
2007-06-09 | The differences in the last non-homogeneous bounds_check_with_label() | Kenneth R Westerback | |
routines (alpha, vax) prove to be not worth keeping. Move bounds_check_with_label() into the MI world. Eliminate unreliable and almost certainly useless checks for overwriting a disklabel. After discussion with deraadt@ | |||
2007-06-09 | silently whack wrong-sized C partitions | Theo de Raadt | |
2007-06-09 | Protect access to 'bufhead' with splbio(), okay art@ millert@ marco@ | Pedro Martelletto | |
2007-06-09 | handle C non-0 start after doing v1 converstion.. sigh | Theo de Raadt | |
2007-06-09 | by hand i carefully found that all the differences in setdisklabel() | Theo de Raadt | |
implimentations were simply either missing code, or spacing and such. setdisklabel() can become MI now. | |||
2007-06-09 | be even more forceful with RAW_PART (and note this is the wrong, and ↵ | Theo de Raadt | |
temporary, place | |||
2007-06-09 | push RAW_PART to 0 if it is non-zero, and bitch | Theo de Raadt | |
2007-06-06 | fix format strings for block #'s now that they are 64 bit; ok tedu (who | Theo de Raadt | |
also spotted one more) | |||
2007-06-06 | now that all partition size/offsets are potentially 64-bit, change the | Theo de Raadt | |
type of all variables to daddr64_t. this includes the APIs for XXsize() and XXdump(), all range checks inside bio drivers, internal variables for disklabel handling, and even uvm's swap offsets. re-read numerous times by otto, miod, krw, thib to look for errors | |||
2007-06-06 | oops | Theo de Raadt | |
2007-06-06 | even more problems with disk size consistancy checks | Theo de Raadt | |
2007-06-06 | remove remaining IPX hooks. all inside #ifdef IPX, so no actual change | Henning Brauer | |
2007-06-05 | use six new macros to access & store the 48-bit disklabel fields related | Theo de Raadt | |
to size. tested on almost all machines, double checked by miod and krw next comes the type handling surrounding these values | |||
2007-06-04 | disable a part of the label validation because some Sun systems | Theo de Raadt | |
have contradictory information in their cyl-based labels | |||
2007-06-04 | perhaps it made art's head hurt because it is wrong. triggers NULL | Theo de Raadt | |
deref in sensor_task_work(); found by krw, dlg should talk to him | |||
2007-06-03 | backout rev 1.91 and 1.92, it causes proceses to hang on low mem | Otto Moerbeek | |
machines. ok deraadt@ | |||
2007-06-02 | Initialize pkthdr.rcvif. | Artur Grabowski | |
ok claudio@ | |||
2007-06-02 | Rename cvtdisklabelv1 -> disklabeltokernlabel. It does more than just | Kenneth R Westerback | |
convert version 0 to version 1 disklabels. Suggested by deraadt@. ok deraadt@ otto@ | |||
2007-06-02 | daddr_t -> daddr64_t for specfs. convert some variables | Thordur I. Bjornsson | |
to proper types along the way (ints), fixes a subtle bug wich otto@ pointed me at. ok deraadt@ | |||
2007-06-01 | pedro ok'd this ~3500 line diff which removes the vop argument | Theo de Raadt | |
"ap = v" comments in under 8 seconds, so it must be ok. and it compiles too. | |||
2007-06-01 | Uninline bio_doread(), okay art@ | Pedro Martelletto | |
2007-06-01 | FIBMAP is used by nothing; checked by miod and pvalchev | Theo de Raadt | |
2007-06-01 | some architectures called setroot() from cpu_configure(), *way* before some | Theo de Raadt | |
subsystems were enabled. others used a *md_diskconf -> diskconf() method to make sure init_main could "do late setroot". Change all architectures to have diskconf(), use it directly & late. tested by todd and myself on most architectures, ok miod too | |||
2007-06-01 | Add two constraints to V1 disklabels: | Kenneth R Westerback | |
1) All partitions must start before the end of the disk. 2) All partitions must end at or before the end of the disk. Partitions not satisfying these constraints will be truncated and marked FS_UNUSED. ok otto@ deraadt@ | |||
2007-06-01 | dont request zeroed memory when we allocate data regions for buffers. this | David Gwynne | |
moves memset from the 20th most expensive function in the kernel to the 331st when doing heavy io. ok tedu@ thib@ pedro@ beck@ art@ | |||
2007-06-01 | decouple the allocated number of vnodes from the "desiredvnodes" variable | Bob Beck | |
which is used to size a zillion other things that increasing excessively has been shown to cause problems - so that we may incrementally look at increasing those other things without making the kernel unusable. This diff effectivly increases the number of vnodes back to the number of buffers, as in the earlier dynamic buffer cache commits, without increasing anything else (namecache, softdeps, etc. etc.) ok pedro@ tedu@ art@ thib@ | |||
2007-06-01 | remove crufty adosfs. everytime we try to change a vfs layer interface, | Theo de Raadt | |
adosfs has the issue and in an entirely different way. noone uses this code so this is hte best way to handle the problem diff from pedro who went to sleep but we need to move ahead; ok thib | |||
2007-06-01 | rework the sensor task handling to run in the kernels generic workq. | David Gwynne | |
apologies to art for abusing timeouts so badly. apologies to tedu for making his head hurt. tested by and ok tedu@ | |||
2007-05-31 | remove p_lock from struct proc; unused debug goo for lockmgr, | Thordur I. Bjornsson | |
wich gets set and never checked etc... ok art@,tedu@ | |||
2007-05-31 | switch the flags argument to the front, requested by art | Ted Unangst | |
ok dlg | |||
2007-05-31 | add an interface for work queues run from a kernel thread. | David Gwynne | |
this type of code is implemented many times already in the kernel, this is a generic version of all those replicated code bases. originally from tedu@ ok tedu@ tom@ deraadt@ | |||
2007-05-31 | remove some silly casts, no real change | Ted Unangst | |
2007-05-31 | NFSv2 cannot cope with a big number of vnodes, so revert to NPROC-based | Pedro Martelletto | |
calculation until the problem is fixed, okay beck@ art@ | |||
2007-05-30 | Adjust filename buffer for the new /var/crash prefix to prevent | Moritz Jodeit | |
truncation and add an additional truncation check. ok deraadt@ tedu@ | |||
2007-05-30 | the (root) stuff is ugly, so print "at root", so it looks more like | Theo de Raadt | |
regular things. everyone here buys it, and i'm 90% sure miod will be ok with it | |||
2007-05-30 | back out vfs change - todd fries has seen afs issues, and I'm suspicious | Bob Beck | |
this can cause other problems. | |||
2007-05-30 | openbsd has timeouts, not callouts so rename the variables. i applied an older | Ted Unangst | |
diff from brad. from brad. | |||
2007-05-30 | add a new kevent filter type for timers. this allows processes to create | Ted Unangst | |
a series of oneshot or periodic timers. capped to a global limit. from freebsd via brad. ok art pedro |