Discussion:
git: hammer2 - refactor filesystem sync 3/N
Matthew Dillon
2018-12-05 22:29:27 UTC
Permalink
commit 3e8408db42a34d0449b1ca212b77cd7b5e9a21b3
Author: Matthew Dillon <***@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
Loading...