commit | 4dfe4eb1d10b8df5937c727a2ca1e18958413593 | [log] [tgz] |
---|---|---|
author | Mohamad Ayyash <mkayyash@google.com> | Fri Jun 03 18:49:44 2016 -0700 |
committer | Mohamad Ayyash <mkayyash@google.com> | Fri Jun 03 18:49:44 2016 -0700 |
tree | 3747952c88e54fcb2c98d754c8f92dbdcd6daa6d | |
parent | 6595c1ff4209fb38dcb430f70d55aa882d88bd02 [diff] |
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>