Add 5% cumulative reduction in total size of the disk

This is done due to filesystem holding additional metadata and inode space
which is unaccounted for during min-free-disk calculation.
This commit is contained in:
Harshavardhana
2015-10-19 10:29:54 -07:00
parent d5e5b8777f
commit dddb1650de
5 changed files with 15 additions and 5 deletions

View File

@@ -247,6 +247,8 @@ func serverMain(c *cli.Context) {
var minFreeDisk int64
minFreeDiskSet := false
// Default
minFreeDisk = 10
var expiration time.Duration
expirationSet := false