Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scsi: relax mount re-use constraint (#2280)
This is to fix a case with shared scratch enabled where the pause container scratch and workload container scratch should be the same mountpoint. This effectively changes the SCSI mount logic to have the same semantics as before the SCSI refactor, which mainly affected: * where the `runc` config.json for a container is written * scratch encryption The old semantics ensured that the scratch (in a shared scratch case) is encrypted only once and also ensured that runc config.json for a given container is written to a unique location: either container's scratch (when scratch isn't shared) or tmpfs (when scratch is shared). As before, the eventual hope is to remove guestPath support, and always generate a path, but that requires more extensive work to pass this path to the GCS. Signed-off-by: Kevin Parsons <[email protected]> Signed-off-by: Maksim An <[email protected]> Co-authored-by: Kevin Parsons <[email protected]>
- Loading branch information