DragonFly commits List (threaded) for 2009-09
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: HAMMER - Try to improve backend stalls due to heavy write activity.
commit ccf6a64d267d3f8776eb51a2d7ae3da363a6d22e
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date: Thu Sep 10 19:05:00 2009 -0700
HAMMER - Try to improve backend stalls due to heavy write activity.
* Call hammer_inode_waitreclaims() instead of hammer_inode_waithard(),
and disable hammer_inode_waithard().
hammer_inode_waithard() waits for an entire flush cycle but can get
called by fairly innocuous VNOPS, causing a large number of processes
to stall for no good reason.
* Change hammer_inode_waitreclaims() to wait for only one reclaim to occur
before returning, instead of 2.
Summary of changes:
sys/vfs/hammer/hammer_inode.c | 46 ++++++++++++++++++----------------
sys/vfs/hammer/hammer_transaction.c | 2 +-
2 files changed, 25 insertions(+), 23 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ccf6a64d267d3f8776eb51a2d7ae3da363a6d22e
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]