freebsd-src/sys
Dima Dorfman 26a0ee75c6 Introduce a force option, MD_FORCE, that instructs the driver to
bypass some extra anti-foot-shooting measures.  Currently, its only
effect is to allow detaching a device while it's still open (e.g.,
mounted).  This is useful for testing how the system reacts to a disk
suddenly going away, which can happen with some removeable media.

At this point, the force option is only checked on detach, so it
would've been possible to allow the option to be passed with the
MDIOCDETACH operation.  This was not done to allow the possibility of
having the force flag influence other tests in the future, which may
not necessarily deal with detaching the device.

Reviewed by:	sobomax
Approved by:	phk
2001-08-07 19:23:16 +00:00
..
alpha Revert part of previous- I misunderstood the use of 'ncpus'- I thought it'd 2001-08-01 20:35:42 +00:00
amd64 - Removed comment about ThinkPad keyboards from the PCVT line. Any ThinkPad 2001-08-05 21:56:11 +00:00
arm Don't need the .keep_me files. Obrien and I committed past each other. 2001-07-01 23:35:44 +00:00
boot Add in a hack to support IBM "El Torito" CD-ROM booting BIOS's which expect 2001-07-31 19:50:09 +00:00
cam Kill the command (don't rerun it) if we had an AUTOSENSE failure. 2001-07-30 00:44:32 +00:00
coda Warning fix: coda_fbsd.c:113: warning: unused variable `ret' 2001-06-15 00:02:27 +00:00
compat Added the linux_sysinfo function to implement sysinfo(2). 2001-07-23 06:22:10 +00:00
conf -Finished cleanup of old 'ThinkPad' comments that are no longer useful. 2001-08-06 16:04:39 +00:00
contrib fix import/merge related code problems 2001-07-30 10:53:23 +00:00
crypto properly check DES weak key. KAME PR 363. 2001-07-03 17:46:48 +00:00
ddb Quiet a variable format-string warning. 2001-07-19 02:05:00 +00:00
dev Introduce a force option, MD_FORCE, that instructs the driver to 2001-08-07 19:23:16 +00:00
fs Remove dangling prototype for the now defunct procfs_kmemaccess() 2001-08-03 17:51:05 +00:00
geom Polish error handling with biofinish(). 2001-05-08 09:10:27 +00:00
gnu Do not depend on pcb_savefpu backwards compat #define. 2001-07-12 12:19:11 +00:00
i4b make driver compile under 4.3-STABLE 2001-07-22 19:55:05 +00:00
i386 -Finished cleanup of old 'ThinkPad' comments that are no longer useful. 2001-08-06 16:04:39 +00:00
ia64 Grab Giant arond page faults. ia64 boots again in the simulator now. 2001-08-07 17:31:42 +00:00
isa Return consistent key action codes at key press and release 2001-07-20 13:05:57 +00:00
isofs/cd9660 - FDESC, FIFO, NULL, PORTAL, PROC, UMAP and UNION file 2001-05-23 09:42:29 +00:00
kern Previously, the ELF linker would always just store the pointer to a 2001-08-06 14:21:57 +00:00
libkern Sync to OpenBSD (update comment and minor style change). 2001-07-24 11:34:22 +00:00
modules Unbreak ip_mroute_mod 2001-07-25 20:15:17 +00:00
net printed current sequence number of the SA. accordingly, changed 2001-08-06 19:40:01 +00:00
netatalk
netatm Commited patch for uni signaling fix. 2001-07-11 16:31:50 +00:00
netgraph Pack struct uniqtag declarations to stop our data field from being pushed 2001-08-02 09:28:31 +00:00
netinet mdoc(7) police: 2001-08-07 15:48:51 +00:00
netinet6 When running aplication joined multicast address, 2001-08-04 17:10:14 +00:00
netipx Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
netkey printed current sequence number of the SA. accordingly, changed 2001-08-06 19:40:01 +00:00
netnatm
netncp Fix warning: 203: implicit declaration of function `kernel_sysctlbyname' 2001-06-15 07:37:01 +00:00
netns
netsmb Remove bogus include. 2001-06-14 11:05:01 +00:00
nfs Fix a client-side memory leak in nfs_flush(). The code allocates 2001-08-01 10:25:13 +00:00
nfsclient Fix a client-side memory leak in nfs_flush(). The code allocates 2001-08-01 10:25:13 +00:00
nfsserver With Alfred's permission, remove vm_mtx in favor of a fine-grained approach 2001-07-04 16:20:28 +00:00
pc98 Merged from sys/dev/syscons/syscons.c revisions 1.370, 1.371 and 1.372. 2001-08-07 12:23:47 +00:00
pccard Now that we are setting a bit in the PCIC_INT_GEN (0x3) register, we 2001-08-05 07:02:42 +00:00
pci Pacify users who get all bent out of shape when they see the "xl%d: command 2001-07-27 20:55:45 +00:00
posix4 o Replace calls to p_can(..., P_CAN_xxx) with calls to p_canxxx(). 2001-07-05 17:10:46 +00:00
powerpc Axe unused and invalid astpending globaldata member. 2001-08-04 20:47:54 +00:00
rpc
sparc64 Handle dmmu protection faults as well as misses. Enable tracking of 2001-08-06 02:34:20 +00:00
svr4
sys Introduce a force option, MD_FORCE, that instructs the driver to 2001-08-07 19:23:16 +00:00
tools
ufs Two recent commits in sys/ufs/ufs interacted badly with ext2fs 2001-07-29 22:26:01 +00:00
vm Add a missing semicolon to unbreak the kernel build with INVARIANTS 2001-08-05 03:55:02 +00:00
Makefile