freebsd-skq/sys
Andriy Gapon 74f75cb1bd zfs_mount(MS_REMOUNT): protect zfs_(un)register_callbacks calls
We now take z_teardown_lock as a writer to ensure that there is no I/O
while the filesystem state is in a flux.  Also, zfs_suspend_fs() ->
zfsvfs_teardown() call zfs_unregister_callbacks() and zfs_resume_fs() ->
zfsvfs_setup() call zfs_unregister_callbacks().  Previously there was no
synchronization between those calls and the calls in the re-mounting
case.  That could lead to concurrent execution and a crash.

PR:		180060
Differential Revision:	https://reviews.freebsd.org/D2865
Suggested by:	mahrens
Reviewed by:	delphij, pho, mahrens, will
MFC after:	13 days
Sponsored by:	ClusterHQ
2015-07-02 08:32:02 +00:00
..
amd64 Disallow a debugger on 64bit system to set fs/gs bases of the 32bit 2015-07-01 16:37:03 +00:00
arm Add DMA support for Allwinner MMC controller. 2015-07-01 23:27:01 +00:00
arm64 Fix the logic for when to restore the VFP registers. It should restore 2015-07-01 17:27:44 +00:00
boot Updated random(4) boot/shutdown scripting. 2015-06-30 17:09:41 +00:00
bsm
cam Fix REPORT LUNS command output for the case when same LUN mapped to same 2015-06-20 13:02:57 +00:00
cddl zfs_mount(MS_REMOUNT): protect zfs_(un)register_callbacks calls 2015-07-02 08:32:02 +00:00
compat svr4 emulator has custom sendsig() implementation, it does not use 2015-06-29 10:33:04 +00:00
conf First cut of DTrace for AArch64. 2015-07-01 15:51:11 +00:00
contrib Merge ACPICA 20150619. 2015-06-18 23:14:45 +00:00
crypto In the version of gcc in the FreeBSD tree, this modification was made to 2015-04-16 17:42:52 +00:00
ddb Correct the function name in catch-all error handling case. 2015-06-17 10:20:59 +00:00
dev Disable port multiplier support on Marvell 88SE61xx chips. 2015-07-02 08:25:45 +00:00
fs Huge cleanup of random(4) code. 2015-06-30 17:00:45 +00:00
gdb CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than ten 2015-05-22 17:05:21 +00:00
geom Fix off-by-one error in fstyp(8) and geom_label(4) that made them use 2015-06-18 21:55:55 +00:00
gnu The GNU Amlogic DTS files have some errors (e.g. bad register 2015-04-11 08:17:39 +00:00
i386 Provide npx_get_fsave(9) and npx_set_fsave(9) functions to obtain and 2015-06-29 12:06:36 +00:00
isa
kern Fix leak in tcp_lro_rx. Simply clearing M_PKTHDR isn't enough, any tags 2015-06-30 17:19:58 +00:00
kgssapi
libkern Huge cleanup of random(4) code. 2015-06-30 17:00:45 +00:00
mips Huge cleanup of random(4) code. 2015-06-30 17:00:45 +00:00
modules First cut of DTrace for AArch64. 2015-07-01 15:51:11 +00:00
net Huge cleanup of random(4) code. 2015-06-30 17:00:45 +00:00
net80211 Break out the current 802.11 software scan methods into an indirect table. 2015-06-08 02:35:43 +00:00
netgraph Huge cleanup of random(4) code. 2015-06-30 17:00:45 +00:00
netinet Fix leak in tcp_lro_rx. Simply clearing M_PKTHDR isn't enough, any tags 2015-06-30 17:19:58 +00:00
netinet6 Add FIB support for SCTP. 2015-06-17 15:20:14 +00:00
netipsec drop key_sa_stir_iv as it isn't used... 2015-06-11 13:05:37 +00:00
netnatm
netpfil ALTQ FAIRQ discipline import from DragonFLY 2015-06-24 19:16:41 +00:00
netsmb
nfs Avoid closing unallocated socket in case socreate fails. 2015-02-28 20:30:29 +00:00
nfsclient Remove some oldnfs remnants. 2015-04-18 16:08:06 +00:00
nfsserver
nlm
ofed fd: make rights a mandatory argument to fget_unlocked 2015-06-16 09:52:36 +00:00
opencrypto change the KASSERT so it is meaningful, var is unsigned, so even 2015-06-19 22:42:26 +00:00
pc98 Build GENERIC with RACCT/RCTL support by default. Note that it still 2015-05-14 14:03:55 +00:00
powerpc Allow DTrace to be compiled-in to the kernel. 2015-06-10 15:53:39 +00:00
rpc Remove hard limits on number of accepting NFS connections. 2015-04-07 10:25:27 +00:00
security Replace struct filedesc argument in getvnode with struct thread 2015-06-16 13:09:18 +00:00
sparc64 Generalised support for copy-on-write structures shared by threads. 2015-06-10 10:43:59 +00:00
sys Fix leak in tcp_lro_rx. Simply clearing M_PKTHDR isn't enough, any tags 2015-06-30 17:19:58 +00:00
teken
tools
ufs Huge cleanup of random(4) code. 2015-06-30 17:00:45 +00:00
vm Huge cleanup of random(4) code. 2015-06-30 17:00:45 +00:00
x86 Set the initial system time to a sane (as in: not end of 21st century) value when 2015-06-29 17:02:09 +00:00
xdr
xen Garbage collect comments which related to the pre-r284296 support for a 2015-06-21 06:05:33 +00:00
Makefile Kill EoL whitespace. 2015-05-29 14:03:07 +00:00