Skip to content

Add a diff service to Overlaybd snapshotter#21

Merged
adam-rl merged 1 commit into
mainfrom
adam/snapshots
Sep 24, 2025
Merged

Add a diff service to Overlaybd snapshotter#21
adam-rl merged 1 commit into
mainfrom
adam/snapshots

Conversation

@adam-rl

@adam-rl adam-rl commented Sep 24, 2025

Copy link
Copy Markdown

This diff service identifies whether the Compare function is operating on overlaybd devices, and if so, attempts to call overlaybd-commit on the writable_data and writable_index of the upper layer, efficiently generating a blob for the writable layer.

This is much faster than the default diff service, which mounts the block devices and compares the filesystem's file-by-file, which generates an OCI tar which we then convert to overlaybd.

This diff service identifies whether the Compare function is operating
on overlaybd devices, and if so, attempts to call overlaybd-commit on
the writable_data and writable_index of the upper layer, efficiently
generating a blob for the writable layer.

This is much faster than the default diff service, which mounts
the block devices and compares the filesystem's file-by-file,
which generates an OCI tar which we then convert to overlaybd.
@adam-rl
adam-rl requested a review from gautam-rl September 24, 2025 21:20
@adam-rl
adam-rl merged commit fc85b8d into main Sep 24, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant