DragonFly commits List (threaded) for 2010-08
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: kernel - limit running io writes during fsync
commit aa1bfd980e3d7a445119a5675015ac921274ace7
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date: Thu Aug 19 22:33:35 2010 -0700
kernel - limit running io writes during fsync
* The fsync code was queueing an unlimited number of BUF/BIOs while
flushing a file, which creates a very large write burden on the
system, read stalls due to locked buffers, and can also blow out
things like dm_target_crypt which must allocate side-buffers for
the data.
* Fixes kmalloc exhaustion panics with dm_crypt.
* Improves read performance under heavy write loads (e.g. blogbench).
Summary of changes:
sys/kern/vfs_bio.c | 2 +-
sys/kern/vfs_subr.c | 1 +
sys/sys/buf.h | 1 +
3 files changed, 3 insertions(+), 1 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/aa1bfd980e3d7a445119a5675015ac921274ace7
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]