git: DragonFly_RELEASE_5_4 hammer2 - refactor filesystem sync 3/N

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


commit f29c57448375840e0d5eeb0948e22c677f8d8a8e
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/f29c57448375840e0d5eeb0948e22c677f8d8a8e


-- 
DragonFly BSD source repository



More information about the Commits mailing list