1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-05 12:56:08 +00:00
freebsd/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
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
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
kern Fix build on amd64, where sysctl arg1 is a pointer. 2009-10-05 22:23:12 +00:00
kgssapi
libkern
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
netgraph
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
netnatm
netncp
netsmb
nfs
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
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
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
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
xen
Makefile