Source-Changes archive

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

CVS commit: src/sys/ufs



Module Name:    src
Committed By:   ad
Date:           Sat May 31 21:37:08 UTC 2008

Modified Files:
        src/sys/ufs/ffs: ffs_softdep.c ffs_softdep.stub.c
        src/sys/ufs/ufs: ufs_extern.h ufs_vnops.c

Log Message:
XXX softdep:

If the number of deletes in progress is getting too high, newdirrem()
requests the syncer to flush faster, and in some cases will block to
prevent deletes accumulating faster than the disk can service them.

The syncer will try to lock vnodes that the remover holds locked, leading
to the syncer and remover proceeding in lockstep and making very little
overall forward progress.

Put a hook into ufs_rmdir() and ufs_remove() so that the softdep code
can pace itself without holding vnode locks if the number of deletes is
running out of control.


To generate a diff of this commit:
cvs rdiff -r1.112 -r1.113 src/sys/ufs/ffs/ffs_softdep.c
cvs rdiff -r1.22 -r1.23 src/sys/ufs/ffs/ffs_softdep.stub.c
cvs rdiff -r1.59 -r1.60 src/sys/ufs/ufs/ufs_extern.h
cvs rdiff -r1.164 -r1.165 src/sys/ufs/ufs/ufs_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