HAMMER 50/Many: VFS_STATVFS() support, stabilization.
authorMatthew Dillon <dillon@dragonflybsd.org>
Sun, 1 Jun 2008 21:05:39 +0000 (21:05 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sun, 1 Jun 2008 21:05:39 +0000 (21:05 +0000)
commit6f97fce330394feb32b14394e81579fde45aca74
tree60076693ee82bbe78b7c14fe0a3774904ad98ecb
parent7e1ba5da1bae8a66b32f6edfa6d77fb4afd95833
HAMMER 50/Many: VFS_STATVFS() support, stabilization.

* Add support for VFS_STATVFS(), returning 64 bit quantities for available
  space, etc.

* When freeing a big-block any holes cached for that block must be
  cleaned out.

* Fix a conditional testing whether a layer2 big-block must be allocated in
  layer1.  The bug could only occur if a layer2 big-block gets freed in
  layer1, and we currently never do this.

* Clean-up comments related to freeing blocks.
sys/vfs/hammer/hammer_blockmap.c
sys/vfs/hammer/hammer_disk.h
sys/vfs/hammer/hammer_ondisk.c
sys/vfs/hammer/hammer_vfsops.c