Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   hannken
Date:           Fri Aug 22 10:48:22 UTC 2008

Modified Files:
        src/sys/ufs/ffs: ffs_extern.h ffs_snapshot.c ffs_vfsops.c ffs_vnops.c
        src/sys/ufs/ufs: ufs_readwrite.c
        src/sys/uvm: uvm_pager.h

Log Message:
Add snapshot support for logging ffs file systems.

- Add UFS_WAPBL_BEGIN() / UFS_WAPBL_END() where needed.

- Expunge WAPBL log inodes from snapshots.

- Ffs_copyonwrite() and ffs_snapblkfree() must run inside a WAPBL transaction.

- Add ffs_gop_write() as a wrapper around genfs_gop_write() that makes sure
  genfs_gop_write() gets always called inside a WAPBL transaction.

- Add VOP_PUTPAGES() flag PGO_JOURNALLOCKED to tag calls to VOP_PUTPAGES()
  inside a WAPBL transaction.

Reviewed by: Simon Burge <simonb%netbsd.org@localhost>,  Greg Oster 
<oster%netbsd.org@localhost>

PGO_JOURNALLOCKED / ffs_gop_write() part presented on tech-kern@.


To generate a diff of this commit:
cvs rdiff -r1.68 -r1.69 src/sys/ufs/ffs/ffs_extern.h
cvs rdiff -r1.74 -r1.75 src/sys/ufs/ffs/ffs_snapshot.c
cvs rdiff -r1.233 -r1.234 src/sys/ufs/ffs/ffs_vfsops.c
cvs rdiff -r1.102 -r1.103 src/sys/ufs/ffs/ffs_vnops.c
cvs rdiff -r1.90 -r1.91 src/sys/ufs/ufs/ufs_readwrite.c
cvs rdiff -r1.37 -r1.38 src/sys/uvm/uvm_pager.h

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