Revert "Relax inode usage estimation slack for DAP right sizing"
This reverts commit bd17fab260
.
Test: build
Bug: 122328872
Change-Id: I6457933a0dc51827bd86d9c55b02a65999612bcc
This commit is contained in:
@@ -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
|
||||
# increase by > 4% as number of files and directories is not whole picture.
|
||||
return output.count('\n') * 25 // 24
|
||||
|
||||
|
||||
def GetFilesystemCharacteristics(image_path, sparse_image=True):
|
||||
|
Reference in New Issue
Block a user