cvs commit: src/sys/vm vm_fault.c

2005-12-20 Thread Tor Egge
tegge 2005-12-20 12:27:59 UTC FreeBSD src repository Modified files: sys/vm vm_fault.c Log: Don't access fs->first_object after dropping reference to it. The result could be a missed or extra giant unlock. Reviewed by:alc Revision ChangesPath

cvs commit: src/sys/nfs4client nfs4_vfsops.c

2006-01-09 Thread Tor Egge
tegge 2006-01-09 18:57:35 UTC FreeBSD src repository Modified files: sys/nfs4client nfs4_vfsops.c Log: Obtain mount point lock before restarting sync loop if vget() failed. Reviewed by:truckman Revision ChangesPath 1.21 +1 -0 src/sys/nfs4cli

cvs commit: src/sys/ufs/ffs ffs_softdep.c

2006-01-09 Thread Tor Egge
tegge 2006-01-09 19:16:56 UTC FreeBSD src repository Modified files: sys/ufs/ffs ffs_softdep.c Log: Broaden scope of softdep_worklist_busy rwlock protection of softdep processing to avoid some dependencies being missed by softdep_flushworklist(). Reviewed by:

cvs commit: src/sys/ufs/ffs ffs_softdep.c

2006-01-09 Thread Tor Egge
tegge 2006-01-09 19:32:21 UTC FreeBSD src repository Modified files: sys/ufs/ffs ffs_softdep.c Log: If the lock passed to getdirtybuf() is the softdep lock then the background write completed wakeup could be missed. Close the race by grabbing the lock normally use

cvs commit: src/sys/gnu/fs/ext2fs ext2_vfsops.c src/sys/isofs/cd9660 cd9660_vnops.c src/sys/kern vfs_default.c vfs_mount.c vfs_subr.c src/sys/nfsclient nfs_vfsops.c src/sys/sys mount.h vnode.h src/sys

2006-01-09 Thread Tor Egge
tegge 2006-01-09 20:42:19 UTC FreeBSD src repository Modified files: sys/gnu/fs/ext2fsext2_vfsops.c sys/isofs/cd9660 cd9660_vnops.c sys/kern vfs_mount.c vfs_default.c vfs_subr.c sys/nfsclientnfs_vfsops.c sys/sys vnode.h mo

cvs commit: src/sys/nfs4client nfs4_vfsops.c

2006-01-13 Thread Tor Egge
tegge 2006-01-14 01:05:22 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/nfs4client nfs4_vfsops.c Log: MFC: Obtain mount point lock before restarting sync loop if vget() failed. Revision ChangesPath 1.20.2.1 +1 -0 src/sys/nfs4cl

cvs commit: src/sys/ufs/ffs ffs_softdep.c

2006-01-13 Thread Tor Egge
tegge 2006-01-14 01:07:14 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/ufs/ffs ffs_softdep.c Log: MFC: Broaden scope of softdep_worklist_busy rwlock protection. Revision ChangesPath 1.181.2.5 +19 -1 src/sys/ufs/ffs/ffs_soft

cvs commit: src/sys/ufs/ffs ffs_softdep.c

2006-01-13 Thread Tor Egge
tegge 2006-01-14 01:09:10 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/ufs/ffs ffs_softdep.c Log: MFC: Close race where wakeup after background write could be lost. Revision ChangesPath 1.181.2.6 +13 -0 src/sys/ufs/ffs/ffs_

cvs commit: src/sys/gnu/fs/ext2fs ext2_vfsops.c src/sys/isofs/cd9660 cd9660_vnops.c src/sys/kern vfs_default.c vfs_mount.c vfs_subr.c src/sys/nfs4client nfs4_vfsops.c src/sys/nfsclient nfs_vfsops.c sr

2006-01-13 Thread Tor Egge
tegge 2006-01-14 01:18:03 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/gnu/fs/ext2fsext2_vfsops.c sys/isofs/cd9660 cd9660_vnops.c sys/kern vfs_default.c vfs_mount.c vfs_subr.c sys/nfs4client nfs4_vfsops.c sys/

cvs commit: src/sys/kern vfs_bio.c

2006-01-16 Thread Tor Egge
tegge 2006-01-16 22:09:48 UTC FreeBSD src repository Modified files: sys/kern vfs_bio.c Log: Set flag in needsbuffer while still holding bqlock to avoid lost wakeup. Revision ChangesPath 1.501 +4 -2 src/sys/kern/vfs_bio.c ___

cvs commit: src/sys/kern vfs_bio.c

2006-01-21 Thread Tor Egge
tegge 2006-01-21 20:41:42 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/kern vfs_bio.c Log: MFC: Set flag in needsbuffer while still holding bqlock to avoid lost wakeup. Revision ChangesPath 1.491.2.5 +4 -2 src/sys/kern/

cvs commit: ports/devel/linuxthreads/files condwait-patch

