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

Add support for bootfs_hint during installation #79

Merged
merged 1 commit into from
Mar 15, 2024
Merged

Conversation

ericcurtin
Copy link
Collaborator

This introduces support for bootfs_hint in the initoverlayfs installation process. The bootfs_hint is now parsed from the configuration file and utilized during the mounting bootfs. If a bootfs_hint is provided and matches the metadata of the expected bootfs (say PARTLABEL, PARTUUID as examples), it is used directly without performing a blkid lookup. This optimization aims to improve performance and efficiency during the bootfs mounting process.

Changes:

  • Added parsing and utilization of bootfs_hint in initoverlayfs installation.
  • Uses bootfs_hint if available and matching.
  • Updated data structure and cleanup routines to handle bootfs_hint.

This introduces support for bootfs_hint in the initoverlayfs installation
process. The bootfs_hint is now parsed from the configuration file and
utilized during the mounting bootfs. If a bootfs_hint is provided
and matches the metadata of the expected bootfs (say PARTLABEL, PARTUUID
as examples), it is used directly without performing a blkid lookup.
This optimization aims to improve performance and efficiency during the
bootfs mounting process.

Changes:
- Added parsing and utilization of bootfs_hint in initoverlayfs installation.
- Uses bootfs_hint if available and matching.
- Updated data structure and cleanup routines to handle bootfs_hint.

Signed-off-by: Eric Curtin <[email protected]>
@ericcurtin ericcurtin merged commit f482483 into main Mar 15, 2024
5 checks passed
@ericcurtin ericcurtin deleted the bootfs_hint branch March 15, 2024 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant