git: hammer2 - refactor filesystem sync 3/N

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Dec 5 14:29:27 PST 2018


commit 3e8408db42a34d0449b1ca212b77cd7b5e9a21b3
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Nov 9 18:05:14 2018 -0800

    hammer2 - refactor filesystem sync 3/N
    
    * Attempt to guarantee filesystem consistency at all sync points.
    
    * Pretty severely hacked, and at the moment this can result in
      syncs which never end if the filesystem is busy.

Summary of changes:
 sys/vfs/hammer2/hammer2.h        |   1 +
 sys/vfs/hammer2/hammer2_flush.c  |  43 ++++++++++++-
 sys/vfs/hammer2/hammer2_inode.c  | 133 +++++++++++++++++++++++++++++++++++----
 sys/vfs/hammer2/hammer2_ioctl.c  |  25 ++++++--
 sys/vfs/hammer2/hammer2_ioctl.h  |   2 +
 sys/vfs/hammer2/hammer2_vfsops.c |  32 +++++++---
 sys/vfs/hammer2/hammer2_vnops.c  |  48 +++++++++-----
 7 files changed, 243 insertions(+), 41 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3e8408db42a34d0449b1ca212b77cd7b5e9a21b3


-- 
DragonFly BSD source repository


More information about the Commits mailing list