freebsd-skq/sys/sys
mckusick 421edf71f1 When fsync'ing a file on a filesystem using soft updates, we first try
to write all the dirty blocks. If some of those blocks have dependencies,
they will be remarked dirty when the I/O completes. On systems with
really fast I/O systems, it is possible to get in an infinite loop trying
to flush the buffers, because the I/O finishes before we can get all the
dirty buffers off the v_dirtyblkhd list and into the I/O queue. (The
previous algorithm looped over the v_dirtyblkhd list writing out buffers
until the list emptied.) So, now we mark each buffer that we try to
write so that we can distinguish the ones that are being remarked dirty
from those that we have not yet tried to flush. Once we have tried to
push every buffer once, we then push any associated metadata that is
causing the remaining buffers to be redirtied.

Submitted by:	Matthew Dillon <dillon@apollo.backplane.com>
1999-03-02 04:04:31 +00:00
..
_posix.h
_sigset.h
acct.h
aio.h
bio.h When fsync'ing a file on a filesystem using soft updates, we first try 1999-03-02 04:04:31 +00:00
bitstring.h
blist.h
buf.h When fsync'ing a file on a filesystem using soft updates, we first try 1999-03-02 04:04:31 +00:00
bus_dma.h
bus_private.h
bus.h
callout.h
ccdvar.h
cdefs.h
cdio.h
chio.h
clist.h
conf.h Reviewed by: Julian Elischer <julian@whistle.com> 1999-02-25 05:22:30 +00:00
cons.h
copyright.h Fixed COPYRIGHT_PC98 (good bye 1998). 1999-02-10 13:09:09 +00:00
dataacq.h
devfsext.h
device.h
devicestat.h Add a prioritization field to the devstat_add_entry() call so that 1999-02-10 00:04:13 +00:00
dir.h
dirent.h
disk.h
disklabel.h
diskmbr.h
diskpc98.h
diskslice.h
dkbad.h
dkstat.h
dmap.h
domain.h
elf32.h
elf64.h
elf_common.h
elf_generic.h
errno.h
exec.h More -Wall / -Wcast-qual cleanup. Also, EXEC_SET can't use 1999-01-29 08:36:45 +00:00
fbio.h
fcntl.h
fdcio.h
file.h
filedesc.h
filio.h
ftape.h
gmon.h
imgact_aout.h
imgact_elf.h Hmm- I must be blind. There *was* already an appropriate typedef still 1999-02-06 17:58:06 +00:00
imgact.h
inflate.h
interrupt.h
inttypes.h
ioccom.h
ioctl_bt848.h Corrected ioctl numbers conflict. 1999-02-15 11:04:36 +00:00
ioctl_compat.h
ioctl_meteor.h
ioctl.h
ipc.h
joystick.h
kernel.h More const fixes for -Wall, -Wcast-qual 1999-01-29 23:18:50 +00:00
ktrace.h
libkern.h
linedisc.h Reviewed by: Julian Elischer <julian@whistle.com> 1999-02-25 05:22:30 +00:00
link_aout.h
link_elf.h
linker_set.h
linker.h Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-27 23:45:44 +00:00
lkm.h
lock.h
lockf.h
lockmgr.h
malloc.h Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-27 21:50:00 +00:00
mbuf.h
md5.h
mdioctl.h
mman.h Mostly remove the VM_STACK OPTION. 1999-01-26 02:49:52 +00:00
module.h More -Wall / -Wcast-qual cleanup. Also, EXEC_SET can't use 1999-01-29 08:36:45 +00:00
mount.h * Change sysctl from using linker_set to construct its tree using SLISTs. 1999-02-16 10:49:55 +00:00
mouse.h 1) Added define for USB as an interface 1999-02-21 16:08:43 +00:00
msg.h
msgbuf.h
mtio.h minor tweaks 1999-02-05 07:57:26 +00:00
namei.h
nlist_aout.h
param.h Increment __FreeBSD_version to reflect the fact that the kernel can 1999-02-20 23:54:00 +00:00
pciio.h
pioctl.h
pipe.h
poll.h
posix4.h
proc.h Removed all traces of `p_switchtime'. The relevant timestamp is per-cpu, 1999-02-28 10:53:29 +00:00
procfs.h
protosw.h
ptrace.h
queue.h
random.h
reboot.h
resource.h
resourcevar.h
rlist.h
rman.h
rtprio.h
scsiio.h
select.h
selinfo.h
sem.h
semaphore.h
shm.h
signal.h
signalvar.h Enable Linux threads support by default. 1999-01-26 02:38:12 +00:00
sliceio.h
smp.h
snoop.h
socket.h
socketvar.h Moved prototypes for soo_{read,write,close} into socketvar.h where they 1999-02-01 21:16:31 +00:00
sockio.h
soundcard.h
stat.h
syscall-hide.h
syscall.h
syscall.mk
sysctl.h Add forward-declaration of struct linker_set, to fix a few warnings. 1999-02-28 17:38:28 +00:00
sysent.h
syslimits.h
syslog.h
sysproto.h
systm.h Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-28 00:57:57 +00:00
tablet.h
termios.h
time.h
timeb.h
timepps.h
timers.h
times.h
timetc.h
timex.h
tprintf.h
tty.h
ttychars.h
ttycom.h
ttydefaults.h
ttydev.h
types.h Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-28 00:57:57 +00:00
ucred.h Fixed English in previous commit. 1999-01-31 10:05:59 +00:00
uio.h
un.h
unistd.h
unpcb.h
user.h Enable Linux threads support by default. 1999-01-26 02:38:12 +00:00
utsname.h
vadvise.h
vcmd.h
vlimit.h
vmmeter.h Reviewed by: Matthew Dillon <dillon@apollo.backplane.com> 1999-02-25 06:05:28 +00:00
vnioctl.h
vnode.h Make worklist add function a static, remove from sys/vnode.h 1999-02-19 17:41:14 +00:00
vsio.h
wait.h Fix thread/process tracking and differentiation for Linux threads emulation. 1999-03-02 00:28:09 +00:00
wormio.h
xrpuio.h