2006-01-23 Thread Tor Egge
tegge 2006-01-24 00:56:28 UTC FreeBSD ports repository Modified files: devel/linuxthreads/files condwait-patch Log: Fix timeout/cond signal race causing extra restart signal to be generated but not consumed. Revision ChangesPath 1.2 +109 -46 ports/devel/li

cvs commit: ports/devel/linuxthreads Makefile ports/devel/linuxthreads/files patch-spinlock.c

2006-01-23 Thread Tor Egge
tegge 2006-01-24 01:05:01 UTC FreeBSD ports repository Modified files: devel/linuxthreads Makefile Added files: devel/linuxthreads/files patch-spinlock.c Log: Backport 2002-04-24 fix from newer linuxthreads versions to avoid hangs or busy wait loop due to race betwee

cvs commit: ports/devel/linuxthreads/files condwait-patch

2006-01-24 Thread Tor Egge
tegge 2006-01-24 15:19:48 UTC FreeBSD ports repository Modified files: devel/linuxthreads/files condwait-patch Log: Avoid using variable after end of semantic life time. Revision ChangesPath 1.3 +2 -2 ports/devel/linuxthreads/files/condwait-patch

cvs commit: src/sys/kern vfs_bio.c

2006-02-02 Thread Tor Egge
tegge 2006-02-02 21:37:39 UTC FreeBSD src repository Modified files: sys/kern vfs_bio.c Log: For low memory situations, non-VMIO buffers didnt't release pages back to the system when brelse() was called with B_RELBUF set on the buffer. This could be a problem w

cvs commit: src/sys/vm vm_fault.c

2006-02-02 Thread Tor Egge
tegge 2006-02-02 21:55:38 UTC FreeBSD src repository Modified files: sys/vm vm_fault.c Log: Adjust old comment (present in rev 1.1) to match changes in rev 1.82. PR: kern/92509 Submitted by: "Bryan Venteicher" <[EMAIL PROTECTED]> Revision Change

cvs commit: src/sys/i386/i386 pmap.c

2006-02-16 Thread Tor Egge
tegge 2006-02-16 22:10:57 UTC FreeBSD src repository Modified files: sys/i386/i386pmap.c Log: Rounding addr upwards to next 4M or 2M boundary in pmap_growkernel() could cause addr to become 0, resulting in an early return without populating the last PDE. Review

cvs commit: src/sys/vm vm_pageout.c

2006-02-17 Thread Tor Egge
tegge 2006-02-17 18:22:19 UTC FreeBSD src repository Modified files: sys/vm vm_pageout.c Log: Check return value from nonblocking call to vn_start_write(). Revision ChangesPath 1.274 +8 -2 src/sys/vm/vm_pageout.c __

cvs commit: src/sys/vm vm_pageout.c

2006-02-17 Thread Tor Egge
tegge 2006-02-17 21:02:39 UTC FreeBSD src repository Modified files: sys/vm vm_pageout.c Log: Expand scope of marker to reduce the number of page queue scan restarts. Revision ChangesPath 1.275 +19 -12src/sys/vm/vm_pageout.c ___

cvs commit: src/sys/kern vfs_subr.c

2006-03-02 Thread Tor Egge
tegge 2006-03-02 21:31:15 UTC FreeBSD src repository Modified files: sys/kern vfs_subr.c Log: Don't try to show marker nodes. Revision ChangesPath 1.662 +1 -1 src/sys/kern/vfs_subr.c ___ cvs-all@freebs

cvs commit: src/sys/vm vm_contig.c

2006-03-02 Thread Tor Egge
tegge 2006-03-02 21:38:38 UTC FreeBSD src repository Modified files: sys/vm vm_contig.c Log: Hold extra reference to vm object while cleaning pages. Revision ChangesPath 1.49 +2 -0 src/sys/vm/vm_contig.c __

cvs commit: src/sys/kern vfs_subr.c src/sys/ufs/ffs ffs_rawread.c src/sys/vm vm_contig.c vm_object.c vnode_pager.c src/sys/security/mac mac_process.c

2006-03-02 Thread Tor Egge
tegge 2006-03-02 22:13:28 UTC FreeBSD src repository Modified files: sys/kern vfs_subr.c sys/ufs/ffs ffs_rawread.c sys/vm vm_contig.c vm_object.c vnode_pager.c sys/security/mac mac_process.c Log: Eliminate a deadlock when cr

cvs commit: src/sys/vm vm_contig.c

2006-03-07 Thread Tor Egge
tegge 2006-03-08 00:51:01 UTC FreeBSD src repository Modified files: sys/vm vm_contig.c Log: Ignore dirty pages owned by "dead" objects. Revision ChangesPath 1.51 +4 -0 src/sys/vm/vm_contig.c ___ cv

cvs commit: src/sys/ufs/ufs ufs_lookup.c

2006-03-07 Thread Tor Egge
tegge 2006-03-08 02:14:39 UTC FreeBSD src repository Modified files: sys/ufs/ufs ufs_lookup.c Log: Don't set IN_CHANGE and IN_UPDATE on inodes for potentially suspended file systems. This could cause deadlocks when creating snapshots. Reviewed by:jeff

