git: Reverting series of commits (1/2 and 2/2) since they introduce performance degrade. 'if ((node->tn_status & TMPFS_NODE_ACCESSED) == 0) {' can be done without inode lock and helps performance.

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Mon May 11 18:45:04 PDT 2015


commit bed3b851dc267755eb3fe8079a0ac18986f2e8eb
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Tue May 12 09:57:44 2015 +0900

    Reverting series of commits (1/2 and 2/2) since they introduce
    performance degrade.
    'if ((node->tn_status & TMPFS_NODE_ACCESSED) == 0) {'
    can be done without inode lock and helps performance.
    
    Spotted-by: dillon
    
    Revert "sys/vfs/tmpfs: Make flag handling consistent [1/2]"
    
    This reverts commit e6db94b29aacbd288774574b1967828c8c07c013.

Summary of changes:
 sys/vfs/tmpfs/tmpfs_subr.c  |  1 -
 sys/vfs/tmpfs/tmpfs_vnops.c | 32 ++++++++++++++++++++------------
 2 files changed, 20 insertions(+), 13 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bed3b851dc267755eb3fe8079a0ac18986f2e8eb


-- 
DragonFly BSD source repository



More information about the Commits mailing list