git: hammer2 hammer2 - wire in statfs/statvfs, add the chain structure, etc
Matthew Dillon
dillon at crater.dragonflybsd.org
Thu Feb 9 23:53:07 PST 2012
commit 50e4f8f480b812c317378afdf893900917475b9c
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Thu Feb 9 23:49:37 2012 -0800
hammer2 - wire in statfs/statvfs, add the chain structure, etc
* Wire mnt_stat and mnt_vstat. Currently dummy-up the values. This allows
the mount point to show up in 'df' output.
* Add the chain structure for upcoming directory search work. This
structure will also be used to track through indirect blocks. The
chain structure supplies the full blockref chain from an in-memory
structure to the root volume, allowing modifications to be properly
tracked.
* Move the volume header read to its own support procedure, it's going to
eventually be considerably more complex.
* Bring the hammer2_dirhash() procedure in from newfs_hammer2.
Summary of changes:
sys/vfs/hammer2/hammer2.h | 37 +++++++++--
sys/vfs/hammer2/hammer2_subr.c | 67 ++++++++++++++++++++
sys/vfs/hammer2/hammer2_vfsops.c | 128 ++++++++++++++++++++++++++------------
3 files changed, 185 insertions(+), 47 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/50e4f8f480b812c317378afdf893900917475b9c
--
DragonFly BSD source repository
More information about the Commits
mailing list