freebsd-dev/sys
Konstantin Belousov d66ba37013 Fix livelock that could occur when snapshoting UFS with quotas, where
some quota limit was exceeded. Sequence of UFS_VALLOC()/UFS_VFREE()
call there could cause inodeblock to have both freefile and inodedep
dependencies without any inode in the block being marked for write.
Then, softdep_check_suspend() would return EAGAIN forewer.

Force write of inodeblock with allocated freefile softdependency by
setting IN_MODIFIED flag in softdep_freefile and unconditionally calling
UFS_UPDATE() in ufs_reclaim.

Reported by:	kris
Debug help and tested by: 	Peter Holm
Approved by:	re (kensmith)
MFC after:	3 weeks
2007-06-22 13:22:37 +00:00
..
amd64 Check for pte being NULL in return from pmap_pte_pde- unlikely or 2007-06-17 04:27:45 +00:00
arm The iop34x has 128 interrupts. 2007-06-16 15:03:33 +00:00
boot - Make better use of the global chosen, memory and mmu handles instead 2007-06-17 00:17:15 +00:00
bsm Change $P4$ ID strings to P4 ID strings so that they are not auto-expanded 2007-04-17 12:27:08 +00:00
cam Prepare for future integration between CAM and newbus. xpt_bus_register 2007-06-17 05:55:54 +00:00
cddl Eliminate now-unused SUSER_ALLOWJAIL arguments to priv_check_cred(); in 2007-06-12 00:12:01 +00:00
coda Revert UF_OPENING workaround for CURRENT. 2007-05-31 11:51:53 +00:00
compat Try a cheap way to get around gcc4.2 believing that user arguments 2007-06-17 04:37:57 +00:00
conf - Move ofw_pci_alloc_busno() to the ofw_pci KOBJ interface, 2007-06-18 21:49:42 +00:00
contrib Pointer to an ICMP header was getting left behind after doing a pullup. 2007-06-09 09:28:36 +00:00
crypto Integrate the Camellia Block Cipher. For more information see RFC 4132 2007-05-09 19:37:02 +00:00
ddb Use FOREACH_PROC_IN_SYSTEM instead of using its unrolled form. 2007-01-17 15:05:52 +00:00
dev Add support for Garmin iQue 3600 2007-06-22 06:02:19 +00:00
fs Use vfs_timestamp() instead of nanotime() - make it up to 2007-06-18 14:40:19 +00:00
gdb Add kdb_cpu_sync_icache(), intended to synchronize instruction 2007-06-09 21:55:17 +00:00
geom Have gpart synthesize a disk geometry if the underlying provider 2007-06-17 22:19:19 +00:00
gnu Eliminate now-unused SUSER_ALLOWJAIL arguments to priv_check_cred(); in 2007-06-12 00:12:01 +00:00
i4b Tell the user when the setup of the interrupt handler failed and return 2007-04-01 16:52:54 +00:00
i386 Update the suspend/resume user API while maintaining backwards compat. 2007-06-21 22:50:37 +00:00
ia64 Enable SCTP by default for GENERIC kernels in order to give it 2007-06-14 17:14:27 +00:00
isa Prototype (but functional) Linux-ish /dev/nvram interface to the extra 2007-06-15 22:58:14 +00:00
kern devfs_free() calls free_unr(), that may sleep. 2007-06-19 13:19:23 +00:00
libkern Unbreak high resolution profiling a little: use dummy asms to prevent 2007-06-13 06:17:48 +00:00
modules Use .CURDIR when referring source code. This fixes build 2007-06-20 00:29:51 +00:00
net Silence some gcc 4 warnings. It is expected that the bpf_movein() routine 2007-06-17 21:51:43 +00:00
net80211 Correct state machine handling of AUTH -> AUTH transitions that pass 2007-06-16 05:13:48 +00:00
netatalk Reduce network stack oddness: implement .pru_sockaddr and .pru_peeraddr 2007-05-11 10:20:51 +00:00
netatm Fix use after free bug: use temporary variable to hold next entry in linked 2007-04-03 12:45:10 +00:00
netgraph Replace sosend() with direct call to .pru_send method on the 2007-06-21 19:55:49 +00:00
netinet - Two more static analisys bugs found by cisco's tool on a subsequent 2007-06-18 22:36:52 +00:00
netinet6 gcc4.2 somehow doesn't believe that finaldst can stay stable between 2007-06-17 04:12:21 +00:00
netipsec 'spi' and the return value of ntohl are unsigned. Remove the extra >=0 2007-06-16 09:25:23 +00:00
netipx Include priv.h to pick up suser(9) definitions, missed in an earlier 2007-06-13 22:42:43 +00:00
netkey
netnatm s/destory/destroy/ (except for the code in contrib/). 2007-04-16 12:31:35 +00:00
netncp Commit 14/14 of sched_lock decomposition. 2007-06-05 00:00:57 +00:00
netsmb Initialize some variables that GCC4.2 thinks might possibly be used without 2007-06-15 23:49:54 +00:00
nfs
nfs4client - Move rusage from being per-process in struct pstats to per-thread in 2007-06-01 01:12:45 +00:00
nfsclient Do proper "locking" for missing vmmeters part. 2007-06-04 21:45:18 +00:00
nfsserver Include priv.h to pick up suser(9) definitions, missed in an earlier 2007-06-13 22:42:43 +00:00
opencrypto Integrate the Camellia Block Cipher. For more information see RFC 4132 2007-05-09 19:37:02 +00:00
pc98 Enable SCTP by default for GENERIC kernels in order to give it 2007-06-14 17:14:27 +00:00
pccard
pci Prepare for future integration between CAM and newbus. xpt_bus_register 2007-06-17 05:55:54 +00:00
powerpc Reimplement bus_dmamap_load with bus_dmamap_load_buffer. 2007-06-22 03:57:36 +00:00
rpc Check for a NULL return from rpcclnt_buildheader- it can fail if 2007-06-16 05:42:26 +00:00
security In setaudit_addr(), drop the process lock in error cases. 2007-06-15 15:20:56 +00:00
sparc64 - Move ofw_pci_alloc_busno() to the ofw_pci KOBJ interface, 2007-06-18 21:49:42 +00:00
sun4v - Restore the machine independency of sys/dev/ofw/openfirm.{c,h} by 2007-06-16 22:30:38 +00:00
sys Update comment: kernel privileges are, in fact sorted by subsytem. 2007-06-18 07:54:27 +00:00
tools Catch up with ACPI-CA 20070320 import. 2007-03-22 18:16:43 +00:00
ufs Fix livelock that could occur when snapshoting UFS with quotas, where 2007-06-22 13:22:37 +00:00
vm Eliminate unnecessary checks from vm_pageout_clean(): The page that is 2007-06-18 02:04:38 +00:00
Makefile o Add bsm and security to a list of cscope dirs. 2007-04-14 16:29:15 +00:00