[roll] Roll fuchsia [pkg-cache] Check for subpackage blobs when loading cache packages

Reland of fxrev.dev/905948, now that the concurrent blobfs listing bug
has been fixed in fxrev.dev/912854.

On startup, pkg-cache activates in the dynamic index all resident
cache packages so that they will be protected from GC. This logic was
not checking for subpackage blobs, which has the following
consequences:

* cache packages with missing subpackage blobs could be resolved, and
  then resolution of the subpackage (when requested) would fail
* the subpackage blobs would not be protected from GC

This is fixed, so now cache packages will only be activated on startup
if all subpackage blobs are resident, and all subpackage blobs will be
protected from GC.

Original-Fixed: 112579
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/912018
Original-Revision: 11ad6d470b664ff805b6430d7685fbb0562c2f24
GitOrigin-RevId: 2aaa6e0a5612dfc50289b4f94fd196494c6a85b1
Change-Id: I68f5b523596daf48c75c1e41d730be1f525097da
1 file changed
tree: 0aa1224c2b2982810548c064af13fd8b5e989d70
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
  14. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.