authfs: support multiple threads

This change adds the -j option to let authfs run in multiple threads.

The bad news is even sequential read is sigificantly slower (2x-ish).

Note that this change does not enable -j anywhere.

Bug: 220386264
Test: ls /proc/`pidof authfs`/tasks  # show multiple threads
Test: Read large file. Time was ~2x-ish with -j2. (bad)
Change-Id: I82ad727d6af6413c2d1aa22a02416b9f38306fb5
2 files changed
tree: 1ff85f659499fad58f38b83d5d13675324567623
  1. .prebuilt_info/
  2. apex/
  3. apkdmverity/
  4. authfs/
  5. compos/
  6. demo/
  7. docs/
  8. javalib/
  9. launcher/
  10. libs/
  11. microdroid/
  12. microdroid_manager/
  13. pvmfw/
  14. tests/
  15. virtualizationservice/
  16. vm/
  17. zipfuse/
  18. .clang-format
  19. .gitignore
  20. Android.bp
  21. OWNERS
  22. PREUPLOAD.cfg
  23. README.md
  24. TEST_MAPPING
README.md

Virtualization

This repository contains userspace services related to running virtual machines on Android, especially protected virtual machines. See the getting started documentation and Microdroid README for more information.