Date: Mon, 4 Jul 2011 20:53:55 +0000 (UTC) From: Jeff Roberson <jeff@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/ufs/ffs ffs_softdep.c Message-ID: <201107042054.p64Ks7rD002929@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jeff 2011-07-04 20:53:55 UTC
FreeBSD src repository
Modified files:
sys/ufs/ffs ffs_softdep.c
Log:
SVN rev 223770 on 2011-07-04 20:53:55Z by jeff
- It is impossible to run request_cleanup() while doing a copyonwrite.
This will most likely cause new block allocations which can recurse
into request cleanup.
- While here optimize the ufs locking slightly. We need only acquire and
drop once.
- process_removes() and process_truncates() also is only needed once.
- Attempt to flush each item on the worklist once but do not loop forever
if some can not be completed.
Discussed with: mckusick
Revision Changes Path
1.283 +21 -25 src/sys/ufs/ffs/ffs_softdep.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107042054.p64Ks7rD002929>
