Source-Changes archive

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

CVS commit: src/sys/ufs/lfs



Module Name:    src
Committed By:   perseant
Date:           Thu May  4 04:22:57 UTC 2006

Modified Files:
        src/sys/ufs/lfs: lfs.h lfs_alloc.c lfs_bio.c lfs_subr.c lfs_vfsops.c
            lfs_vnops.c

Log Message:
Introduce another per-filesystem parameter, lfs_resvseg, to separate the
notion of "how many segments are reserved for the cleaner" from that of
"how many segments are not counted in lfs_bfree".  The default value
used for existing filesystems is the same as the previous implicit value
of (lfs_minfreeseg / 2 + 1), modulo some sanity checking.

Count pending dirops on a per-filesystem basis, since once we start
writing them we can't stop until we're done.  This seems to help stave off
the "no clean segments" panic in the case of filling the filesystem with
directories and small files (e.g. simultaneously unpacking more copies of
pkgsrc than will fit).


To generate a diff of this commit:
cvs rdiff -r1.104 -r1.105 src/sys/ufs/lfs/lfs.h
cvs rdiff -r1.91 -r1.92 src/sys/ufs/lfs/lfs_alloc.c src/sys/ufs/lfs/lfs_bio.c
cvs rdiff -r1.58 -r1.59 src/sys/ufs/lfs/lfs_subr.c
cvs rdiff -r1.206 -r1.207 src/sys/ufs/lfs/lfs_vfsops.c
cvs rdiff -r1.172 -r1.173 src/sys/ufs/lfs/lfs_vnops.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