summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_event.c
Commit message (Collapse)AuthorAgeFilesLines
* Make sure we don't loose our topology lock in a call_me() handler.phk2002-09-301-0/+1
| | | | Sponsored by: DARPA & NAI Labs.
* Implement g_call_me() as a way for geom methods to schedule operationsphk2002-09-271-0/+30
| | | | | | | | | | | | | | | | to be performed in the event-thread. To do this, we need to lock the eventlist with g_eventlock (nee g_doorlock), since g_call_me() being called from the UP/DOWN paths will not be able to aquire g_topology_lock. This also means that for now these events are not referenced on any particular consumer/provider/geom. For UP/DOWN path use, this will not become a problem since the access() function will make sure we drain any bio's before we dismantle. Sponsored by: DARPA & NAI Labs.
* Ok, include also the two tests which actually does effect the claimsphk2002-09-271-0/+4
| | | | | | of the last commit message. Sponsored by: DARPA & NAI Labs.
* Hook into the shutdown EVENTHANDLER and stop tasting things after wephk2002-09-271-0/+16
| | | | | | get notified to make things settle a bit faster. Sponsored by: DARPA & NAI Labs.
* Rename the doorlock to eventlock, it gets to protect a bit more in the future.phk2002-09-271-6/+6
| | | | Sponsored by: DARPA & NAI Labs.
* Improve some on the naming.phk2002-06-091-2/+2
| | | | Submitted by: iedowse
* Only clear the spoiled flag if the class had no spoiled method, the spoiledphk2002-05-261-1/+2
| | | | | | | method may have deallocated the consumer already and modifying free()'ed memory is bad style. 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.
* 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
* Move access and orphan member functions from class to geom.phk2002-04-041-4/+4
| | | | Sponsored by: DARPA & NAI Labs
* s/classs/classes/ to fixup grammer after the previous global renaming.phk2002-04-041-2/+2
| | | | Sponsored by: DARPA & NAI Labs
* Eliminate some thread pointers which do not make sense anymore.phk2002-03-261-11/+12
| | | | | Split private parts of geom.h into geom_int.h. The latter should never be included in class implemtations.
* Cave in to tradition and rename "methods" to "classes".phk2002-03-261-17/+17
|
* First commit of the GEOM subsystem to make it easier for people tophk2002-03-111-0/+299
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