Files
containerd/plugins
Maksym Pavlenko 728093bdca snapshots/erofs: source pre-converted layers from a content cache
Add a layer_content_cache option to the erofs snapshotter: a directory of
pre-converted, diffID-keyed erofs layer blobs (in production a read-only
mountpoint-s3/FUSE mount) that the snapshotter sources layers from on pull
instead of downloading and converting them per node.

On an image-layer extraction Prepare, if the layer's blob is present in the
cache the snapshotter stages it as a symlink, commits it as the target
chainID in the same transaction, and returns ErrAlreadyExists. This uses the
existing remote-snapshot protocol, so containerd skips both the layer
download and the tar->erofs conversion; no core changes are needed. Any miss
(cache disabled, no snapshot.ref/diff-id labels, blob absent, unreadable
cache) falls through to the normal path, so pulls keep working.

Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2026-07-21 09:43:41 -07:00
..
2026-03-15 18:24:15 +01:00
2026-03-15 18:24:15 +01:00
2026-03-15 18:24:15 +01:00
2026-03-15 18:24:15 +01:00
2026-07-04 12:08:50 -04:00
2026-07-04 12:08:50 -04:00
2026-03-15 18:24:15 +01:00
2026-03-15 18:24:15 +01:00
2026-03-15 18:24:15 +01:00
2026-04-21 18:02:40 -07:00