Merge "Relax inode usage estimation slack for DAP right sizing" am: 7cac3adf1a
am: 4ace8926ba
Change-Id: I8c2a82dc493dc2c6f9341992b238267f3caf113e
This commit is contained in:
commit
3c4d2241e1
1 changed files with 2 additions and 2 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue