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

Only read storage.conf once #1404

Merged
merged 1 commit into from
Oct 24, 2022
Merged

Only read storage.conf once #1404

merged 1 commit into from
Oct 24, 2022

Commits on Oct 20, 2022

  1. Only read storage.conf once

    Currently running a simple container runs and stats configuration
    storage.conf files multiple times on a simple container run.
    
    This PR cuts the opens and stats in half by caching the first read.
    This speeds up start by about 10-20 microseconds.
    
    If container engines want to react to storage files changing, added a
    new function UpdateStoreOptions to allow engines to reload options.
    
    Fixes: containers#1403
    
    Signed-off-by: Daniel J Walsh <[email protected]>
    rhatdan committed Oct 20, 2022
    Configuration menu
    Copy the full SHA
    9e06c38 View commit details
    Browse the repository at this point in the history