421edf71f1
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> |
||
---|---|---|
.. | ||
_posix.h | ||
_sigset.h | ||
acct.h | ||
aio.h | ||
bio.h | ||
bitstring.h | ||
blist.h | ||
buf.h | ||
bus_dma.h | ||
bus_private.h | ||
bus.h | ||
callout.h | ||
ccdvar.h | ||
cdefs.h | ||
cdio.h | ||
chio.h | ||
clist.h | ||
conf.h | ||
cons.h | ||
copyright.h | ||
dataacq.h | ||
devfsext.h | ||
device.h | ||
devicestat.h | ||
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 | ||
fbio.h | ||
fcntl.h | ||
fdcio.h | ||
file.h | ||
filedesc.h | ||
filio.h | ||
ftape.h | ||
gmon.h | ||
imgact_aout.h | ||
imgact_elf.h | ||
imgact.h | ||
inflate.h | ||
interrupt.h | ||
inttypes.h | ||
ioccom.h | ||
ioctl_bt848.h | ||
ioctl_compat.h | ||
ioctl_meteor.h | ||
ioctl.h | ||
ipc.h | ||
joystick.h | ||
kernel.h | ||
ktrace.h | ||
libkern.h | ||
linedisc.h | ||
link_aout.h | ||
link_elf.h | ||
linker_set.h | ||
linker.h | ||
lkm.h | ||
lock.h | ||
lockf.h | ||
lockmgr.h | ||
malloc.h | ||
mbuf.h | ||
md5.h | ||
mdioctl.h | ||
mman.h | ||
module.h | ||
mount.h | ||
mouse.h | ||
msg.h | ||
msgbuf.h | ||
mtio.h | ||
namei.h | ||
nlist_aout.h | ||
param.h | ||
pciio.h | ||
pioctl.h | ||
pipe.h | ||
poll.h | ||
posix4.h | ||
proc.h | ||
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 | ||
sliceio.h | ||
smp.h | ||
snoop.h | ||
socket.h | ||
socketvar.h | ||
sockio.h | ||
soundcard.h | ||
stat.h | ||
syscall-hide.h | ||
syscall.h | ||
syscall.mk | ||
sysctl.h | ||
sysent.h | ||
syslimits.h | ||
syslog.h | ||
sysproto.h | ||
systm.h | ||
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 | ||
ucred.h | ||
uio.h | ||
un.h | ||
unistd.h | ||
unpcb.h | ||
user.h | ||
utsname.h | ||
vadvise.h | ||
vcmd.h | ||
vlimit.h | ||
vmmeter.h | ||
vnioctl.h | ||
vnode.h | ||
vsio.h | ||
wait.h | ||
wormio.h | ||
xrpuio.h |