summaryrefslogtreecommitdiffstats
path: root/libsparse/simg2img.c
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2012-04-25 21:02:16 -0700
committerColin Cross <ccross@android.com>2012-07-09 22:09:37 -0700
commitbe8ddcb35a459481c0bcf5bfe645c1fefe963f5c (patch)
treef3ab4517291fd1a8fc6c75d8670ba3cd3015be11 /libsparse/simg2img.c
parenta21930b6b0dbb04a52948566d58fb48c6db58bab (diff)
downloadsystem_core-be8ddcb35a459481c0bcf5bfe645c1fefe963f5c.zip
system_core-be8ddcb35a459481c0bcf5bfe645c1fefe963f5c.tar.gz
system_core-be8ddcb35a459481c0bcf5bfe645c1fefe963f5c.tar.bz2
libsparse: merge adjacent blocks of the same type
When a block is added that is adjacent to another block and of the same type, merge it. This will be useful for converting regular images to sparse images, allowing the reader to add a single block at a time and letting libsparse optimize into larger blocks as it goes. Does not support merge two blocks that are backed by a data pointer, only blocks that are backed by a file for now. Change-Id: I95aa231714cbe01ac194e868c21385806c0bdb97
Diffstat (limited to 'libsparse/simg2img.c')
0 files changed, 0 insertions, 0 deletions