git: bioqdisksort - fixes to avoid starvation

看板DFBSD_commit作者時間16年前 (2009/08/09 06:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 539f339ee934d4f0a53b0071fb42acc78b49269b Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Sat Aug 8 15:07:40 2009 -0700 bioqdisksort - fixes to avoid starvation Long chains of pipelined write I/O were being sorted in front of other requests. Due to the pipelining these other requests would wind up getting starved virtually permanently. Prevent starvation by forcing one out of every 16 BIOs to be ordered. This fixes issues with HAMMER which tends to have more of an absolute ordering of meta data verses data then UFS. Summary of changes: sys/kern/subr_disk.c | 14 +++++++++++++- sys/sys/buf.h | 1 + sys/sys/buf2.h | 13 +++++++++++-- 3 files changed, 25 insertions(+), 3 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/539f339ee934d4f0a53b0071fb42acc78b49269b -- DragonFly BSD source repository
文章代碼(AID): #1AVVpdpp (DFBSD_commit)