Merge "Increase slack for inode estimation algorithm" am: dacde2259f am: e5af443000

am: be281179d4

Change-Id: Ibd8d354b327c07e9a4d17171430f78417bf4cb0d
This commit is contained in:
Hridya Valsaraju 2019-01-04 17:47:29 -08:00 committed by android-build-merger
commit 7dbacc000b
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 25 % as number of files and directories is not whole picture.
return output.count('\n') * 30 // 24
# TODO(b/122328872) Fix estimation algorithm to not need the multiplier.
return output.count('\n') * 2
def GetFilesystemCharacteristics(sparse_image_path):