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

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Apr 2 10:17:39 PDT 2012


commit 504ea70edd28057243b94a4138cb4ac07bb5b9ed
Author: Matthew Dillon <dillon at 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





More information about the Commits mailing list