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

am: 7cac3adf1a

Change-Id: I204d87da9a4879f00e332366d792692f7ad8d3c8
This commit is contained in:
Hridya Valsaraju 2018-12-17 18:31:47 -08:00 committed by android-build-merger
commit 4ace8926ba

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):