cvs commit: src/sys/kern vfs_mount.c vfs_subr.c vfs_vnops.c src/sys/sys mount.h vnode.h src/sys/ufs/ffs ffs_extern.h ffs_softdep.c ffs_vfsops.c src/sys/ufs/ufs ufs_inode.c ufs_quota.c ufsmount.h

2006-03-08 Thread Tor Egge
tegge 2006-03-08 23:43:39 UTC FreeBSD src repository Modified files: sys/kern vfs_mount.c vfs_vnops.c vfs_subr.c sys/sys vnode.h mount.h sys/ufs/ffs ffs_extern.h ffs_softdep.c ffs_vfsops.c sys/ufs/ufs ufs_inode.c ufs_quota.c

cvs commit: src/sys/vm vm_fault.c

2006-03-08 Thread Tor Egge
tegge 2006-03-08 23:53:39 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/vm vm_fault.c Log: MFC: Don't access fs->first_object after dropping reference to it. The result could be a missed or extra giant unlock. Approved by:

cvs commit: src/sys/kern vfs_bio.c

2006-03-08 Thread Tor Egge
tegge 2006-03-08 23:57:07 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/kern vfs_bio.c Log: MFC: For low memory situations, non-VMIO buffers didnt't release pages back to the system when brelse() was called with B_RELBUF set on the

cvs commit: src/sys/i386/i386 pmap.c

2006-03-08 Thread Tor Egge
tegge 2006-03-08 23:59:41 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/i386/i386pmap.c Log: MFC: Rounding addr upwards to next 4M or 2M boundary in pmap_growkernel() could cause addr to become 0, resulting in an early return without

cvs commit: src/sys/vm vm_pageout.c

2006-03-08 Thread Tor Egge
tegge 2006-03-09 00:01:29 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/vm vm_pageout.c Log: MFC: Check return value from nonblocking call to vn_start_write(). Approved by:re (mux) Revision ChangesPath 1.268.2.2 +8

cvs commit: src/sys/vm vm_pageout.c

2006-03-08 Thread Tor Egge
tegge 2006-03-09 00:02:51 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/vm vm_pageout.c Log: MFC: Expand scope of marker to reduce the number of page queue scan restarts. Approved by:re (mux) Revision ChangesPath 1.

cvs commit: src/sys/kern vfs_subr.c

2006-03-08 Thread Tor Egge
tegge 2006-03-09 00:04:27 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/kern vfs_subr.c Log: MFC: Don't try to show marker nodes. Approved by:re (mux) RevisionChangesPath 1.635.2.14 +1 -1 src/sys/kern/vfs_subr

cvs commit: src/sys/vm vm_contig.c

2006-03-08 Thread Tor Egge
tegge 2006-03-09 00:07:35 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/vm vm_contig.c Log: MFC: Hold extra reference to vm object while cleaning pages. Ignore dirty pages owned by "dead" objects. Approved by:re (mux)

cvs commit: src/sys/kern vfs_subr.c src/sys/security/mac mac_process.c src/sys/ufs/ffs ffs_rawread.c src/sys/vm vm_contig.c vm_object.c vnode_pager.c

2006-03-08 Thread Tor Egge
tegge 2006-03-09 00:18:45 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/kern vfs_subr.c sys/security/mac mac_process.c sys/ufs/ffs ffs_rawread.c sys/vm vm_contig.c vm_object.c vnode_pager.c Log: MF

cvs commit: src/sys/ufs/ufs ufs_lookup.c

2006-03-08 Thread Tor Egge
tegge 2006-03-09 00:21:23 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/ufs/ufs ufs_lookup.c Log: MFC: Don't set IN_CHANGE and IN_UPDATE on inodes for potentially suspended file systems. This could cause deadlocks when creating snapsh

cvs commit: src/sys/ufs/ffs ffs_vfsops.c

2006-03-09 Thread Tor Egge
tegge 2006-03-10 02:31:12 UTC FreeBSD src repository Modified files: sys/ufs/ffs ffs_vfsops.c Log: Remove unneeded (and broken) usage of MNT_REF()/MNT_REL(). Revision ChangesPath 1.302 +0 -2 src/sys/ufs/ffs/ffs_vfsops.c

cvs commit: src/sys/ufs/ufs ufs_inode.c src/sys/ufs/ffs ffs_snapshot.c ffs_vfsops.c src/sys/kern vfs_vnops.c src/sys/sys mount.h

2006-03-10 Thread Tor Egge
tegge 2006-03-11 01:08:37 UTC FreeBSD src repository Modified files: sys/ufs/ufs ufs_inode.c sys/ufs/ffs ffs_snapshot.c ffs_vfsops.c sys/kern vfs_vnops.c sys/sys mount.h Log: Block secondary writes while expunging active

cvs commit: src/sys/kern kern_mac.c

2006-03-19 Thread Tor Egge
tegge 2006-03-19 20:43:08 UTC FreeBSD src repository Modified files: sys/kern kern_mac.c Log: Don't call vn_finished_write() if vn_start_write() failed. Revision ChangesPath 1.120 +6 -4 src/sys/kern/kern_mac.c ___

