git: hammer2 - Fix cluster synchronization bug (2+ nodes)

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Mar 26 23:43:16 PDT 2017


commit 0d66a712e6f186af2bfca72c16119336495f5d2a
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Mar 17 14:04:59 2017 -0700

    hammer2 - Fix cluster synchronization bug (2+ nodes)
    
    * Fix a bug where hammer2_cluster_check() can end up in an infinite
      loop.
    
    * Look for pfs_names[] in all PFSs associated with a cluster.
    
    * Add missing xop retirement in pfs-delete.
    
    * Skip the directory empty check in pfs-delete.
    
    * Preliminary code to deallocate an element of a live PFS

Summary of changes:
 sys/vfs/hammer2/hammer2.h          |  6 ++++
 sys/vfs/hammer2/hammer2_admin.c    |  9 +++++
 sys/vfs/hammer2/hammer2_cluster.c  | 25 ++++++++------
 sys/vfs/hammer2/hammer2_inode.c    | 16 +++++----
 sys/vfs/hammer2/hammer2_ioctl.c    | 65 ++++++++++++++++++++++++++++++++--
 sys/vfs/hammer2/hammer2_ioctl.h    |  2 +-
 sys/vfs/hammer2/hammer2_strategy.c |  4 +--
 sys/vfs/hammer2/hammer2_synchro.c  | 34 +++++++++++-------
 sys/vfs/hammer2/hammer2_vfsops.c   | 71 ++++++++++++++++++++++++++++++++++++--
 sys/vfs/hammer2/hammer2_xops.c     | 23 ++++++++----
 10 files changed, 211 insertions(+), 44 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0d66a712e6f186af2bfca72c16119336495f5d2a


-- 
DragonFly BSD source repository


More information about the Commits mailing list