HAMMER - Try to improve backend stalls due to heavy write activity.
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 11 Sep 2009 02:05:00 +0000 (19:05 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 11 Sep 2009 02:05:00 +0000 (19:05 -0700)
commitccf6a64d267d3f8776eb51a2d7ae3da363a6d22e
tree051997db07320c3649b667f9233984891dd245a0
parent65f3e756b4a281b51547617519a0ec2dd28285c9
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.
sys/vfs/hammer/hammer_inode.c
sys/vfs/hammer/hammer_transaction.c