Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should layernode Lookups for "diff1".. "diffN" be addressed in store/fs.go? #1053

Open
GerrySeidman opened this issue Jan 5, 2023 · 0 comments

Comments

@GerrySeidman
Copy link

I was trying to understand why layernode lookups are occurring for the name = "diff1" in store/fs.go:

Looking at the containers/storage repo, I see that in /drivers/overlay/overlay.go there is looping through "diff<diffN>" for the path filepath.Join(dir, nameWithSuffix("diff", diffN)) which were introduced along with these commits:

It appears that that the use of"diff<diffN>" was added to better support Additional Image Stores, however I am having difficulty figuring out exactly what this is doing. I think it has something to do with UID/GID mappings.

Should stargz-snapshotter be doing anything with these?

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

No branches or pull requests

1 participant