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

pre-allocate storage for metadata json files, see containers/podman#13967 #1480

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Jan 25, 2023

  1. pre-allocate storage for metadata json files, see containers/podman#1…

    …3967
    
    Keeping a temporary file of at least the same size as the target file
    for atomic writes helps reduce the probability of running out of space
    when deleting entities from corresponding metadata in a disk full
    scenario. This strategy is applied to writing containers.json,
    layers.json, images.json and mountpoints.json.
    
    Signed-off-by: Denys Knertser <denys@netze.io>
    chilikk committed Jan 25, 2023
    Configuration menu
    Copy the full SHA
    40551df View commit details
    Browse the repository at this point in the history