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
speed.

BUG: 29058965
Change-Id: I77626bb84e20cc22508e7f5174abf0de8a4c8ce0
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
1 file changed