git: kernel - limit running io writes during fsync

看板DFBSD_commit作者時間15年前 (2010/08/20 14:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1CRXeZBa (DFBSD_commit)