OpenVZ Forum


Home » General » Support » *SOLVED* diskspace no more than 40 GB
Re: diskspace no more than 40 GB [message #9988 is a reply to message #9987] Fri, 02 February 2007 11:59 Go to previous messageGo to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

take a look at fs/simfs.c, function quota_get_stat()

I suppose you are interested in 2 if's:

if (buf->f_bfree < free_blk)
adj_blk = free_blk - buf->f_bfree;

if (free_blk < buf->f_bavail)
buf->f_bavail = (long)free_blk; /* min(f_bavail, free_blk) */




http://static.openvz.org/userbars/openvz-developer.png
 
Read Message icon9.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Emergency - Server Crash
Next Topic: *SOLVED* ports and port forwarding
Goto Forum:
  


Current Time: Mon Nov 11 17:47:35 GMT 2024

Total time taken to generate the page: 0.03568 seconds