freebsd-src/sys/geom
Poul-Henning Kamp 9197ce2ee5 Add a new per-thread private flag: TDP_GEOM.
This flag gets set whenever the thread posts an event on the GEOM
event queue, and if the flag is set when the thread is prepared
to return to userland from the kernel, g_waitidle() will be called
to make sure that the posted events have completed.

This can replace an insufficient number of g_waitidle() calls in
various other places, and has the advantage of being failsafe:  Any
system call which does a VOP_OPEN()/VOP_CLOSE will now correctly
wait for any geom events it posted as part of spoils or tastes.

Assert that topology and Giant is not held in g_waitidle().
2004-10-23 20:49:17 +00:00
..
bde Fix a problem that shows up if less than the full complement of 2004-09-11 17:58:53 +00:00
concat This is not needed anymore, it is forced in GEOM now. 2004-09-20 17:26:25 +00:00
gate Unlock g_gate_list_mtx mutex when we cannot allocate unit number. 2004-10-02 15:03:26 +00:00
label Only allow for unloading when there are no geoms in LABEL GEOM class. 2004-10-14 07:46:13 +00:00
mirror Ehh. Introduce a hack: Wait for 3 seconds, so GEOM is able to give us 2004-10-14 07:55:29 +00:00
nop g_nop_create: destroy newly created provider in case of errors. 2004-09-16 15:28:48 +00:00
raid3 Just use MAXPHYS as maximum I/O request size, instead of using my own 2004-09-28 07:33:37 +00:00
stripe This is not needed anymore, it is forced in GEOM now. 2004-09-20 17:26:25 +00:00
uzip Use correct malloc type when freeing memory allocated by g_read_data. 2004-09-19 10:27:46 +00:00
vinum Don't allow to create a drive that already exists. 2004-10-02 20:50:21 +00:00
geom.h Move the prototype for g_waitidle() to a more visible place. 2004-10-23 20:22:02 +00:00
geom_aes.c Tag all geom classes in the tree with a version number. 2004-08-08 07:57:53 +00:00
geom_apple.c Tag all geom classes in the tree with a version number. 2004-08-08 07:57:53 +00:00
geom_bsd.c Tag all geom classes in the tree with a version number. 2004-08-08 07:57:53 +00:00
geom_bsd_enc.c Use __FBSDID(). 2003-06-11 06:49:16 +00:00
geom_ccd.c Tag all geom classes in the tree with a version number. 2004-08-08 07:57:53 +00:00
geom_ctl.c Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
geom_ctl.h Simplify the GEOM OAM api: Drop the request type, and let everything 2003-06-01 13:47:51 +00:00
geom_dev.c Deny invalid I/O requests which comes from userland here, because later 2004-09-27 22:10:01 +00:00
geom_disk.c Tag all geom classes in the tree with a version number. 2004-08-08 07:57:53 +00:00
geom_disk.h Change the disk(9) API in order to make device removal more robust. 2004-02-18 21:36:53 +00:00
geom_dump.c Rearrange some of the GEOM debugging tools to be more structured. 2004-03-10 08:49:08 +00:00
geom_event.c Add a new per-thread private flag: TDP_GEOM. 2004-10-23 20:49:17 +00:00
geom_fox.c Tag all geom classes in the tree with a version number. 2004-08-08 07:57:53 +00:00
geom_gpt.c Tag all geom classes in the tree with a version number. 2004-08-08 07:57:53 +00:00
geom_int.h Make withering water tight. 2004-07-08 16:17:14 +00:00
geom_io.c Add KTR_GEOM, which allows tracing of basic GEOM I/O events occuring 2004-10-21 18:35:24 +00:00
geom_kern.c Make kern.geom.debugflags sysctl tunable from /boot/loader.conf. 2004-09-13 14:58:27 +00:00
geom_mbr.c Tag all geom classes in the tree with a version number. 2004-08-08 07:57:53 +00:00
geom_mbr_enc.c Use __FBSDID(). 2003-06-11 06:49:16 +00:00
geom_pc98.c Only do the geometry translations on ad* devices, other devices seems to 2004-10-08 21:27:27 +00:00
geom_pc98_enc.c Use __FBSDID(). 2003-06-11 06:49:16 +00:00
geom_slice.c Do not override the class provided dumpconf function. 2004-08-18 21:42:08 +00:00
geom_slice.h Add a destroy_geom method to the slice "library". 2003-05-31 19:25:05 +00:00
geom_subr.c - Turn KASSERT()s into warning printf()'s in the g_class_load() routine. 2004-10-22 22:16:24 +00:00
geom_sunlabel.c Tag all geom classes in the tree with a version number. 2004-08-08 07:57:53 +00:00
geom_sunlabel_enc.c Add SVR4-compatible VTOC-style elements to the Sun label. The 2004-06-01 20:18:25 +00:00
geom_vol_ffs.c Too many versions. 2004-08-09 06:04:00 +00:00
notes For removable devices without media we set a zero mediasize but a non-zero 2004-09-05 21:15:58 +00:00