cvs commit: src/sys/fs/fdescfs fdesc_vnops.c

2006-03-19 Thread Tor Egge
tegge 2006-03-19 20:45:06 UTC FreeBSD src repository Modified files: sys/fs/fdescfs fdesc_vnops.c Log: Call vn_start_write() before locking vnode. Revision ChangesPath 1.102 +2 -2 src/sys/fs/fdescfs/fdesc_vnops.c __

cvs commit: src/sys/ufs/ffs ffs_snapshot.c

2006-03-19 Thread Tor Egge
tegge 2006-03-19 21:05:10 UTC FreeBSD src repository Modified files: sys/ufs/ffs ffs_snapshot.c Log: Ensure that vnode for directory isn't reclaimed before ffs_snapshot() has completed expunging unlinked files. It could come back at another memory location causing

cvs commit: src/sys/ufs/ffs ffs_vfsops.c

2006-03-19 Thread Tor Egge
tegge 2006-03-19 21:09:20 UTC FreeBSD src repository Modified files: sys/ufs/ffs ffs_vfsops.c Log: Reduce probability of unmount failing after having unmounted snapshots. Revision ChangesPath 1.304 +1 -0 src/sys/ufs/ffs/ffs_vfsops.c ___

cvs commit: src/sys/ufs/ufs ufs_vnops.c

2006-03-19 Thread Tor Egge
tegge 2006-03-19 21:29:20 UTC FreeBSD src repository Modified files: sys/ufs/ufs ufs_vnops.c Log: Add kludge to avoid deadlock when unlinking snapshot. Revision ChangesPath 1.275 +16 -0 src/sys/ufs/ufs/ufs_vnops.c ___

cvs commit: src/sys/kern vfs_cluster.c src/sys/ufs/ffs ffs_vfsops.c

2006-03-19 Thread Tor Egge
tegge 2006-03-19 21:43:36 UTC FreeBSD src repository Modified files: sys/kern vfs_cluster.c sys/ufs/ffs ffs_vfsops.c Log: Let snapshots make a copy of old contents for all buffers taking part in a cluster instead of just the first buffer. Delay

cvs commit: src/sys/ufs/ffs ffs_vfsops.c

2006-03-19 Thread Tor Egge
tegge 2006-03-19 22:16:44 UTC FreeBSD src repository Modified files: sys/ufs/ffs ffs_vfsops.c Log: Allow compilation when not using softupdates. Revision ChangesPath 1.306 +0 -2 src/sys/ufs/ffs/ffs_vfsops.c _

cvs commit: src/sys/kern vfs_cluster.c

2006-03-20 Thread Tor Egge
tegge 2006-03-21 01:04:25 UTC FreeBSD src repository Modified files: sys/kern vfs_cluster.c Log: Remove unused leaked debug function prototype. Revision ChangesPath 1.172 +0 -1 src/sys/kern/vfs_cluster.c _

cvs commit: src/sys/kern kern_mac.c

2006-03-22 Thread Tor Egge
tegge 2006-03-22 17:34:39 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/kern kern_mac.c Log: MFC: Don't call vn_finished_write() if vn_start_write() failed. Approved by:re (kensmith) Revision ChangesPath 1.117.2.2 +6

cvs commit: src/sys/fs/fdescfs fdesc_vnops.c

2006-03-22 Thread Tor Egge
tegge 2006-03-22 17:39:28 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/fs/fdescfs fdesc_vnops.c Log: MFC: Call vn_start_write() before locking vnode. Approved by:re (kensmith) Revision ChangesPath 1.99.2.2 +2 -2 src/s

cvs commit: src/sys/ufs/ffs ffs_snapshot.c

2006-03-22 Thread Tor Egge
tegge 2006-03-22 17:42:31 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/ufs/ffs ffs_snapshot.c Log: MFC: Ensure that vnode for directory isn't reclaimed before ffs_snapshot() has completed expunging unlinked files. It could come back

cvs commit: src/sys/ufs/ffs ffs_vfsops.c

2006-03-22 Thread Tor Egge
tegge 2006-03-22 17:44:42 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/ufs/ffs ffs_vfsops.c Log: MFC: Reduce probability of unmount failing after having unmounted snapshots. Approved by:re (kensmith) Revision ChangesPath

cvs commit: src/sys/ufs/ufs ufs_vnops.c

2006-03-22 Thread Tor Egge
tegge 2006-03-22 17:46:50 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/ufs/ufs ufs_vnops.c Log: MFC: Add kludge to avoid deadlock when unlinking snapshot. Approved by:re (kensmith) Revision ChangesPath 1.271.2.4 +16 -0

cvs commit: src/sys/kern vfs_cluster.c src/sys/ufs/ffs ffs_vfsops.c

2006-03-22 Thread Tor Egge
tegge 2006-03-22 17:54:51 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/kern vfs_cluster.c sys/ufs/ffs ffs_vfsops.c Log: MFC: Let snapshots make a copy of old contents for all buffers taking part in a cluster instead o

