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

git: kernel - Reduce impact of write_behind on small/temporary files


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 2 Apr 2012 10:17:39 -0700 (PDT)

commit 504ea70edd28057243b94a4138cb4ac07bb5b9ed
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Mon Apr 2 10:12:16 2012 -0700

    kernel - Reduce impact of write_behind on small/temporary files
    
    * Do not start issuing write-behind writes until a file has grown past
      a certain size, otherwise we wind up issuing excessive I/O for
      small files and for temporary files which might be quickly deleted.
    
    * Add vfs.write_behind_minfilesize sysctl (defaults to 10MB).

Summary of changes:
 sys/kern/vfs_cluster.c |   21 ++++++++++++++-------
 1 files changed, 14 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/504ea70edd28057243b94a4138cb4ac07bb5b9ed


-- 
DragonFly BSD source repository



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