Source-Changes archive

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

CVS commit: syssrc



Module Name:    syssrc
Committed By:   perseant
Date:           Mon Jul  3 01:46:05 UTC 2000

Modified Files:
        syssrc/sys/ufs/lfs: lfs.h lfs_balloc.c lfs_bio.c lfs_inode.c
            lfs_segment.c lfs_vfsops.c
        syssrc/sys/ufs/ufs: inode.h

Log Message:
Allow the number of free segments reserved for the cleaner to be
parametrized in the filesystem, defaulting to MIN_FREE_SEGS = 2 but set
to something more reasonable at newfs_lfs time.

Note the number of blocks that have been scheduled for writing but which
are not yet on disk in an inode extension, i_lfs_effnblks.  Move
i_ffs_effnlink out of the ffs extension and onto the main inode, since
it's used all over the shared code and the lfs extension would clobber
it.

At inode write time, indirect blocks and inode-held blocks of inodes
that have i_lfs_effnblks != i_ffs_blocks are cleansed of UNWRITTEN disk
addresses, so that these never make it to disk.


To generate a diff of this commit:
cvs rdiff -r1.26 -r1.27 syssrc/sys/ufs/lfs/lfs.h
cvs rdiff -r1.20 -r1.21 syssrc/sys/ufs/lfs/lfs_balloc.c
cvs rdiff -r1.24 -r1.25 syssrc/sys/ufs/lfs/lfs_bio.c
cvs rdiff -r1.39 -r1.40 syssrc/sys/ufs/lfs/lfs_inode.c
cvs rdiff -r1.52 -r1.53 syssrc/sys/ufs/lfs/lfs_segment.c
cvs rdiff -r1.55 -r1.56 syssrc/sys/ufs/lfs/lfs_vfsops.c
cvs rdiff -r1.19 -r1.20 syssrc/sys/ufs/ufs/inode.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