cvs commit: src/sys/ufs/ffs ffs_softdep.c src/sys/ufs/ufs ufsmount.h

2006-04-03 Thread Tor Egge
tegge 2006-04-03 22:23:23 UTC FreeBSD src repository Modified files: sys/ufs/ffs ffs_softdep.c sys/ufs/ufs ufsmount.h Log: Eliminate softdep_flush() livelock by accounting for number of worklist items marked as being in progress. Revision Changes

cvs commit: src/sys/ufs/ffs ffs_softdep.c src/sys/ufs/ufs ufsmount.h

2006-04-04 Thread Tor Egge
tegge 2006-04-04 18:14:31 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/ufs/ffs ffs_softdep.c sys/ufs/ufs ufsmount.h Log: MFC: Eliminate softdep_flush() livelock by accounting for number of worklist items marked as being

cvs commit: src/sys/ufs/ffs ffs_snapshot.c ffs_vnops.c

2006-05-02 Thread Tor Egge
tegge 2006-05-02 23:52:44 UTC FreeBSD src repository Modified files: sys/ufs/ffs ffs_snapshot.c ffs_vnops.c Log: Close a race when VOP_LOCK() on a snapshot file is attempted at the same time as it is changed back into a normal file. The locker would get the shared

cvs commit: src/sys/ufs/ffs ffs_snapshot.c

2006-05-02 Thread Tor Egge
tegge 2006-05-03 00:04:39 UTC FreeBSD src repository Modified files: sys/ufs/ffs ffs_snapshot.c Log: A side effect of calling runningbufwakeup() is that bp->b_runningbufspace is cleared. Save old value and restore bp->b_runningbufspace before returning from ffs_co

cvs commit: src/sys/ufs/ffs ffs_vfsops.c

2006-05-02 Thread Tor Egge
tegge 2006-05-03 00:10:29 UTC FreeBSD src repository Modified files: sys/ufs/ffs ffs_vfsops.c Log: Temporarily undo clusters contribution to global runningbufspace while handling copy on write for the buffers taking part in the cluster. Revision ChangesPath

cvs commit: src/sys/ufs/ffs ffs_snapshot.c

2006-05-02 Thread Tor Egge
tegge 2006-05-03 00:29:23 UTC FreeBSD src repository Modified files: sys/ufs/ffs ffs_snapshot.c Log: Detect the snapshot file being prematurely unlinked. Revision ChangesPath 1.120 +10 -0 src/sys/ufs/ffs/ffs_snapshot.c __

cvs commit: src/sys/i386/i386 pmap.c

2006-05-02 Thread Tor Egge
tegge 2006-05-03 00:51:02 UTC FreeBSD src repository Modified files:(Branch: RELENG_4) sys/i386/i386pmap.c Log: MFC part of revision 1.436 missed in MFC to revision 1.250.2.24. If page table allocation failed then the allocation should be retried. Submit

cvs commit: src/sys/sys mount.h

2006-05-05 Thread Tor Egge
tegge 2006-05-05 19:32:35 UTC FreeBSD src repository Modified files: sys/sys mount.h Log: Avoid dereferencing NULL pointer. Revision ChangesPath 1.210 +3 -1 src/sys/sys/mount.h ___ cvs-all@freebsd.org

cvs commit: src/sys/ufs/ffs ffs_vnops.c

2006-05-05 Thread Tor Egge
tegge 2006-05-05 19:58:36 UTC FreeBSD src repository Modified files: sys/ufs/ffs ffs_vnops.c Log: Avoid locking overhead when snapshots are disabled. Revision ChangesPath 1.160 +4 -0 src/sys/ufs/ffs/ffs_vnops.c _

cvs commit: src/sys/ufs/ffs ffs_snapshot.c src/sys/ufs/ufs ufs_quota.c

2006-05-05 Thread Tor Egge
tegge 2006-05-05 20:10:04 UTC FreeBSD src repository Modified files: sys/ufs/ffs ffs_snapshot.c sys/ufs/ufs ufs_quota.c Log: Turn off disk quotas for snapshot files. Revision ChangesPath 1.122 +21 -0 src/sys/ufs/ffs/ffs_snapshot.c 1.

cvs commit: src/sys/kern kern_exec.c

2006-05-05 Thread Tor Egge
tegge 2006-05-05 20:25:06 UTC FreeBSD src repository Modified files: sys/kern kern_exec.c Log: Temporarily unlock vnode for new image being executed to avoid lock order reversals that can lead to deadlocks. Normally vn_close(), namei() or vrele() should not be

cvs commit: src/sys/ufs/ffs ffs_rawread.c

2006-05-05 Thread Tor Egge
tegge 2006-05-05 21:27:31 UTC FreeBSD src repository Modified files: sys/ufs/ffs ffs_rawread.c Log: Return error if vnode was reclaimed while it was temporarily unlocked. Add missing calls to vn_finished_write() in error handling. Revision ChangesPath 1.2

