git: VFS accounting: do not set vp->v_pfsmp for non-nullfs mounts

Francois Tigeot ftigeot at crater.dragonflybsd.org
Sun Mar 25 02:31:23 PDT 2012


commit 35d98733540f1cbc8f9829d369c409f2d671bcbc
Author: Francois Tigeot <ftigeot at 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





More information about the Commits mailing list