Skip to content
New issue

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

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

Already on GitHub? # to your account

scsi: relax mount re-use constraint #2280

Merged
merged 1 commit into from
Oct 1, 2024

Commits on Oct 1, 2024

  1. scsi: relax mount re-use constraint

    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 <kevpar@microsoft.com>
    Signed-off-by: Maksim An <maksiman@microsoft.com>
    kevpar authored and anmaxvl committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    4c003e7 View commit details
    Browse the repository at this point in the history