DragonFly commits List (threaded) for 2008-06
DragonFly BSD
DragonFly commits List (threaded) for 2008-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/conf files src/sys/sys buf.h iosched.h proc.h src/sys/kern kern_iosched.c vfs_bio.c vfs_syscalls.c vfs_vnops.c src/sys/vfs/ufs ffs_softdep.c

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 28 Jun 2008 10:59:51 -0700 (PDT)

dillon      2008/06/28 10:59:51 PDT

DragonFly src repository

  Modified files:
    sys/conf             files 
    sys/sys              buf.h proc.h 
    sys/kern             vfs_bio.c vfs_syscalls.c vfs_vnops.c 
    sys/vfs/ufs          ffs_softdep.c 
  Added files:
    sys/sys              iosched.h 
    sys/kern             kern_iosched.c 
  Replace the bwillwrite() subsystem to make it more fair to processes.
  * Add new API functions, bwillread(), bwillwrite(), bwillinode() which
    the kernel calls when it intends to read, write, or make inode
  * Redo the backend.  Add bd_heatup() and bd_wait().  bd_heatup() heats up
    the buf_daemon, starting it flushing before we hit any blocking conditions
    (similar to the previous algorith).
  * The new bwill*() blocking functions no longer introduce escalating delays
    to keep the number of dirty buffers under control.  Instead it takes a page
    from HAMMER and estimates the load caused by the caller, then waits for a
    specific number of dirty buffers to complete their write I/O's before
    returning.  If the buffers can be retired quickly these functions will
    return more quickly.
  Revision  Changes    Path
  1.221     +1 -0      src/sys/conf/files
  1.49      +2 -1      src/sys/sys/buf.h
  1.120     +3 -0      src/sys/sys/proc.h
  1.106     +83 -138   src/sys/kern/vfs_bio.c
  1.133     +9 -9      src/sys/kern/vfs_syscalls.c
  1.58      +15 -4     src/sys/kern/vfs_vnops.c
  1.57      +1 -1      src/sys/vfs/ufs/ffs_softdep.c


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]