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

git: VFS accounting: do not count write operations for removed files


From: Francois Tigeot <ftigeot@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 30 Mar 2012 09:47:25 -0700 (PDT)

commit 384367d5cc2b4958f659c717b1d3ad7eb755ee2a
Author: Francois Tigeot <ftigeot@wolfpond.org>
Date:   Fri Mar 30 10:52:07 2012 +0200

    VFS accounting: do not count write operations for removed files
    
    * vnode operations can and do happen out-of-order in some circumstances
      (multi-job builds with make for example)
    
    * check if the vnode has at least one associated link to be sure it
      still corresponds to an existing file
    
    * do not count the write operation if this is not the case

Summary of changes:
 sys/kern/vfs_vopops.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/384367d5cc2b4958f659c717b1d3ad7eb755ee2a


-- 
DragonFly BSD source repository



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