freebsd-nq/sys/geom
Poul-Henning Kamp 0b7ed341e1 Change the disk(9) API in order to make device removal more robust.
Previously the "struct disk" were owned by the device driver and this
gave us problems when the device disappared and the users of that device
were not immediately disappearing.

Now the struct disk is allocate with a new call, disk_alloc() and owned
by geom_disk and just abandonned by the device driver when disk_create()
is called.

Unfortunately, this results in a ton of "s/\./->/" changes to device
drivers.

Since I'm doing the sweep anyway, a couple of other API improvements
have been carried out at the same time:

The Giant awareness flag has been flipped from DISKFLAG_NOGIANT to
DISKFLAG_NEEDSGIANT

A version number have been added to disk_create() so that we can detect,
report and ignore binary drivers with old ABI in the future.

Manual page update to follow shortly.
2004-02-18 21:36:53 +00:00
..
bde Do not check error code from closing ->access() calls, we know they succeed. 2004-02-14 17:59:44 +00:00
geom_aes.c Remove the absolute count g_access_abs() function since experience has 2004-02-12 22:42:11 +00:00
geom_apple.c Remove the absolute count g_access_abs() function since experience has 2004-02-12 22:42:11 +00:00
geom_bsd_enc.c Use __FBSDID(). 2003-06-11 06:49:16 +00:00
geom_bsd.c Do not check error code from closing ->access() calls, we know they succeed. 2004-02-14 17:59:44 +00:00
geom_ccd.c Remove the absolute count g_access_abs() function since experience has 2004-02-12 22:42:11 +00:00
geom_ctl.c The present defaults for the open and close for device drivers which 2003-09-27 12:01:01 +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 Remove the absolute count g_access_abs() function since experience has 2004-02-12 22:42:11 +00:00
geom_disk.c Change the disk(9) API in order to make device removal more robust. 2004-02-18 21:36: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 Re-arrange and consolidate some random debugging stuff 2003-12-07 05:04:49 +00:00
geom_event.c Now we have g_topology_assert_not(), so use it to detect deadlocks. 2004-02-10 15:55:17 +00:00
geom_fox.c Do not check error code from closing ->access() calls, we know they succeed. 2004-02-14 17:59:44 +00:00
geom_gpt.c Remove the absolute count g_access_abs() function since experience has 2004-02-12 22:42:11 +00:00
geom_int.h More of the event stuff can now be private to geom_event.c 2003-04-23 20:54:42 +00:00
geom_io.c Added g_print_bio() function to print informations about given bio. 2004-02-11 18:21:32 +00:00
geom_kern.c don't call sbuf_clear() right after sbuf_new(), it is not necessary. 2004-02-10 10:54:19 +00:00
geom_mbr_enc.c Use __FBSDID(). 2003-06-11 06:49:16 +00:00
geom_mbr.c Remove the absolute count g_access_abs() function since experience has 2004-02-12 22:42:11 +00:00
geom_mirror.c Remove the absolute count g_access_abs() function since experience has 2004-02-12 22:42:11 +00:00
geom_pc98_enc.c Use __FBSDID(). 2003-06-11 06:49:16 +00:00
geom_pc98.c Remove the absolute count g_access_abs() function since experience has 2004-02-12 22:42:11 +00:00
geom_slice.c Remove the absolute count g_access_abs() function since experience has 2004-02-12 22:42:11 +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 Add a KASSERT which checks that a class never fails a closing ->access() 2004-02-14 17:58:57 +00:00
geom_sunlabel_enc.c Use __FBSDID(). 2003-06-11 06:49:16 +00:00
geom_sunlabel.c Remove the absolute count g_access_abs() function since experience has 2004-02-12 22:42:11 +00:00
geom_vol_ffs.c Remove the absolute count g_access_abs() function since experience has 2004-02-12 22:42:11 +00:00
geom.h Remove the absolute count g_access_abs() function since experience has 2004-02-12 22:42:11 +00:00
notes A note about which #include files may be used where. 2003-03-23 10:08:13 +00:00