HAMMER VFS - Take reserved space into account when reporting statvfs data
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 25 Jun 2009 19:50:50 +0000 (12:50 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 25 Jun 2009 19:50:50 +0000 (12:50 -0700)
commit0f65be104647b75aea01cc199143fba6a0063982
tree527c7173afb4cba99c6056c2ec54c46c87a27fba
parentc55db76321e55e718350b0081364e3f2e3f9350e
HAMMER VFS - Take reserved space into account when reporting statvfs data

Adjust statvfs data so reserved space is taken into account, so the
filesystem starts failing modifying operations closer to when 'df' would
otherwise say that 0 free space remains.

Submitted-by: Antonio Huete Jimenez <tuxillo@quantumachine.net> (with modification)
sys/vfs/hammer/hammer.h
sys/vfs/hammer/hammer_blockmap.c
sys/vfs/hammer/hammer_vfsops.c