diff options
author | David Anderson <dvander@google.com> | 2019-11-13 21:59:34 -0800 |
---|---|---|
committer | David Anderson <dvander@google.com> | 2019-11-13 22:52:02 -0800 |
commit | 52d8d2a3b1c39a3991edace22f155db5ea8b9aab (patch) | |
tree | 85a6efc0b3cad8c606724cf1b000532cc55a66d4 /aidl/android/gsi/IImageService.aidl | |
parent | 064a77fe3a287c97f5272cc00acc989f74c94d06 (diff) | |
download | gsid-52d8d2a3b1c39a3991edace22f155db5ea8b9aab.tar.gz |
libfiemap: Allow a larger number of FIEMAP extents.
The 512 extent limit is too low and it's easy to go past it, especially
when rapidly deleting and installing DSUs. First, bump the limit to
something much higher (50000 picked here as we've tested dm-linear with
this). Next, refactor ReadFiemap so it first queries the exact number of
extents, rather than passing a fixed-size buffer.
Bug: 144424457
Test: fiemap_writer_test gtest
Change-Id: I9da44b4e199d178d184ba53f526d8b4c518f0675
Diffstat (limited to 'aidl/android/gsi/IImageService.aidl')
0 files changed, 0 insertions, 0 deletions