NetBSD/sys/kern
perseant 61fa9e1409 Move vinvalbuf's check for dirty blocks into ffs_fsync, to ensure that
mode and ownership bits are flushed to disk before the vnode is
reclaimed.

The check, introduced in the softdep merge, assumes that if no blocks
are dirty, no file data *or metadata* needs to be flushed to disk.  This
is true of ffs, but is not true of lfs, and may not be true of other
filesystems.

Tested by myself and Bill Squier <groo@cs.stevens-tech.edu>.
2000-03-11 05:00:18 +00:00
..
Make.tags.inc Protect the COMM variable with an '.ifmake tags' to stop the long delay 1999-02-12 19:52:30 +00:00
Makefile (mostly) fix kernel tags support. from Frederick Bruckman in pr-6445. 1998-11-15 20:36:30 +00:00
exec_aout.c
exec_conf.c defopt COMPAT_VAX1K 2000-01-17 02:59:25 +00:00
exec_ecoff.c * don't have the [onz]magic setup functions set up the stack. 1999-04-27 05:36:43 +00:00
exec_elf32.c Update for compat_netbsd32. 2000-02-06 16:49:51 +00:00
exec_elf64.c
exec_elf_common.c update for linux file move. 1998-10-03 20:39:32 +00:00
exec_script.c (exec_script_makecmds): remove declaration of vnops, now in 2000-02-01 01:23:29 +00:00
exec_subr.c Handle misalignment in vmcmd_map_readvn and vmcmd_map_zero correctly. 1999-07-07 20:23:45 +00:00
genassym.awk Allow pattern matching for symbol string to handle GCC's output for mips, 1998-11-25 06:10:19 +00:00
genassym.sh
init_main.c Create new kernel thread to issue statfs(2) system call to check free 2000-03-10 01:13:18 +00:00
init_sysent.c Regen 2000-01-31 15:13:24 +00:00
kern_acct.c Create new kernel thread to issue statfs(2) system call to check free 2000-03-10 01:13:18 +00:00
kern_allocsys.c Revert order of formula to calculate the number of buffer pages if the 1999-12-05 17:12:43 +00:00
kern_clock.c Move callout initialization to a single location; no need to duplicate 2000-01-19 20:05:30 +00:00
kern_descrip.c In cwdinit(), if there isn't a cdir vnode yet, don't VREF() it. 2000-01-24 17:57:34 +00:00
kern_exec.c Add an exec hook mechanism, where kernel subsystem can register to 2000-01-25 01:15:14 +00:00
kern_exit.c Remplace kern.shortcorename sysctl with a more flexible sheme, 1999-09-28 14:47:00 +00:00
kern_fork.c Add a read/write lock to the proclists and PID hash table. Use the 1999-07-22 21:08:30 +00:00
kern_kthread.c Make the kthread API a bit more friendly to loadable kernel modules. 1999-07-06 21:44:09 +00:00
kern_ktrace.c don't log an error for ktrace if it's EPIPE - an error that should be 1999-07-25 13:59:08 +00:00
kern_lkm.c LMREADY: kill the DEBUG message "LKM: try ready" 1999-09-03 17:07:52 +00:00
kern_lock.c Three MULTIPROCESSOR + LOCKDEBUG fixes: 2000-02-09 16:46:09 +00:00
kern_malloc.c Add some very simple code to auto-size the kmem_map. We take the 2000-02-11 19:22:52 +00:00
kern_ntptime.c
kern_physio.c One small piece from UBC: create a pool for I/O buffers. One small piece 2000-02-14 20:12:02 +00:00
kern_proc.c After some discussion with Mycroft, change splstatclock() to splclock(). 2000-01-22 16:53:50 +00:00
kern_prot.c Remplace kern.shortcorename sysctl with a more flexible sheme, 1999-09-28 14:47:00 +00:00
kern_resource.c Remplace kern.shortcorename sysctl with a more flexible sheme, 1999-09-28 14:47:00 +00:00
kern_sig.c remove kern_logsigexit being "on" for DIAGNOSTIC 2000-02-08 04:13:51 +00:00
kern_subr.c Remove unnecessary asterisk in comment (probably it was comment leader of 2000-03-01 03:51:29 +00:00
kern_synch.c Add Kirk McKusick's soft updates code to the trunk. Not enabled by 1999-11-15 18:49:07 +00:00
kern_sysctl.c add hw.alignbytes sysctl mib. this gives you the value of ALIGNBYTES 2000-02-27 06:13:35 +00:00
kern_time.c correct ratecheck() signedness. without this fix, ratecheck() will never 2000-02-16 12:36:19 +00:00
kern_xxx.c
kgdb_stub.c Fix a few comment tyops, kill an inaccurate comment, and 1998-08-30 20:30:57 +00:00
makesyscalls.sh Clean up some whitespace issues in the generated syscallargs.h file. 1999-08-20 19:07:31 +00:00
subr_autoconf.c #define __HAVE_DEVICE_REGISTER on ports that have it, and check for 2000-02-01 04:01:19 +00:00
subr_disk.c Fix a bug in disksort_*() which caused non-optimal ordering when multiple 2000-02-07 20:16:47 +00:00
subr_extent.c Detect if kmem is up, and if not, ignore EX_MALLOCOK. 1999-10-11 22:57:17 +00:00
subr_log.c Add some braces to make egcs happy (ambiguous else warning). 1998-08-18 06:27:01 +00:00
subr_pool.c Use ratecheck(). 2000-02-14 19:28:19 +00:00
subr_prf.c Remove unused global `consintr'. Rob Black, kern/3841. 2000-01-26 07:50:33 +00:00
subr_prof.c
subr_rmap.c Back out previous. 1998-08-18 18:16:30 +00:00
subr_xxx.c
sys_generic.c Add "use counting" to file entries. When closing a file, and it's reference 1999-05-05 20:01:01 +00:00
sys_process.c Disallow tracing of processes unless tracer's root directory is at or 1999-03-25 04:45:56 +00:00
sys_socket.c Add support for fcntl(2) to generate VOP_FCNTL calls. Any fcntl 1999-08-03 20:19:16 +00:00
syscalls.c Regen 2000-01-31 15:13:24 +00:00
syscalls.conf Add COMPAT_14. 1999-08-25 04:55:53 +00:00
syscalls.master __semctl13 -> ____semctl13 because this now is not called directly. 2000-01-31 15:12:30 +00:00
sysv_ipc.c Make copyrights consistent; fix weird/trailing spaces add missing (c) etc. 1998-09-12 17:20:02 +00:00
sysv_msg.c Overhaul of the SVID IPC facilities, primarily to use the types specified 1999-08-25 05:05:48 +00:00
sysv_sem.c __semctl13 -> ____semctl13 because this now is not called directly. 2000-01-31 15:12:30 +00:00
sysv_shm.c First round of discarding the CL* macros. 1999-12-03 21:43:19 +00:00
tty.c Fix NULL pointer access. Patch supplied by Dave Huang in PR kern/8055. 1999-07-24 15:10:02 +00:00
tty_conf.c defopt COMPAT_43 1998-12-10 15:07:01 +00:00
tty_pty.c Substantial signal handling changes: 1998-09-11 12:50:05 +00:00
tty_subr.c g/c REAL_CLISTS. 1999-04-25 02:56:26 +00:00
tty_tb.c
tty_tty.c
uipc_domain.c Implement pffinddomain(), and use it as appropriate. 2000-02-06 02:54:15 +00:00
uipc_mbuf.c introduce m->m_pkthdr.aux to hold random data which needs to be passed 2000-03-01 12:49:27 +00:00
uipc_mbuf2.c introduce m->m_pkthdr.aux to hold random data which needs to be passed 2000-03-01 12:49:27 +00:00
uipc_proto.c add PR_LISTEN for UNIX domain socket, SOCK_STREAM case. 1999-07-01 07:59:57 +00:00
uipc_socket.c Make kernel SOMAXCONN patchable. Will add sysctl once we 2000-02-07 18:43:26 +00:00
uipc_socket2.c more fix to ancillary data alignment. we need padding after 2000-02-29 19:14:59 +00:00
uipc_syscalls.c Fix recent bug in sys_accept(): we must remove the file descriptor from the 1999-11-05 11:48:57 +00:00
uipc_usrreq.c Um, hi, let's initialize pointers before we use them. 1999-06-17 23:17:45 +00:00
vfs_bio.c One small piece from UBC: create a pool for I/O buffers. One small piece 2000-02-14 20:12:02 +00:00
vfs_cache.c Obey negative cache entries for intermediate directories during a create. 1999-09-10 23:24:23 +00:00
vfs_cluster.c First round of discarding the CL* macros. 1999-12-03 21:43:19 +00:00
vfs_getcwd.c Make getcwd_common() available to COMPAT_NETBSD32 code as well. 1999-12-30 16:01:34 +00:00
vfs_init.c Add Kirk McKusick's soft updates code to the trunk. Not enabled by 1999-11-15 18:49:07 +00:00
vfs_lockf.c
vfs_lookup.c Modify how lookup walks up mount points. As suggested by Konrad 1999-08-03 18:17:24 +00:00
vfs_subr.c Move vinvalbuf's check for dirty blocks into ffs_fsync, to ensure that 2000-03-11 05:00:18 +00:00
vfs_syscalls.c Allow my disk to actually spin down using `-o async' again. 2000-03-03 05:21:03 +00:00
vfs_vnops.c Fixes to the softdep code from Ethan Solomita <ethan@geocast.com>. 2000-02-14 22:00:21 +00:00
vnode_if.c Regen. 1999-12-07 23:58:27 +00:00
vnode_if.sh Update syntax to support WILLUNLOCK and WILLPUT syntax. Change calls which 1999-07-07 23:32:50 +00:00
vnode_if.src Remove duplicate vop_balloc definition accidentally added in rev 1.21. 1999-12-07 23:57:49 +00:00