git: dsched - Add request polling wrapper

看板DFBSD_commit作者時間14年前 (2011/10/22 18:02), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 09f2bfe9d39a346abddc196cafc213e571044dfb Author: Brills Peng <brills@gmail.com> Date: Sat Aug 27 11:24:35 2011 +0000 dsched - Add request polling wrapper * Add a request polling emulation layer to dsched. This emulated request polling as if a disk driver would poll for requests instead of requests being actively pushed down. * The policy->polling_func() callback is called whenever a BIO completes. * A field in the diskctx that shows the current tag queue depth and the maximum tag queue depth (currently fixed value of 32) are used in the policies using request polling directly and is not enforced in the dsched layer. That is, a policy using request polling emulation should take care of not having (many) more BIOs in flight than max_tag_queue_depth. Sponsored-by: Google Summer of Code Summary of changes: sys/kern/kern_dsched.c | 69 ++++++++++++++++++++++++++++++++++++++++++++++++ sys/sys/dsched.h | 11 +++++++- 2 files changed, 79 insertions(+), 1 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/09f2bfe9d39a346abddc196cafc213e571044dfb -- DragonFly BSD source repository
文章代碼(AID): #1EefIzmp (DFBSD_commit)