Merge "Relax inode usage estimation slack for DAP right sizing"

This commit is contained in:
Treehugger Robot 2018-12-18 02:13:10 +00:00 committed by Gerrit Code Review
commit 7cac3adf1a
1 changed files with 2 additions and 2 deletions

View File

@ -75,8 +75,8 @@ def GetInodeUsage(path):
"""
cmd = ["find", path, "-print"]
output = common.RunAndCheckOutput(cmd, verbose=False)
# increase by > 4% as number of files and directories is not whole picture.
return output.count('\n') * 25 // 24
# increase by 25 % as number of files and directories is not whole picture.
return output.count('\n') * 30 // 24
def GetFilesystemCharacteristics(sparse_image_path):