freebsd-dev/sys
Kirk McKusick 63cf5b0ee2 Fix two deadlocks in snapshots:
1) Release the snapshot file lock while suspending the system. Otherwise
   a process trying to read the lock may block on its containing directory
   preventing the suspension from completing. Thanks to Sean Kelly
   <smkelly@zombie.org> for finding this deadlock.

2) Replace some bdwrite's with bawrite's so as not to fill all the
   buffers with dirty data. The buffers could not be cleaned as the
   snapshot vnode was locked hence the system could deadlock when
   making snapshots of really massive filesystems. Thanks to
   Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp> for figuring
   this out.

Sponsored by:   DARPA & NAI Labs.
2002-11-30 07:27:12 +00:00
..
alpha Under certain circumstances, we were calling kmem_free() from 2002-11-22 23:57:02 +00:00
amd64 Assert that the page queues lock is held in pmap_remove_pages(). 2002-11-25 04:45:03 +00:00
arm Add standards visibility conditionals. Change any uses of sigset_t to 2002-10-13 00:31:46 +00:00
boot Remove a left-over virtual mapping of uncached I/O port space. 2002-11-28 03:25:51 +00:00
cam Release the reference to the peripheral if returning a error. 2002-11-29 15:40:10 +00:00
coda Back our kernel support for reliable signal queues. 2002-10-01 17:15:53 +00:00
compat Regenerate after adding syscalls. 2002-11-16 23:48:14 +00:00
conf Reclaim major number 182 which I allocated for mdsio. It was decided 2002-11-28 04:29:52 +00:00
contrib Resolve conflicts arising from the ACPI CA 20021118 import. 2002-11-27 18:09:20 +00:00
crypto Make this compilable from userland as well. 2002-11-01 08:56:39 +00:00
ddb - Rename the DDB specific %z printf format to %y. 2002-10-25 19:41:32 +00:00
dev Revisit the printf format fixes for alpha. intmax_t doesn't exist in 2002-11-28 04:09:29 +00:00
fs Fix instances of macros with improperly parenthasized arguments. 2002-11-09 12:55:07 +00:00
geom Remember to update the providers idea of its size when we reconfigure 2002-11-20 20:12:52 +00:00
gnu MFufs 1.33: 2002-10-18 21:41:41 +00:00
i4b network interface and link layer changes: 2002-11-15 00:00:15 +00:00
i386 Fix for non-GCC compilers. 2002-11-27 16:28:18 +00:00
ia64 Implement bus_space_subregion(). Identical to i386. 2002-11-29 20:14:03 +00:00
isa Capitalize the first letter of device descriptions 2002-11-11 15:26:08 +00:00
isofs/cd9660 Unbreak MNT_UPDATE when running with cd as root. Detect mountroot by 2002-11-02 20:16:55 +00:00
kern devd kernel improvements: 2002-11-30 00:49:43 +00:00
libkern Fix instances of macros with improperly parenthasized arguments. 2002-11-09 12:55:07 +00:00
modules Unhook LOMAC kernel module since the functionality is now provided by 2002-11-26 17:53:27 +00:00
net Move fw_one_pass from ip_fw2.c to ip_input.c so that neither 2002-11-20 19:07:27 +00:00
netatalk Add more ethernet types and move AppleTalk types into proper location. 2002-09-06 17:02:29 +00:00
netatm - Change the ATM stack functions to use intptr_t instead of int for opaque 2002-11-08 18:27:30 +00:00
netgraph fixes for this driver: 2002-11-26 18:30:45 +00:00
netinet Move fw_one_pass from ip_fw2.c to ip_input.c so that neither 2002-11-20 19:07:27 +00:00
netinet6 plugged memory leakage in some erroneous cases 2002-10-31 19:45:48 +00:00
netipsec FAST_IPSEC fixups: 2002-11-08 23:37:50 +00:00
netipx Fix a sizeof(int) != sizeof(void *) warning. 2002-11-08 21:16:27 +00:00
netkey
netnatm Be consistent about functions being static. 2002-10-16 09:19:17 +00:00
netncp - Change mb_copy_t to take a size_t as the length argument instead of an 2002-11-08 21:26:32 +00:00
netns Use m_length() instead of home-rolled versions. 2002-09-18 19:44:14 +00:00
netsmb Fix a fatal typo introduced in revision 1.13 that caused the mbuf chains to 2002-11-26 23:53:28 +00:00
nfs Change iov_base's type from char *' to the standard void *'. All 2002-10-11 14:58:34 +00:00
nfsclient reapply 1.26 through 1.28. 2002-11-20 15:21:06 +00:00
nfsserver Permit MAC policies to instrument the access control decisions for 2002-11-04 15:13:36 +00:00
opencrypto correct minor # in make_dev call 2002-11-08 23:07:41 +00:00
pc98 MFi386: revision 1.550. 2002-11-17 02:57:06 +00:00
pccard MFp4: 2002-11-27 06:04:49 +00:00
pci Xircom cards store the MAC address in the CIS, so get it from the new 2002-11-27 07:04:10 +00:00
posix4 Rework the sysconf(3) interaction with aio: 2002-11-17 04:15:34 +00:00
powerpc Under certain circumstances, we were calling kmem_free() from 2002-11-22 23:57:02 +00:00
rpc
security Correct two warnings by staticizing a function and removing an unused 2002-11-26 17:38:25 +00:00
sparc64 Add page queues locking to vunmapbuf(). 2002-11-24 21:13:34 +00:00
sys Conditionalize a GCCism. 2002-11-29 23:49:27 +00:00
tools - Move ASSERT_VOP_*LOCK* functionality into functions in vfs_subr.c 2002-09-26 04:48:44 +00:00
ufs Fix two deadlocks in snapshots: 2002-11-30 07:27:12 +00:00
vm Lock page field accesses in mincore(). 2002-11-28 08:01:39 +00:00
Makefile