summaryrefslogtreecommitdiff
path: root/libutils/String8_test.cpp
diff options
context:
space:
mode:
authorAkilesh Kailash <akailash@google.com>2021-05-18 09:45:50 +0000
committerAkilesh Kailash <akailash@google.com>2021-05-19 01:01:52 +0000
commit24305239d67f23f352c24614c3dbeaeceb190d67 (patch)
tree4e0cfa1a6b25fa55fb1fcc729443a2bc4498e46b /libutils/String8_test.cpp
parent1d14bd3c1a28d5d515e5a9078aa2424f65fd859d (diff)
snapuserd: Send header-response once per entire IO request
Header response from daemon is sent once at the beginning of the payload. This is a corner case when the IO request can get broken into multiple chunks if the IO is un-aligned. Additionally, add error checks in the IO path to validate sector information when the read requests are merged. Bug: 188361387 Test: Simulate an IO request to forcefully break the IO response into multiple chunks and verify the correctness. Signed-off-by: Akilesh Kailash <akailash@google.com> Change-Id: I1f4fa7a79c60493f4bbed3ad49e257098b930beb Merged-In: I1f4fa7a79c60493f4bbed3ad49e257098b930beb
Diffstat (limited to 'libutils/String8_test.cpp')
0 files changed, 0 insertions, 0 deletions