git: DragonFly_RELEASE_5_4 hammer2 - stabilization, fix delete-on-reclaim

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Dec 17 13:55:57 PST 2018


commit c9072517e23a3bfc7c9a3dc136732b09b0c03c9a
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Dec 10 15:35:31 2018 -0800

    hammer2 - stabilization, fix delete-on-reclaim
    
    * Fix the delete-on-reclaim code which had been commented out
      temporarily during the prior work.  Restore and cleanup the
      code.
    
      This code handles deleting inodes for files which were unlinked
      (nlinks count -> 0) but still had open descriptors.
    
    * Fixes inode leak in df output and on the media.

Summary of changes:
 sys/vfs/hammer2/hammer2_inode.c |  2 +-
 sys/vfs/hammer2/hammer2_vnops.c | 52 +++++++++++++++++++++--------------------
 2 files changed, 28 insertions(+), 26 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list