DragonFly commits List (threaded) for 2012-02
git: hammer2 hammer2 - wire in statfs/statvfs, add the chain structure, etc
Author: Matthew Dillon <email@example.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
* 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(-)
DragonFly BSD source repository