Skip to content

c8d: unconditionally use ref-counting, or get info from snapshotter #46842

@thaJeztah

Description

@thaJeztah

Description

Commit 21c0a54 (#45698) introduced a hard-coded list of snapshotters (refCountedFileSystems) that we know need reference-counting. With containerd, the list of available snapshotters is not known (additional snapshotters may be installed on the system), so maintaining a hard-coded list is problematic to maintain.

// List of known filesystems that can't be re-mounted or have shared layers
var refCountedFileSystems = []string{"fuse-overlayfs", "overlayfs", "stargz", "zfs"}

We should consider to either;

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/storageImage Storagecontainerd-integrationIssues and PRs related to containerd integrationkind/refactorPR's that refactor, or clean-up code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions