summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_io.c
Commit message (Collapse)AuthorAgeFilesLines
* Retire g_io_fail() and let g_io_deliver() take an error argument instead.phk2002-09-301-24/+12
| | | | Sponsored by: DARPA & NAI Labs.
* Introduce g_write_data() function.phk2002-09-301-0/+18
| | | | Sponsored by: DARPA & NAI Labs
* Void functions cannot use return(foo) even if foo is also returning void.phk2002-09-281-14/+28
| | | | Sponsored by: DARPA & NAI Labs.
* Setattr should not retry on EBUSY, we could get EBUSY back becausephk2002-09-271-14/+15
| | | | | | | | | | a disklabel modification tries to change an open device, and no counter-examples exists. Be less facist about when we can do Setattr, the openmodes of devices are so loosely managed that the "exclusive" count is almost useless. Sponsored by: DARPA & NAI Labs.
* Allocate bio's with M_NOWAIT and let the caller deal with the problems.phk2002-09-271-7/+9
| | | | Sponsored by: DARPA & NAI Labs.
* Use biowait() rather than DIY.phk2002-09-131-24/+4
| | | | Sponsored by: DARPA & NAI Labs
* Don't grab Giant around malloc(9) and free(9).phk2002-05-201-6/+0
| | | | | | | | Don't grab Giant around wakeup(9). Don't print verbose messages about each device found in geom_dev. Various cleanups. Sponsored by: DARPA & NAI Labs.
* Constifixation of attribute argument to g_io_[gs]etattr()phk2002-04-091-2/+2
| | | | Sponsored by: DARPA & NAI Labs
* Change callers of mtx_init() to pass in an appropriate lock type name. Injhb2002-04-041-1/+1
| | | | | | | most cases NULL is passed, but in some cases such as network driver locks (which use the MTX_NETWORK_LOCK macro) and UMA zone locks, a name is used. Tested on: i386, alpha, sparc64
* Centralize EOF handling and improve access controls for bio scheduling.phk2002-04-041-44/+67
| | | | Sponsored by: DARPA & NAI Labs
* Eliminate some thread pointers which do not make sense anymore.phk2002-03-261-2/+3
| | | | | Split private parts of geom.h into geom_int.h. The latter should never be included in class implemtations.
* Push BIO_FORMAT into a local hack inside the floppy drivers wherephk2002-03-261-1/+0
| | | | it belongs.
* First commit of the GEOM subsystem to make it easier for people tophk2002-03-111-0/+375
test and play with this. This is not yet production quality and should be run only on dedicated test boxes. For people who want to develop transformations for GEOM there exist a set of shims to run geom in userland (ask phk@freebsd.org). Reports of all kinds to: phk@freebsd.org Please include in report: dmesg sysctl debug.geomdot sysctl debug.geomconf Known significant limitations: no kernel dump facility. ioctls severely restricted. Sponsored by: DARPA, NAI Labs
OpenPOWER on IntegriCloud