freebsd-dev/sys
Pawel Jakub Dawidek 69882ff11d MFC r197898:
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
Approved by:	re (kib)
2009-10-12 21:08:06 +00:00
..
amd64 MFC r197803, r197824, r197910: 2009-10-12 16:05:31 +00:00
arm MFC r196531-196534,196536 2009-09-16 12:07:58 +00:00
boot MFC: r197156 2009-09-17 14:12:21 +00:00
bsm Import OpenBSM 1.1p1 from vendor branch to 8-CURRENT, populating 2009-07-17 14:02:20 +00:00
cam MFC r197896: 2009-10-12 21:03:07 +00:00
cddl MFC r197831,r197842,r197843,r197860,r197861: 2009-10-12 20:36:55 +00:00
compat MFC r197176: 2009-09-17 11:03:37 +00:00
conf MFC: revision 197709 2009-10-05 14:03:26 +00:00
contrib MFC r196551: 2009-08-28 20:26:00 +00:00
crypto Changed to M_NOWAIT when reallocing psc_buf in padlock_sha_update(), 2009-05-27 09:52:12 +00:00
ddb Merge the remainder of kern_vimage.c and vimage.h into vnet.c and 2009-08-01 19:26:27 +00:00
dev MFC change 197721: 2009-10-10 18:24:54 +00:00
fs MFC r197048: 2009-09-14 15:16:17 +00:00
gdb
geom MFC r197898: 2009-10-12 21:08:06 +00:00
gnu Fix the build by using proper format. 2009-06-25 16:48:13 +00:00
i386 MFC r197803, r197824, r197910: 2009-10-12 16:05:31 +00:00
ia64 Remove extra debugging support that is turned on for head but turned off 2009-09-10 14:04:00 +00:00
isa MFC 196520: 2009-08-27 16:34:04 +00:00
kern MFC r197643, r197735: 2009-10-12 15:32:00 +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 MFC r196196: 2009-08-13 17:54:11 +00:00
modules MFC: revision 197730 2009-10-07 14:14:05 +00:00
net MFC r197727: 2009-10-08 20:58:09 +00:00
net80211 Update 802.11s mesh support to draft 3.03. This includes a revised frame 2009-09-29 12:18:23 +00:00
netatalk Merge r196121 from head to stable/8: 2009-08-13 14:50:39 +00:00
netgraph Merge r196481 from head to stable/8: 2009-08-28 20:06:02 +00:00
netinet Merge r197814 from head to stable/8: 2009-10-09 09:18:22 +00:00
netinet6 MFC r197227 2009-09-15 22:46:06 +00:00
netipsec Merge r196481 from head to stable/8: 2009-08-28 20:06:02 +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 Rework socket upcalls to close some races with setup/teardown of upcalls. 2009-06-01 21:17:03 +00:00
nfs Revert rev 192323 (nfs_common.c only): 2009-07-12 03:53:52 +00:00
nfsclient MFC r197210, 197212, 197235 2009-09-15 22:25:19 +00:00
nfsserver MFC r197287, r197289, r197351, r197426, r197458, r197459, r197497, r197498, 2009-09-29 10:53:06 +00:00
nlm MFC: revision 197730 2009-10-07 14:14:05 +00:00
opencrypto
pc98 MFC: revision 197657 2009-10-03 14:38:22 +00:00
pci MFC r196516: 2009-08-28 17:34:22 +00:00
powerpc MFC r197080 2009-09-19 01:49:36 +00:00
rpc MFC r197581, r197583, r197584: 2009-10-01 13:11:45 +00:00
security Merge r196122 from head to stable/8: 2009-08-13 15:01:50 +00:00
sparc64 MFC: r197490 2009-10-02 18:33:40 +00:00
sun4v MFC r196196: 2009-08-13 17:54:11 +00:00
sys MFC r197643, r197735: 2009-10-12 15:32:00 +00:00
tools - Increase dynamic range of filter coefficients from 28bit to 30bit. 2009-07-05 18:15:06 +00:00
ufs MFC r197269: 2009-09-24 21:32:56 +00:00
vm MFC r197661: 2009-10-04 12:14:49 +00:00
xdr MFC r196149: 2009-08-12 20:30:27 +00:00
xen MFC 196403: Temporarily revert the new-bus locking for 8.0 release. 2009-08-20 20:23:28 +00:00
Makefile