Commit Graph

2 Commits

Author SHA1 Message Date
Akilesh Kailash d2ad50103e libsnapshot:snapuserd: Handle un-aligned IO request
If the requested IO is not 4k aligned and spans
between two COW Operations, then we will have
to split the IO as we need to read the partial
buffers from two COW operations.

BUG: 176918488
Test: cow_snapuserd_test - Data verification with unaligned IO
      Full OTA on cuttlefish
Signed-off-by: Akilesh Kailash <akailash@google.com>
Change-Id: Icf6801e1767112b92cb7991808860f119adebda2
2021-01-12 01:09:21 +00:00
David Anderson 42a04ac3b4 libsnapshot: Don't export snapuserd server includes.
Also, move main() to snapuserd_daemon.cpp.

Bug: N/A
Test: builds
Change-Id: Iddeec5785450caa59a7e55daaa63b4584087392e
2020-12-14 00:41:18 -08:00