commit | e9196fecbb08ead0b5dcdf1b38b81a0419c24bf4 | [log] [tgz] |
---|---|---|
author | Daniel Rosenberg <drosen@google.com> | Tue Jun 10 17:16:03 2014 -0700 |
committer | Daniel Rosenberg <drosen@google.com> | Wed Jun 11 00:50:53 2014 +0000 |
tree | 5928eeb99594bcdc8a22a5e0d87c8653f9f5e507 | |
parent | fcd34a0ddd45db83b7bc71ff47cba9b789089fdd [diff] |
Increase asec image size for reflecting ext4 reserved clusters From Shawn Heo's patch: Ext4 introduced reserved clusters to prevent costly zeroout, or unexpected ENOSPC. The size is 2% or 4096 clusters, whichever is smaller (http://lwn.net/Articles/546473/). So, we need to allocate additionally this amount of free space to asecs when vold create asec images. This is required when Android runs on Linux kernel 3.10 or later. see: https://android-review.git.corp.google.com/#/c/96160 Change-Id: Iacff16b8cf0314493c355fa741bcfa519f744d6c Signed-off-by: Daniel Rosenberg <drosen@google.com>