freebsd-skq/sys/dev/raidframe
phk 49c92e5706 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
..
rf_acctrace.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_acctrace.h
rf_alloclist.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_alloclist.h
rf_archs.h
rf_aselect.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_aselect.h
rf_bsd.h
rf_callback.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_callback.h
rf_chaindecluster.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_chaindecluster.h
rf_configure.h
rf_copyback.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_copyback.h
rf_cvscan.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_cvscan.h
rf_dag.h
rf_dagdegrd.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_dagdegrd.h
rf_dagdegwr.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_dagdegwr.h
rf_dagffrd.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_dagffrd.h
rf_dagffwr.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_dagffwr.h
rf_dagflags.h
rf_dagfuncs.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_dagfuncs.h
rf_dagutils.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_dagutils.h
rf_debugMem.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_debugMem.h
rf_debugprint.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_debugprint.h
rf_decluster.c Use a dynamic major assignment for the raidctl device. 2003-09-29 14:14:35 +00:00
rf_decluster.h
rf_declusterPQ.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_declusterPQ.h
rf_desc.h
rf_diskqueue.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_diskqueue.h
rf_disks.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_disks.h
rf_driver.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_driver.h
rf_engine.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_engine.h
rf_etimer.h
rf_evenodd_dagfuncs.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_evenodd_dagfuncs.h
rf_evenodd_dags.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_evenodd_dags.h
rf_evenodd.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_evenodd.h
rf_fifo.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_fifo.h
rf_freebsdkintf.c Change the disk(9) API in order to make device removal more robust. 2004-02-18 21:36:53 +00:00
rf_freelist.h
rf_general.h
rf_geniq.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_hist.h
rf_interdecluster.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_interdecluster.h
rf_invertq.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_invertq.h
rf_kintf.h
rf_layout.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_layout.h
rf_map.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_map.h
rf_mcpair.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_mcpair.h
rf_memchunk.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_memchunk.h
rf_nwayxor.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_nwayxor.h
rf_options.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_options.h
rf_optnames.h
rf_paritylog.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_paritylog.h
rf_paritylogDiskMgr.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_paritylogDiskMgr.h
rf_paritylogging.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_paritylogging.h
rf_parityloggingdags.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_parityloggingdags.h
rf_parityscan.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_parityscan.h
rf_pq.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_pq.h
rf_pqdeg.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_pqdeg.h
rf_pqdegdags.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_pqdegdags.h
rf_psstatus.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_psstatus.h
rf_raid0.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_raid0.h
rf_raid1.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_raid1.h
rf_raid4.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_raid4.h
rf_raid5_rotatedspare.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_raid5_rotatedspare.h
rf_raid5.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_raid5.h
rf_raid.h
rf_raidframe.h
rf_reconbuffer.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_reconbuffer.h
rf_reconmap.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_reconmap.h
rf_reconstruct.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_reconstruct.h
rf_reconutil.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_reconutil.h
rf_revent.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_revent.h
rf_shutdown.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_shutdown.h
rf_sstf.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_sstf.h
rf_states.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_states.h
rf_stripelocks.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_stripelocks.h
rf_strutils.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_threadstuff.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_threadstuff.h Use td->td_ucred instead of td->td_proc->p_ucred. 2003-03-20 21:17:40 +00:00
rf_types.h Deprecate machine/limits.h in favor of new sys/limits.h. 2003-04-29 13:36:06 +00:00
rf_utils.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rf_utils.h