Skip to content

use diff dir changes when using overlay#1918

Closed
saswatac wants to merge 1 commit into
moby:masterfrom
saswatac:diff_overlay
Closed

use diff dir changes when using overlay#1918
saswatac wants to merge 1 commit into
moby:masterfrom
saswatac:diff_overlay

Conversation

@saswatac
Copy link
Copy Markdown

@saswatac saswatac commented Dec 22, 2020

use diffDirChanges to compute the changeset for creating a layer
when using overlayfs. it is more efficient than performing a
full doubleWalkDiff.

in overlay, the diffdir is just the first lower dir.

resolves #1704

Note: this is just for review, can create PR in the containerd repo if this makes sense.

use diff dir change to compute the changeset for creating a layer
when using overlay fs. it is more efficient than performing a
full double diff walk.

in overlay, the diff dir is just the first lower dir.
@tonistiigi
Copy link
Copy Markdown
Member

This code is vendored from https://github.com/containerd/continuity and needs to be updated there. Should they reject your change as out-of-scope we can discuss more if we need to create our own fork.

Didn't review the code but unclear to me if this handles the various xattrs created by overlayfs properly.

Closing for now.

@tonistiigi tonistiigi closed this Dec 28, 2020
@tonistiigi
Copy link
Copy Markdown
Member

PTAL containerd/continuity#145

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.

exporting to image takes a lot of time

2 participants