Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src
Module Name: src
Committed By: hannken
Date: Fri May 16 09:22:01 UTC 2008
Modified Files:
src/libexec/lfs_cleanerd: coalesce.c lfs_cleanerd.c
src/sbin/fsck_lfs: bufcache.c bufcache.h dir.c inode.c lfs.c pass6.c
segwrite.c setup.c
src/sbin/newfs_lfs: make_lfs.c
src/share/man/man9: buffercache.9
src/sys/fs/adosfs: advfsops.c advnops.c
src/sys/fs/cd9660: cd9660_lookup.c cd9660_rrip.c cd9660_vfsops.c
cd9660_vnops.c
src/sys/fs/efs: efs_subr.c
src/sys/fs/filecorefs: filecore_bmap.c filecore_vfsops.c
filecore_vnops.c
src/sys/fs/hfs: hfs_subr.c
src/sys/fs/msdosfs: msdosfs_denode.c msdosfs_fat.c msdosfs_lookup.c
msdosfs_vfsops.c msdosfs_vnops.c
src/sys/fs/ntfs: ntfs_subr.c ntfs_vfsops.c
src/sys/fs/sysvbfs: bfs_sysvbfs.c
src/sys/kern: vfs_bio.c
src/sys/miscfs/specfs: spec_vnops.c
src/sys/sys: buf.h lwp.h param.h
src/sys/ufs/ext2fs: ext2fs_alloc.c ext2fs_balloc.c ext2fs_inode.c
ext2fs_readwrite.c ext2fs_subr.c ext2fs_vfsops.c
src/sys/ufs/ffs: ffs_alloc.c ffs_balloc.c ffs_inode.c ffs_snapshot.c
ffs_softdep.c ffs_vfsops.c
src/sys/ufs/lfs: lfs.h lfs_balloc.c lfs_rfw.c lfs_segment.c
lfs_syscalls.c lfs_vfsops.c
src/sys/ufs/ufs: ufs_dirhash.c ufs_extern.h ufs_lookup.c
ufs_readwrite.c
Log Message:
Make sure all cached buffers with valid, not yet written data have been
run through copy-on-write. Call fscow_run() with valid data where possible.
The LP_UFSCOW hack is no longer needed to protect ffs_copyonwrite() against
endless recursion.
- Add a flag B_MODIFY to bread(), breada() and breadn(). If set the caller
intends to modify the buffer returned.
- Always run copy-on-write on buffers returned from ffs_balloc().
- Add new function ffs_getblk() that gets a buffer, assigns a new blkno,
may clear the buffer and runs copy-on-write. Process possible errors
from getblk() or fscow_run(). Part of PR kern/38664.
Welcome to 4.99.63
Reviewed by: YAMAMOTO Takashi <yamt%netbsd.org@localhost>
To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 src/libexec/lfs_cleanerd/coalesce.c
cvs rdiff -r1.14 -r1.15 src/libexec/lfs_cleanerd/lfs_cleanerd.c
cvs rdiff -r1.12 -r1.13 src/sbin/fsck_lfs/bufcache.c
cvs rdiff -r1.10 -r1.11 src/sbin/fsck_lfs/bufcache.h
cvs rdiff -r1.23 -r1.24 src/sbin/fsck_lfs/dir.c
cvs rdiff -r1.38 -r1.39 src/sbin/fsck_lfs/inode.c
cvs rdiff -r1.28 -r1.29 src/sbin/fsck_lfs/lfs.c
cvs rdiff -r1.21 -r1.22 src/sbin/fsck_lfs/pass6.c
cvs rdiff -r1.18 -r1.19 src/sbin/fsck_lfs/segwrite.c
cvs rdiff -r1.35 -r1.36 src/sbin/fsck_lfs/setup.c
cvs rdiff -r1.12 -r1.13 src/sbin/newfs_lfs/make_lfs.c
cvs rdiff -r1.22 -r1.23 src/share/man/man9/buffercache.9
cvs rdiff -r1.51 -r1.52 src/sys/fs/adosfs/advfsops.c
cvs rdiff -r1.28 -r1.29 src/sys/fs/adosfs/advnops.c
cvs rdiff -r1.15 -r1.16 src/sys/fs/cd9660/cd9660_lookup.c \
src/sys/fs/cd9660/cd9660_rrip.c
cvs rdiff -r1.61 -r1.62 src/sys/fs/cd9660/cd9660_vfsops.c
cvs rdiff -r1.33 -r1.34 src/sys/fs/cd9660/cd9660_vnops.c
cvs rdiff -r1.6 -r1.7 src/sys/fs/efs/efs_subr.c
cvs rdiff -r1.7 -r1.8 src/sys/fs/filecorefs/filecore_bmap.c
cvs rdiff -r1.53 -r1.54 src/sys/fs/filecorefs/filecore_vfsops.c
cvs rdiff -r1.26 -r1.27 src/sys/fs/filecorefs/filecore_vnops.c
cvs rdiff -r1.8 -r1.9 src/sys/fs/hfs/hfs_subr.c
cvs rdiff -r1.32 -r1.33 src/sys/fs/msdosfs/msdosfs_denode.c
cvs rdiff -r1.15 -r1.16 src/sys/fs/msdosfs/msdosfs_fat.c \
src/sys/fs/msdosfs/msdosfs_lookup.c
cvs rdiff -r1.66 -r1.67 src/sys/fs/msdosfs/msdosfs_vfsops.c
cvs rdiff -r1.51 -r1.52 src/sys/fs/msdosfs/msdosfs_vnops.c
cvs rdiff -r1.36 -r1.37 src/sys/fs/ntfs/ntfs_subr.c
cvs rdiff -r1.70 -r1.71 src/sys/fs/ntfs/ntfs_vfsops.c
cvs rdiff -r1.9 -r1.10 src/sys/fs/sysvbfs/bfs_sysvbfs.c
cvs rdiff -r1.197 -r1.198 src/sys/kern/vfs_bio.c
cvs rdiff -r1.118 -r1.119 src/sys/miscfs/specfs/spec_vnops.c
cvs rdiff -r1.107 -r1.108 src/sys/sys/buf.h
cvs rdiff -r1.94 -r1.95 src/sys/sys/lwp.h
cvs rdiff -r1.317 -r1.318 src/sys/sys/param.h
cvs rdiff -r1.35 -r1.36 src/sys/ufs/ext2fs/ext2fs_alloc.c
cvs rdiff -r1.32 -r1.33 src/sys/ufs/ext2fs/ext2fs_balloc.c
cvs rdiff -r1.65 -r1.66 src/sys/ufs/ext2fs/ext2fs_inode.c
cvs rdiff -r1.51 -r1.52 src/sys/ufs/ext2fs/ext2fs_readwrite.c
cvs rdiff -r1.25 -r1.26 src/sys/ufs/ext2fs/ext2fs_subr.c
cvs rdiff -r1.135 -r1.136 src/sys/ufs/ext2fs/ext2fs_vfsops.c
cvs rdiff -r1.106 -r1.107 src/sys/ufs/ffs/ffs_alloc.c
cvs rdiff -r1.48 -r1.49 src/sys/ufs/ffs/ffs_balloc.c
cvs rdiff -r1.95 -r1.96 src/sys/ufs/ffs/ffs_inode.c
cvs rdiff -r1.66 -r1.67 src/sys/ufs/ffs/ffs_snapshot.c
cvs rdiff -r1.111 -r1.112 src/sys/ufs/ffs/ffs_softdep.c
cvs rdiff -r1.227 -r1.228 src/sys/ufs/ffs/ffs_vfsops.c
cvs rdiff -r1.126 -r1.127 src/sys/ufs/lfs/lfs.h
cvs rdiff -r1.66 -r1.67 src/sys/ufs/lfs/lfs_balloc.c
cvs rdiff -r1.10 -r1.11 src/sys/ufs/lfs/lfs_rfw.c
cvs rdiff -r1.211 -r1.212 src/sys/ufs/lfs/lfs_segment.c
cvs rdiff -r1.132 -r1.133 src/sys/ufs/lfs/lfs_syscalls.c
cvs rdiff -r1.261 -r1.262 src/sys/ufs/lfs/lfs_vfsops.c
cvs rdiff -r1.21 -r1.22 src/sys/ufs/ufs/ufs_dirhash.c
cvs rdiff -r1.58 -r1.59 src/sys/ufs/ufs/ufs_extern.h
cvs rdiff -r1.96 -r1.97 src/sys/ufs/ufs/ufs_lookup.c
cvs rdiff -r1.87 -r1.88 src/sys/ufs/ufs/ufs_readwrite.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index