freebsd-dev/sys
Pawel Jakub Dawidek f8727e71d7 If provider is open for writing when we taste it, skip it for classes that
depend on on-disk metadata. This was we won't attach to providers that are used
by other classes. For example we don't want to configure partitions on da0 if
it is part of gmirror, what we really want is partitions on mirror/foo.

During regular work it works like this: if provider is open for writing a class
receives the spoiled event from GEOM and detaches, once provider is closed the
taste event is send again and class can rediscover its metadata if it is still
there.  This doesn't work that way when new class arrives, because GEOM gives
all existing providers for it to taste, also those open for writing. Classes
have to decided on their own if they want to deal with such providers (eg.
geom_dev) or not (classes modified by this commit).

Reported by:	des, Oliver Lehmann <lehmann@ans-netz.de>
Tested by:	des, Oliver Lehmann <lehmann@ans-netz.de>
Discussed with:	phk, marcel
Reviewed by:	marcel
MFC after:	3 days
2009-10-09 09:42:22 +00:00
..
amd64 Clean up amd64 suspend/resume code. 2009-10-08 17:41:53 +00:00
arm - Drop unused pmap_use_l1 function and comment out currently unused 2009-10-05 10:08:58 +00:00
boot lindev(4) [1] is supposed to be a collection of linux-specific pseudo 2009-09-26 12:45:28 +00:00
bsm Add audit events for process descriptor system calls, which will appear in 2009-09-29 21:25:59 +00:00
cam Export disk serial numbers for adaX disks. 2009-10-09 09:29:59 +00:00
cddl Allow file system owner to modify system flags if securelevel permits. 2009-10-08 16:05:17 +00:00
compat Make sure that the primary native brandinfo always gets added 2009-10-03 11:57:21 +00:00
conf cxgb(4) updates, including: 2009-10-05 20:21:41 +00:00
contrib Use __FBSDID to embed RCS ID. 2009-09-21 08:37:57 +00:00
crypto Changed to M_NOWAIT when reallocing psc_buf in padlock_sha_update(), 2009-05-27 09:52:12 +00:00
ddb Put square backets ([]) around process names for system processes to patch 2009-10-01 19:12:14 +00:00
dev On command timeout handle frozen command first, to not run it inside 2009-10-07 15:40:04 +00:00
fs Add a special workaround to handle UIO_NOCOPY case. This fixes data 2009-10-07 23:17:15 +00:00
gdb
geom If provider is open for writing when we taste it, skip it for classes that 2009-10-09 09:42:22 +00:00
gnu Fix the build by using proper format. 2009-06-25 16:48:13 +00:00
i386 - All the functions in atomic.h needs to be in "physical" form (like 2009-10-06 23:48:28 +00:00
ia64 Make sure that the primary native brandinfo always gets added 2009-10-03 11:57:21 +00:00
isa Tweak the way that the ACPI and ISA bus drivers match hint devices to 2009-08-24 21:51:46 +00:00
kern Fix build on amd64, where sysctl arg1 is a pointer. 2009-10-05 22:23:12 +00:00
kgssapi When the KOBJMETHOD() macro was updated, it resulted in the 2009-06-14 17:33:46 +00:00
libkern done method is supposed to return int. 2009-06-22 22:09:18 +00:00
mips Make sure that the primary native brandinfo always gets added 2009-10-03 11:57:21 +00:00
modules cxgb(4) updates, including: 2009-10-05 20:21:41 +00:00
net Put #ifdef INET around parts of the FLOWTABLE code, to unbreak 2009-10-03 10:56:03 +00:00
net80211 Update 802.11s mesh support to draft 3.03. This includes a revised frame 2009-09-22 18:18:14 +00:00
netatalk Reverse misordered unlock and lock in at_control for netatalk phase I 2009-08-12 10:44:13 +00:00
netgraph Get those pesky RFCOMM RPM data bits right. This is likely a noop. 2009-09-10 23:30:13 +00:00
netinet Use correct arguments when calling SCTP_RTALLOC(). 2009-10-08 20:33:12 +00:00
netinet6 Enable adding a link-local address even if ND6_IFF_IFDISABLED. 2009-10-02 07:00:20 +00:00
netipsec Changed an IPSEC_ASSERT to a simple test, as such invalid packets 2009-10-01 15:33:53 +00:00
netipx Use queue(9) instead of hand-crafted link lists for the global IPX 2009-06-24 20:57:50 +00:00
netnatm Reimplement the netisr framework in order to support parallel netisr 2009-06-01 10:41:38 +00:00
netncp
netsmb Don't print out a message on loading a module. 'kldload -v' and 'kldstat 2009-09-10 18:33:08 +00:00
nfs Revert rev 192323 (nfs_common.c only): 2009-07-12 03:53:52 +00:00
nfsclient Reverting the previous change for now. Some users reports the patch 2009-09-15 22:09:42 +00:00
nfsserver Ensure that tv_sec is between INT32_MIN and INT32_MAX, so ZFS won't object. 2009-09-26 18:23:16 +00:00
nlm Handle GRANTED_RES messages more gracefully: Send along a grant cookie 2009-10-07 19:50:14 +00:00
opencrypto If crypto operation is finished with EAGAIN, don't repeat operation from 2009-09-04 09:48:18 +00:00
pc98 MFi386: revision 197653 2009-10-01 10:46:22 +00:00
pci intpm/sb700: force polling mode if configured interrupt is SMI 2009-09-19 08:56:28 +00:00
powerpc Make sure that the primary native brandinfo always gets added 2009-10-03 11:57:21 +00:00
rpc Set the prison in NFS anon and GSS SVC creds (as I indended to in r197581). 2009-09-28 18:55:29 +00:00
security Having thrown the cat out of the house, add a necessary include. 2009-09-08 13:24:36 +00:00
sparc64 Make sure that the primary native brandinfo always gets added 2009-10-03 11:57:21 +00:00
sun4v Add a new sysctl for reporting all of the supported page sizes. 2009-09-18 17:04:57 +00:00
sys Add a new errno, ENOTCAPABLE, to be returned when a process requests an 2009-10-07 20:20:51 +00:00
teken Discard Device Control Strings and Operating System Commands. 2009-10-08 10:26:49 +00:00
tools - Increase dynamic range of filter coefficients from 28bit to 30bit. 2009-07-05 18:15:06 +00:00
ufs Don't build ufs_gjournal.c at all if UFS_GJOURNAL option is not given 2009-09-22 16:22:05 +00:00
vm Align and pad the page queue and free page queue locks so that the linker 2009-10-04 18:53:10 +00:00
xdr Add a check for a NULL mbuf ptr at the beginning of xdrmbuf_inline() 2009-08-12 16:27:51 +00:00
xen Temporarily revert the new-bus locking for 8.0 release. It will be 2009-08-20 19:17:53 +00:00
Makefile Remove the unmaintained University of Michigan NFSv4 client from 8.x 2009-05-22 12:35:12 +00:00