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

mount: cache blkid information #51135

Merged
merged 2 commits into from
Jan 10, 2019
Merged

Commits on Jan 10, 2019

  1. mount: cache blkid information

    During the mount of a device a call to blkid is done, to get
    information of the current devices.
    
    blkid is a slow operation, to avoid that use an internal cache,
    that is specified in /etc/blkid configuration file, but a single
    blkid can still redo this cache file, making the second call
    equally slow.
    
    This patch cache the blkid information for _active_mountinfo in
    the __context__ dict, making the next mount action a fast
    operation.
    aplanas committed Jan 10, 2019
    Configuration menu
    Copy the full SHA
    c1ede1d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    02e8de1 View commit details
    Browse the repository at this point in the history