eat: Use /cache if possible

 * Check the size of /cache and use it if possible.

Change-Id: I72fecf3f8d2311c04e63fe81a7ca9a8a6a40419d
Merge remote-tracking branch 'upstream/jb-4.2' into jb-4.2