containerd / accelerated-container-image

A production-ready remote container image format (overlaybd) and snapshotter based on block-device.
Apache License 2.0
409 stars 75 forks source link

check if snapshot holds mountpoint before remove #302

Closed WaberZhuang closed 2 months ago

WaberZhuang commented 2 months ago

What this PR does / why we need it: Enhance snapshotter.Remove to avoid delete snapshots which hold a mountpoint.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged): Fixes #

Please check the following list:

BigVan commented 2 months ago

LGTM