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

Disable RAID6 auto-benchmark #69

Merged
merged 1 commit into from
Sep 27, 2024
Merged

Conversation

slp
Copy link
Contributor

@slp slp commented Sep 26, 2024

Commit a905d11 (config: Enable CONFIG_BTRFS_FS) introduced BTRFS support, which depends on the RAID6 library. By default, this library does a benchmark during the initialization to choose the best recovery algorithm.

This caused boot time to be increased for ~1.5s. Keep the RAID6 library as it's required by BTRFS, but disable its auto-benchmark.

Commit a905d11 (config: Enable CONFIG_BTRFS_FS) introduced BTRFS
support, which depends on the RAID6 library. By default, this library
does a benchmark during the initialization to choose the best recovery
algorithm.

This caused boot time to be increased for ~1.5s. Keep the RAID6 library
as it's required by BTRFS, but disable its auto-benchmark.

Signed-off-by: Sergio Lopez <slp@redhat.com>
Copy link
Contributor

@alyssarosenzweig alyssarosenzweig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lol, whoops. this seems like a kernel bug ngl.

@slp slp merged commit bd1bae4 into containers:main Sep 27, 2024
3 checks passed
@slp slp deleted the disable-raid6-benchmark branch September 27, 2024 09:38
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.

2 participants