summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_disk.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Set a flag whenever a disk is added/removed, so sysctl knows when toangelos2001-05-141-2/+8
| | | | update settings.
* No need for extern struct proc *curproc.art2000-11-071-2/+1
|
* Move a locking function that was spread throughout disk device drivers intocsapuntz2000-04-091-1/+39
| | | | | | | | | | | | | the disk structure. The locking was mostly used in disk device drivers to prevent multiple disklabel operations from going on simultaneously against the device. Added disk_construct(), a constructor for the disk structure, that initializes the lock structure in disk. It is called by default in disk_attach() if it hasn't been called yet. Added disk_lock and disk_unlock
* allow to compile without -DFFS. okay deraadt@d1999-11-171-1/+6
|
* nuke prehistoric disk statisticsmickey1997-11-231-15/+1
|
* I know u_short will always be 16 bits, call me a pedant..niklas1997-08-071-5/+5
|
* missing crderaadt1997-05-221-2/+2
|
* for miniroot, translate swap to ffsderaadt1997-05-121-2/+7
|
* bad dkpart(), bad dkunit(), bad bad badderaadt1997-04-061-7/+2
|
* OpenBSD tagsniklas1997-02-241-0/+1
|
* Remove lots of timer_state structs as they just ate memory and only a few wasniklas1997-01-051-0/+4
| | | | | | | ever used. Now a single state is kept for net, tty and disk events resp. Also, call the randomness from disk_unbusy instead of biodone, as biodone gets a lot of virtual events (from virtual filesystems etc), and as a bonus: feed xfer time and size into the entropy pool too.
* dk_mountroot() uses ioctl to read disklabelderaadt1996-11-061-0/+78
|
* do not panic for common driver bugsderaadt1996-08-171-1/+1
|
* approximate seeks; banshee@gabriella.abattoir.comderaadt1996-08-081-0/+2
|
* make printf/addlog return 0, for compat to userlandderaadt1996-07-231-1/+1
|
* partial sync with netbsd 960418, more to comederaadt1996-04-211-2/+3
|
* From NetBSD: Merge with NetBSD 960217niklas1996-02-291-4/+4
|
* from netbsd;deraadt1996-01-121-3/+181
| | | | | | | | | | | | | | | | New generic disk framework. Highlights: New metrics handling. Metrics are now kept in the new `struct disk'. Busy time is now stored as a timeval, and transfer count in bytes. Storage for disklabels is now dynamically allocated, so that the size of the disk structure is not machine-dependent. Several new functions for attaching and detaching disks, and handling metrics calculation. Old-style instrumentation is still supported in drivers that did it before. However, old-style instrumentation is being deprecated, and will go away once the userland utilities are updated for the new framework. For usage and architectural details, see the forthcoming disk(9) manual page.
* from netbsd:deraadt1995-12-301-1/+15
| | | | | | Move the old-style disk instrumentation "structures" to a central location (sys/kern/subr_disk.c) and note that they should/will be deprecated.
* initial import of NetBSD treederaadt1995-10-181-0/+219