No description
Find a file
Daniel Rosenberg e9196fecbb 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>
2014-06-11 00:50:53 +00:00
tests Change ASCII conversion for hash and add tests 2010-06-20 22:03:10 -07:00
Android.mk Add keymaster support to cryptfs 2014-04-18 11:40:13 -07:00
Asec.h Add in ext4 support for ASEC containers 2012-04-25 14:15:15 -07:00
CheckBattery.cpp On low power turn off rather than rebooting to allow device to charge 2014-06-09 15:15:32 -07:00
CheckBattery.h On low power turn off rather than rebooting to allow device to charge 2014-06-09 15:15:32 -07:00
CleanSpec.mk Add an empty CleanSpec.mk 2010-03-08 18:05:25 -08:00
CommandListener.cpp Added support for ext4 ASEC resizing. 2014-06-10 22:15:33 +00:00
CommandListener.h vold: Remove obsolete xwarp support. 2013-09-17 13:21:03 -07:00
cryptfs.c On low power turn off rather than rebooting to allow device to charge 2014-06-09 15:15:32 -07:00
cryptfs.h Add keymaster support to cryptfs 2014-04-18 11:40:13 -07:00
Devmapper.cpp Added support for ext4 ASEC resizing. 2014-06-10 22:15:33 +00:00
Devmapper.h vold: Bugfixes & cleanups 2010-03-13 16:42:19 -08:00
DirectVolume.cpp am 099b20f3: am 1881395b: am c6752b06: Merge "vold: wildcard support for device path matching" 2014-05-27 19:28:07 +00:00
DirectVolume.h am 099b20f3: am 1881395b: am c6752b06: Merge "vold: wildcard support for device path matching" 2014-05-27 19:28:07 +00:00
Ext4.cpp Added support for ext4 ASEC resizing. 2014-06-10 22:15:33 +00:00
Ext4.h Added support for ext4 ASEC resizing. 2014-06-10 22:15:33 +00:00
Fat.cpp vold: Add an optional wipe paramter to the volume format command 2013-06-12 18:42:02 -07:00
Fat.h vold: Add an optional wipe paramter to the volume format command 2013-06-12 18:42:02 -07:00
fstrim.c vold: suppress unused argument warning messages 2014-02-12 14:27:51 -08:00
fstrim.h Vold: Add the fstrim subsystem to vold 2013-03-22 02:19:15 -07:00
hash.h vold: Bugfixes & cleanups 2010-03-13 16:42:19 -08:00
Loop.cpp Added support for ext4 ASEC resizing. 2014-06-10 22:15:33 +00:00
Loop.h Added support for ext4 ASEC resizing. 2014-06-10 22:15:33 +00:00
main.cpp Add support for more expressive SD card permissions 2013-10-08 10:13:04 -07:00
NetlinkHandler.cpp Remove obsolete code for monitoring USB status 2011-06-07 08:34:08 -07:00
NetlinkHandler.h system: vold2: Initial skeleton for vold2. 2009-10-10 17:57:51 -07:00
NetlinkManager.cpp vold: fix potential socket leak 2013-07-02 12:04:09 -07:00
NetlinkManager.h system: vold2: Initial skeleton for vold2. 2009-10-10 17:57:51 -07:00
Process.cpp vold: Switch from LOG -> SLOG 2010-03-25 08:02:28 -07:00
Process.h vold: Refactor Processkiller and add command to return users of a mount point 2010-02-16 17:12:00 -08:00
ResponseCode.cpp vold: Switch from LOG -> SLOG 2010-03-25 08:02:28 -07:00
ResponseCode.h Support default, pattern, pin and password encryption types 2014-02-12 14:54:40 -08:00
vdc.c am ea256025: am 45faade2: Merge "Replaces uses of index() with strchr()." 2014-06-05 20:33:07 +00:00
VoldCommand.cpp system: vold2: Initial skeleton for vold2. 2009-10-10 17:57:51 -07:00
VoldCommand.h system: vold2: Initial skeleton for vold2. 2009-10-10 17:57:51 -07:00
VoldUtil.c vold: Add an optional wipe paramter to the volume format command 2013-06-12 18:42:02 -07:00
VoldUtil.h vold: Add an optional wipe paramter to the volume format command 2013-06-12 18:42:02 -07:00
Volume.cpp vold: suppress unused argument warning messages 2014-02-12 14:27:51 -08:00
Volume.h Extract UUID and label from inserted volumes. 2013-10-17 09:51:19 -07:00
VolumeManager.cpp Increase asec image size for reflecting ext4 reserved clusters 2014-06-11 00:50:53 +00:00
VolumeManager.h Added support for ext4 ASEC resizing. 2014-06-10 22:15:33 +00:00