git: dsched - Implement priorities and other improvements

Alex Hornung alexh at crater.dragonflybsd.org
Thu Apr 15 13:25:58 PDT 2010


commit aa166ad14bc0671c727d08eef84faaf3789a4b30
Author: Alex Hornung <ahornung at gmail.com>
Date:   Tue Mar 30 02:18:32 2010 +0000

    dsched - Implement priorities and other improvements
    
    * Implemented fq priority support. This also includes the userland tool
      ionice.
    
    * Implement an exit_buffer hook to be able to clean up bufs before they
      are reused.
    
    * Some minor performance improvements in fq.

Summary of changes:
 sys/dsched/fq/dsched_fq.h         |   18 +++-
 sys/dsched/fq/dsched_fq_core.c    |  137 +++++++++++++++++++------
 sys/dsched/fq/dsched_fq_diskops.c |   26 +++++-
 sys/dsched/fq/dsched_fq_procops.c |   33 ++++++-
 sys/kern/init_sysent.c            |    2 +
 sys/kern/kern_resource.c          |  208 +++++++++++++++++++++++++++++++++++++
 sys/kern/lwkt_thread.c            |    3 +-
 sys/kern/subr_dsched.c            |   10 ++-
 sys/kern/syscalls.c               |    2 +
 sys/kern/syscalls.master          |    2 +
 sys/kern/vfs_bio.c                |    4 +-
 sys/sys/dsched.h                  |    4 +-
 sys/sys/proc.h                    |    1 +
 sys/sys/resource.h                |    4 +
 sys/sys/syscall-hide.h            |    2 +
 sys/sys/syscall.h                 |    4 +-
 sys/sys/syscall.mk                |    4 +-
 sys/sys/sysproto.h                |   17 +++
 sys/sys/sysunion.h                |    2 +
 sys/vm/vm_pager.c                 |    2 +-
 test/dsched_fq/fqstats.c          |   15 +++-
 usr.bin/Makefile                  |    1 +
 usr.bin/ionice/Makefile           |    7 ++
 usr.bin/ionice/ionice.c           |  103 ++++++++++++++++++
 24 files changed, 562 insertions(+), 49 deletions(-)
 create mode 100644 usr.bin/ionice/Makefile
 create mode 100644 usr.bin/ionice/ionice.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/aa166ad14bc0671c727d08eef84faaf3789a4b30


-- 
DragonFly BSD source repository





More information about the Commits mailing list