NetBSD/sys/ufs/ffs
hannken 7a5be5a9ff - Add flag L_COWINPROGRESS to struct lwp to avoid recursion when
doing copy-on-write.

- Change VFS_SNAPSHOT() to return the snapshot vnode locked.

- Make the IO path for copy-on-write and snapshot-read more lightweight.
  Avoids deadlocks where vn_rdwr(...READ...) has a shared lock and needs
  to copy-on-write.
  Avoids deadlocks/panics where to clean pages the copy-on-write needs
  to allocate pages for its VOP_PUTPAGES().

L_COWINPROGRESS part approved by: Jason R. Thorpe <thorpej@netbsd.org>
2004-06-20 18:55:58 +00:00
..
ffs_alloc.c Don't use VTOI(vp)->i_flags to test for snapshot devices. Will not work 2004-05-26 20:33:10 +00:00
ffs_appleufs.c explicitly pad struct appleufslabel and use __attribute__((__packed__)) 2004-01-02 06:57:46 +00:00
ffs_balloc.c Add ffs internal snapshots. Written by Marshall Kirk McKusick for FreeBSD. 2004-05-25 14:54:55 +00:00
ffs_bswap.c Add ffs internal snapshots. Written by Marshall Kirk McKusick for FreeBSD. 2004-05-25 14:54:55 +00:00
ffs_extern.h Need to forward-declare "struct timespec" because the new ffs_snapshot() 2004-06-04 07:43:56 +00:00
ffs_inode.c Use one daddr_t XXXblks[NDADDR + NIADDR] instead of two. 2004-06-20 18:23:30 +00:00
ffs_snapshot.c - Add flag L_COWINPROGRESS to struct lwp to avoid recursion when 2004-06-20 18:55:58 +00:00
ffs_snapshot.stub.c Add ffs internal snapshots. Written by Marshall Kirk McKusick for FreeBSD. 2004-05-25 14:54:55 +00:00
ffs_softdep.c Add ffs internal snapshots. Written by Marshall Kirk McKusick for FreeBSD. 2004-05-25 14:54:55 +00:00
ffs_softdep.stub.c Split out softdep_flushworklist() from softdep_flushfiles() so that 2004-01-10 16:23:36 +00:00
ffs_subr.c Replace the traditional buffer memory management -- based on fixed per buffer 2003-12-30 12:33:13 +00:00
ffs_tables.c Overhaul how `build.sh tools' are used: 2003-10-27 00:12:41 +00:00
ffs_vfsops.c Fixup last commit. fs->fs_active must be initialized. 2004-05-27 17:04:52 +00:00
ffs_vnops.c Kernel portion of the fsync_range(2) system call. Written by Bill 2003-11-15 01:19:38 +00:00
fs.h Add ffs internal snapshots. Written by Marshall Kirk McKusick for FreeBSD. 2004-05-25 14:54:55 +00:00
Makefile
softdep.h Add the gating of system calls that cause modifications to the underlying 2003-10-15 11:28:59 +00:00