freebsd-dev/sys
Kenneth D. Merry 0ba1e4d063 Add a callback to the ada(4) driver so that it knows when GEOM has released
references to it.

This is the functional equivalent to change r237518, which added this
functionality to the cd(4) and da(4) drivers.

This fix prevents a panic caused by GEOM calling adaopen() while the device
is going away.  We now keep the device around until GEOM has finished
cleaning up its state.

ata_da.c:	In adaregister(), add a d_gone callback to the GEOM disk
		structure registered for the ada driver.  Increment the
		peripheral reference count for GEOM.

		Add a new callback, adadiskgonecb(), that GEOM calls when
		it is done with its resources.  This callback releases the
		reference acquired in adaregister().

Submitted by:	Po-Li Soong
Sponsored by:	Spectra Logic
MFC After:	5 days
2013-04-10 22:12:21 +00:00
..
amd64 Unsynchronized TSCs on the host require special handling in bhyve: 2013-04-10 05:59:07 +00:00
arm Merge from projects/counters: counter(9). 2013-04-08 19:40:53 +00:00
boot The CELL fields can be various integer types depending on the platform 2013-04-07 05:53:42 +00:00
bsm Implement chflagsat(2) system call, similar to fchmodat(2), but operates on 2013-03-21 22:59:01 +00:00
cam Add a callback to the ada(4) driver so that it knows when GEOM has released 2013-04-10 22:12:21 +00:00
cddl Cast to (void *)(uintptr_t) on copyout and copyin of zfs_iocparm_t.zfs_cmd 2013-04-10 07:01:17 +00:00
compat Regen. 2013-04-02 05:30:52 +00:00
conf Merge from projects/counters: counter(9). 2013-04-08 19:40:53 +00:00
contrib Forcibly defining _KERNEL is bad idea. Toss some code so that ip_var.h 2013-04-08 19:20:27 +00:00
crypto When porting XTS-related code from OpenBSD I forgot to update copyright (only 2013-02-20 22:59:53 +00:00
ddb
dev Create controller-level DMA tag, handling range of supported addresses. 2013-04-10 20:38:15 +00:00
fs Prepare to replace the buf splay with a trie: 2013-04-06 22:21:23 +00:00
gdb
geom Make it possible to submit FLUSH bios through geom_dev strategy. This 2013-04-06 10:32:06 +00:00
gnu/fs/reiserfs Garbage collect XFS bits which are now already completely disconnected 2013-03-02 15:33:54 +00:00
i386 Pass the segmented address of the counter, based on %fs, i.e. offset 2013-04-09 17:55:39 +00:00
ia64 Merge from projects/counters: counter(9). 2013-04-08 19:40:53 +00:00
isa
kern Fix the build. 2013-04-10 00:35:08 +00:00
kgssapi
libkern Add __aeabi_memset to libkern, implemented using memset, as clang may 2013-03-16 23:11:55 +00:00
mips Merge from projects/counters: counter(9). 2013-04-08 19:40:53 +00:00
modules Remove atadevel(4), it no longer builds with ATA_CAM and it's unlikely 2013-04-06 19:33:24 +00:00
net Fix build. 2013-04-10 08:09:25 +00:00
net80211 Add VNET wrappers around the rest of the ieee80211 rtsock messages. 2013-03-20 02:42:52 +00:00
netatalk
netgraph Add blacklist entries for Atheros bluetooth device IDs that are known to 2013-04-05 23:41:38 +00:00
netinet Fix build. 2013-04-10 08:09:25 +00:00
netinet6 Use IP6STAT_INC/IP6STAT_DEC macros to update ip6 stats. 2013-04-09 07:11:22 +00:00
netipsec Use IP6STAT_INC/IP6STAT_DEC macros to update ip6 stats. 2013-04-09 07:11:22 +00:00
netipx
netnatm
netpfil Fix ipfw rule validation partially broken by r248552. 2013-04-01 11:28:52 +00:00
netsmb Call make_dev_credf() rather than using the couple make_dev()/dev_ref(). 2013-03-09 16:58:19 +00:00
nfs Use m_get() and m_getcl() instead of compat macros. 2013-03-15 10:21:18 +00:00
nfsclient Fix remainder calculation when biosize is not a power of 2 2013-03-19 13:06:11 +00:00
nfsserver Switch the vm_object mutex to be a rwlock. This will enable in the 2013-03-09 02:32:23 +00:00
nlm
ofed Check for SS_NBIO in the socket state field rather than socket buffer 2013-04-03 20:31:10 +00:00
opencrypto When porting XTS-related code from OpenBSD I forgot to update copyright (only 2013-02-20 22:59:53 +00:00
pc98 Merge from projects/counters: counter(9). 2013-04-08 19:40:53 +00:00
pci Fix build. 2013-02-21 12:52:18 +00:00
powerpc Since UMA_ZONE_PCPU zones put a constraint on sizeof(struct pcpu), declared 2013-04-10 16:09:45 +00:00
rpc Fix a potential socket leak in the NFS server. If a client closes its 2013-04-08 19:03:01 +00:00
security Switch the vm_object mutex to be a rwlock. This will enable in the 2013-03-09 02:32:23 +00:00
sparc64 Merge from projects/counters: counter(9). 2013-04-08 19:40:53 +00:00
sys Fix build. 2013-04-10 08:09:25 +00:00
teken
tools Further refine the handling of stop signals in the NFS client. The 2013-02-21 19:02:50 +00:00
ufs Prepare to replace the buf splay with a trie: 2013-04-06 22:21:23 +00:00
vm Convert UMA code to C99 uintXX_t types. 2013-04-09 17:43:48 +00:00
x86 Unsynchronized TSCs on the host require special handling in bhyve: 2013-04-10 05:59:07 +00:00
xdr Use m_get() and m_getcl() instead of compat macros. 2013-03-15 10:21:18 +00:00
xen
Makefile Remove netncp cscope entry missed in r248097 2013-03-12 14:21:52 +00:00