cvs commit: src/sys/ufs/ffs ffs_softdep.c

2006-05-06 Thread Tor Egge
tegge 2006-05-06 20:51:32 UTC FreeBSD src repository Modified files: sys/ufs/ffs ffs_softdep.c Log: ffs_syncvnode() might skip some of the blocks due to them being locked, assuming them to be inflight write buffers. This is not always the case. bufdaemon might hol

cvs commit: src/sys/kern kern_sig.c

2006-05-07 Thread Tor Egge
tegge 2006-05-07 22:50:23 UTC FreeBSD src repository Modified files: sys/kern kern_sig.c Log: Call vn_finished_write() before calling the coredump handler which will indirectly call vn_start_write() as necessary for each write. Revision ChangesPath 1.3

cvs commit: src/sys/ufs/ufs ufs_inode.c

2006-05-09 Thread Tor Egge
tegge 2006-05-09 22:33:43 UTC FreeBSD src repository Modified files: sys/ufs/ufs ufs_inode.c Log: Bring the call to softdep_releasefile() within the region protected by vn_start_secondary_write() since it might cause file system write activity (e.g. ffs_snapremove(

cvs commit: src/sys/ufs/ffs ffs_snapshot.c

2006-05-13 Thread Tor Egge
tegge 2006-05-13 20:41:38 UTC FreeBSD src repository Modified files: sys/ufs/ffs ffs_snapshot.c Log: Expunge traces of unlinked snapshot files when making a new snapshot. Revision ChangesPath 1.123 +9 -2 src/sys/ufs/ffs/ffs_snapshot.c _

cvs commit: src/sys/conf options src/sys/ufs/ffs ffs_snapshot.c

2006-05-13 Thread Tor Egge
tegge 2006-05-13 23:40:44 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/conf options sys/ufs/ffs ffs_snapshot.c Log: MFC: Add NO_FFS_SNAPSHOT kernel option. Revision ChangesPath 1.510.2.9 +5 -0 src/sys/conf

cvs commit: src/sys/ufs/ffs ffs_snapshot.c ffs_vnops.c

2006-05-13 Thread Tor Egge
tegge 2006-05-13 23:49:45 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/ufs/ffs ffs_snapshot.c ffs_vnops.c Log: MFC: Close a race when VOP_LOCK() on a snapshot file is attempted at the same time as it is changed back into a normal file

cvs commit: src/sys/ufs/ffs ffs_snapshot.c

2006-05-13 Thread Tor Egge
tegge 2006-05-13 23:52:59 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/ufs/ffs ffs_snapshot.c Log: MFC: A side effect of calling runningbufwakeup() is that bp->b_runningbufspace is cleared. Save old value and restore bp->b_run

cvs commit: src/sys/ufs/ffs ffs_vfsops.c

2006-05-13 Thread Tor Egge
tegge 2006-05-13 23:58:41 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/ufs/ffs ffs_vfsops.c Log: MFC: Temporarily undo clusters contribution to global runningbufspace while handling copy on write for the buffers taking part in the

cvs commit: src/sys/ufs/ffs ffs_snapshot.c

2006-05-13 Thread Tor Egge
tegge 2006-05-14 00:02:48 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/ufs/ffs ffs_snapshot.c Log: MFC: Detect the snapshot file being prematurely unlinked. Revision ChangesPath 1.103.2.9 +10 -0 src/sys/ufs/ffs/ffs_snapshot

cvs commit: src/sys/sys mount.h

2006-05-13 Thread Tor Egge
tegge 2006-05-14 00:10:49 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/sys mount.h Log: MFC: Avoid dereferencing NULL pointer. Revision ChangesPath 1.197.2.4 +3 -1 src/sys/sys/mount.h __

cvs commit: src/sys/ufs/ffs ffs_vnops.c

2006-05-13 Thread Tor Egge
tegge 2006-05-14 00:18:18 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/ufs/ffs ffs_vnops.c Log: MFC: Avoid locking overhead when snapshots are disabled. Revision ChangesPath 1.157.2.3 +4 -0 src/sys/ufs/ffs/ffs_vnops.c

cvs commit: src/sys/ufs/ffs ffs_snapshot.c src/sys/ufs/ufs ufs_quota.c

2006-05-13 Thread Tor Egge
tegge 2006-05-14 00:23:27 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/ufs/ffs ffs_snapshot.c sys/ufs/ufs ufs_quota.c Log: MFC: Turn off disk quotas for snapshot files. RevisionChangesPath 1.103.2.10 +21 -0

cvs commit: src/sys/kern kern_exec.c

2006-05-13 Thread Tor Egge
tegge 2006-05-14 00:46:13 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/kern kern_exec.c Log: MFC: Temporarily unlock vnode for new image being executed to avoid lock order reversals that can lead to deadlocks. Normally vn_close(),

cvs commit: src/sys/ufs/ffs ffs_rawread.c

2006-05-13 Thread Tor Egge
tegge 2006-05-14 00:49:35 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/ufs/ffs ffs_rawread.c Log: MFC: Return error if vnode was reclaimed while it was temporarily unlocked. Add missing calls to vn_finished_write() in error handling.

cvs commit: src/sys/ufs/ffs ffs_softdep.c

2006-05-13 Thread Tor Egge
tegge 2006-05-14 00:55:21 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/ufs/ffs ffs_softdep.c Log: MFC: Try harder to flush first block of new subdirectory to get rid of MKDIR_BODY dependency. Revision ChangesPath 1.181.2.

cvs commit: src/sys/kern kern_sig.c

2006-05-13 Thread Tor Egge
tegge 2006-05-14 01:07:48 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/kern kern_sig.c Log: MFC: Call vn_finished_write() before calling the coredump handler which will indirectly call vn_start_write() as necessary for each write.

cvs commit: src/sys/ufs/ufs ufs_inode.c

2006-05-13 Thread Tor Egge
tegge 2006-05-14 01:12:56 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/ufs/ufs ufs_inode.c Log: MFC: Bring the call to softdep_releasefile() within the region protected by vn_start_secondary_write() since it might cause file system wr

cvs commit: src/sys/ufs/ffs ffs_snapshot.c

2006-05-15 Thread Tor Egge
tegge 2006-05-15 22:52:22 UTC FreeBSD src repository Modified files: sys/ufs/ffs ffs_snapshot.c Log: Errors detected while file system is suspended should not trigger an assertion failure. Revision ChangesPath 1.124 +4 -6 src/sys/ufs/ffs/ffs_snap

cvs commit: src/sys/ufs/ffs ffs_snapshot.c

2006-05-15 Thread Tor Egge
tegge 2006-05-15 22:59:24 UTC FreeBSD src repository Modified files: sys/ufs/ffs ffs_snapshot.c Log: Don't leak a locked buffer if last block on file system cannot be read. Revision ChangesPath 1.125 +3 -2 src/sys/ufs/ffs/ffs_snapshot.c ___

cvs commit: src/sys/ufs/ffs ffs_snapshot.c

2006-05-15 Thread Tor Egge
tegge 2006-05-15 23:18:49 UTC FreeBSD src repository Modified files: sys/ufs/ffs ffs_snapshot.c Log: Copy last block on file system again after file system has been suspended. Obtained from: NetBSD Revision ChangesPath 1.126 +11 -0 src/sys/ufs

cvs commit: src/sys/ufs/ffs ffs_snapshot.c

2006-05-15 Thread Tor Egge
tegge 2006-05-16 00:14:20 UTC FreeBSD src repository Modified files: sys/ufs/ffs ffs_snapshot.c Log: Read block hints list from last snapshot on the active snapshot list. Revision ChangesPath 1.127 +4 -0 src/sys/ufs/ffs/ffs_snapshot.c _

cvs commit: src/sys/ufs/ffs ffs_snapshot.c

2006-05-24 Thread Tor Egge
tegge 2006-05-24 20:08:56 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/ufs/ffs ffs_snapshot.c Log: MFC: Expunge traces of unlinked snapshot files when making a new snapshot. RevisionChangesPath 1.103.2.11 +9 -2 src/sys/u

cvs commit: src/sys/ufs/ffs ffs_snapshot.c

2006-05-24 Thread Tor Egge
tegge 2006-05-24 20:11:32 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/ufs/ffs ffs_snapshot.c Log: MFC: Errors detected while file system is suspended should not trigger an assertion failure. RevisionChangesPath 1.103.2

cvs commit: src/sys/ufs/ffs ffs_snapshot.c

2006-05-24 Thread Tor Egge
tegge 2006-05-24 20:13:36 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/ufs/ffs ffs_snapshot.c Log: MFC: Don't leak a locked buffer if last block on file system cannot be read. RevisionChangesPath 1.103.2.13 +3 -2 src/sys

cvs commit: src/sys/ufs/ffs ffs_snapshot.c

2006-05-24 Thread Tor Egge
tegge 2006-05-24 20:16:47 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/ufs/ffs ffs_snapshot.c Log: MFC: Copy last block on file system again after file system has been suspended. Obtained from: NetBSD RevisionChanges

cvs commit: src/sys/ufs/ffs ffs_snapshot.c

2006-05-24 Thread Tor Egge
tegge 2006-05-24 20:20:16 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/ufs/ffs ffs_snapshot.c Log: MFC: Read block hints list from last snapshot on the active snapshot list. RevisionChangesPath 1.103.2.15 +4 -0 src/sys/u

cvs commit: ports/devel/linuxthreads Makefile

2006-05-28 Thread Tor Egge
tegge 2006-05-28 17:26:09 UTC FreeBSD ports repository Modified files: devel/linuxthreads Makefile Log: Use pre-su-install target. PR: 96147 Submitted by: Michael Neumann <[EMAIL PROTECTED]> Revision ChangesPath 1.45 +1 -1 ports/deve

cvs commit: ports/devel/linuxthreads/files patch-barrier

2006-05-28 Thread Tor Egge
tegge 2006-05-28 17:32:39 UTC FreeBSD ports repository Added files: devel/linuxthreads/files patch-barrier Log: Backport 2002-03-22 fix from newer linuxthreads versions defining MEMORY_BARRIER() as a asm op which clobbers memory to avoid unintended reordering by the compile

cvs commit: ports/devel/linuxthreads/files patch-intrpipe

2006-05-28 Thread Tor Egge
tegge 2006-05-28 17:38:59 UTC FreeBSD ports repository Added files: devel/linuxthreads/files patch-intrpipe Log: Backport 2001-09-11 fix from newer linuxthreads versions making the communication over the pthread manager pipe a little more robust by retrying after EINTR fail

cvs commit: ports/devel/linuxthreads/files getnetby_r.c getprotoby_r.c getservby_r.c

2006-05-28 Thread Tor Egge
tegge 2006-05-28 17:43:05 UTC FreeBSD ports repository Modified files: devel/linuxthreads/files getnetby_r.c getprotoby_r.c getservby_r.c Log: Stop providing reentrant functions already present in libc on newer FreeBSD versions. Revision Ch

cvs commit: ports/devel/linuxthreads Makefile

2006-05-28 Thread Tor Egge
tegge 2006-05-28 17:47:02 UTC FreeBSD ports repository Modified files: devel/linuxthreads Makefile Log: Bump port revision due to pthread manager pipe communication fix. Revision ChangesPath 1.46 +1 -1 ports/devel/linuxthreads/Makefile __

cvs commit: src/sys/kern kern_exit.c src/sys/vm vm_extern.h vm_glue.c vm_map.c vm_map.h vm_meter.c

2006-05-29 Thread Tor Egge
tegge 2006-05-29 21:28:56 UTC FreeBSD src repository Modified files: sys/kern kern_exit.c sys/vm vm_extern.h vm_glue.c vm_map.c vm_map.h vm_meter.c Log: Close race between vmspace_exitfree() and exit1() and races between

cvs commit: src/sys/kern kern_exit.c src/sys/vm vm_extern.h vm_glue.c vm_map.c vm_map.h vm_meter.c

2006-06-01 Thread Tor Egge
tegge 2006-06-02 00:26:27 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/kern kern_exit.c sys/vm vm_extern.h vm_glue.c vm_map.c vm_map.h vm_meter.c Log: MFC: Close race between vmspace_exitfree()

cvs commit: src/sys/kern vfs_default.c

2006-09-19 Thread Tor Egge
tegge 2006-09-20 00:27:02 UTC FreeBSD src repository Modified files: sys/kern vfs_default.c Log: Don't try to obtain a reference to a nonexisting (NULL) mount structure in default VOP_GETWRITEMOUNT(). Revision ChangesPath 1.134 +6 -4 src/sys/k

cvs commit: src/sys/kern vfs_syscalls.c

2006-09-19 Thread Tor Egge
tegge 2006-09-20 00:32:07 UTC FreeBSD src repository Modified files: sys/kern vfs_syscalls.c Log: Copy stat information from mount structure before it can change identity. Revision ChangesPath 1.422 +2 -2 src/sys/kern/vfs_syscalls.c

cvs commit: src/sys/fs/devfs devfs_vfsops.c src/sys/fs/hpfs hpfs_vfsops.c src/sys/fs/msdosfs msdosfs_vfsops.c src/sys/fs/ntfs ntfs_vfsops.c src/sys/fs/nullfs null_vfsops.c src/sys/fs/nwfs nwfs_vfsops.

2006-09-25 Thread Tor Egge
tegge 2006-09-26 04:12:49 UTC FreeBSD src repository Modified files: sys/fs/devfs devfs_vfsops.c sys/fs/hpfs hpfs_vfsops.c sys/fs/msdosfs msdosfs_vfsops.c sys/fs/ntfs ntfs_vfsops.c sys/fs/nullfsnull_vfsops.c sys/fs/nwf

cvs commit: src/sys/kern vfs_mount.c

2006-09-25 Thread Tor Egge
tegge 2006-09-26 04:15:04 UTC FreeBSD src repository Modified files: sys/kern vfs_mount.c Log: Don't restore mnt_kern_flag on failed MNT_UPDATE mount, it can race with dounmount(), causing loss of MNTK_UNMOUNT flag. Revision ChangesPath 1.235 +2 -5

cvs commit: src/sys/boot/pc98/boot2 inode.h src/sys/gnu/fs/ext2fs ext2_inode.c src/sys/kern vfs_cluster.c vfs_mount.c vfs_subr.c vfs_syscalls.c src/sys/nfsclient nfs_vnops.c src/sys/sys mount.h src/sy

2006-09-25 Thread Tor Egge
tegge 2006-09-26 04:15:59 UTC FreeBSD src repository Modified files: sys/boot/pc98/boot2 inode.h sys/gnu/fs/ext2fsext2_inode.c sys/kern vfs_cluster.c vfs_mount.c vfs_subr.c vfs_syscalls.c sys/nfsclientnfs_vnops.c

  1   2   >