Introduce squashfs compression threshold

If we can't beat that compression ratio for a single block then we leave
it uncompressed. The choice of the threshold depends on the cost of I/O
in a specific device which is determined from block I/O speed and CPU

BUG: 29058965
Change-Id: I77626bb84e20cc22508e7f5174abf0de8a4c8ce0
Signed-off-by: Mohamad Ayyash <>
1 file changed