Please see my branch bug22424, which fixes two different ways the usage could underflow, and does something sensible when it does underflow. (For example, the usage can underflow when we cache the usage, then an external process makes a file bigger, then we delete that file.)
Trac: Actualpoints: N/Ato 0.2 Status: new to needs_review Keywords: N/Adeleted, race-condition, integer-safety added