commit | 6ef6efab23203e967625160e6af4140954e15e91 | [log] [tgz] |
---|---|---|
author | Jin Qian <jinqian@google.com> | Mon Dec 19 10:53:20 2016 -0800 |
committer | Jin Qian <jinqian@google.com> | Mon Dec 19 13:53:07 2016 -0800 |
tree | 54f4b9dfe9eacc7e367e0050d48f65424f037587 | |
parent | 7fe49140ef755e98607a67199971c01ed6a96930 [diff] |
libext2fs: merge contiguous data blocks when writing to sparse file Sparse IO manager allocates one block at a time. This creates many blocks in sparse file even though most of them are contiguous. As a result, fastboot is extremely slow writing that many blocks. Merging contiguous blocks reduces block count and flash time significantly. Change-Id: I211312d24d7423c7f160ee501fe8b62ddf14a847