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 set vp->v_pfsmp for non-nullfs mounts


From: Francois Tigeot <ftigeot@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 25 Mar 2012 02:31:23 -0700 (PDT)

commit 35d98733540f1cbc8f9829d369c409f2d671bcbc
Author: Francois Tigeot <ftigeot@wolfpond.org>
Date:   Sun Mar 25 10:27:07 2012 +0200

    VFS accounting: do not set vp->v_pfsmp for non-nullfs mounts
    
    * the test in _cache_setvp() was wrong and was initializing a pfs-specific
      accounting variable in vnodes for all filesystem types, possibly causing
      unnecessary work for each filesystem write operation.

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/35d98733540f1cbc8f9829d369c409f2d671bcbc


-- 
DragonFly BSD source repository



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