git: HAMMER - Try to improve backend stalls due to heavy write a

看板DFBSD_commit作者時間16年前 (2009/09/11 10:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1AgRQeeq (DFBSD_commit)