Skip to content

Enable dm-cache module#14661

Merged
rlmenge merged 2 commits into3.0-devfrom
rlmenge/kernel/dmcache
Nov 18, 2025
Merged

Enable dm-cache module#14661
rlmenge merged 2 commits into3.0-devfrom
rlmenge/kernel/dmcache

Conversation

@rlmenge
Copy link
Contributor

@rlmenge rlmenge commented Sep 11, 2025

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

  • The toolchain has been rebuilt successfully (or no changes were made to it)
  • The toolchain/worker package manifests are up-to-date
  • Any updated packages successfully build (or no packages were changed)
  • Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
  • Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
  • All package sources are available
  • cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
  • LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
  • All source files have up-to-date hashes in the *.signatures.json files
  • sudo make go-tidy-all and sudo make go-test-coverage pass
  • Documentation has been updated to match any changes to the build system
  • Ready to merge

Summary

This PR enables the Device Mapper cache target (dm-cache) as a loadable kernel module (CONFIG_DM_CACHE=m). The dm-cache module allows the use of fast storage devices (such as SSDs or NVMe drives) as caches for slower storage devices, improving overall I/O performance for systems with mixed storage types. It also enabled the CONFIG_DM_CACHE_SMQ cache policy.

Change Log
  • Enable CONFIG_DM_CACHE=m and CONFIG_DM_CACHE_SMQ=m
Does this affect the toolchain?

YES

Associated issues
Test Methodology

LISA test created

Full run

@rlmenge rlmenge changed the title ENable dm-cache module Enable dm-cache module Sep 11, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot added Packaging specs-extended PR to fix SPECS-EXTENDED 3.0-dev PRs Destined for AzureLinux 3.0 labels Sep 11, 2025
@CBL-Mariner-Bot
Copy link
Collaborator

🚨 PR Check Failed - Critical Issues Found

Found 3 critical/error issue(s) that must be fixed.

🔍 Critical Issues Detected:

  1. Missing Patch File (ERROR)
    • Patch file '0001-add-mstflint-kernel-%{mstflintver}.patch' is referenced in the spec but not found in the directory
    • 💡 Fix: Add the missing patch file or update the Patch reference
  2. Missing Patch File (ERROR)
    • Patch file '0001-add-mstflint-kernel-%{mstflintver}.patch' is referenced in the spec but not found in the directory
    • 💡 Fix: Add the missing patch file or update the Patch reference
  3. Missing Patch File (ERROR)
    • Patch file '0001-add-mstflint-kernel-%{mstflintver}.patch' is referenced in the spec but not found in the directory
    • 💡 Fix: Add the missing patch file or update the Patch reference

🤖 AI Analysis Summary:

Brief Analysis: This update bumps the kernel‐ipe release from “2” to “3” and makes minor configuration updates (enabling DM_CACHE and adding DM_CACHE_SMQ). The only patch directive (Patch0) remains unchanged and its file is present.
Critical Issues Found: None of critical security issues were detected; no CVE patch directives are referenced in this update.
Recommended Actions:
• Verify that the change from “# CONFIG_DM_CACHE is not set” to “CONFIG_DM_CACHE=m” (plus DM_CACHE_SMQ) is deliberate and does not introduce unexpected behavior.
• Ensure that all historical CVE-related fixes remain properly documented in the changelog.
• Confirm consistency of versioning and that no additional CVE patches are required in this release.


📋 For detailed analysis and recommendations, check the Azure DevOps pipeline logs.

@rlmenge rlmenge marked this pull request as ready for review September 16, 2025 00:14
@rlmenge rlmenge requested review from a team as code owners September 16, 2025 00:14
@rlmenge rlmenge force-pushed the rlmenge/kernel/dmcache branch from 45dc2a9 to d725015 Compare November 11, 2025 19:38
@rlmenge rlmenge mentioned this pull request Nov 11, 2025
12 tasks
@rlmenge rlmenge force-pushed the rlmenge/kernel/dmcache branch 2 times, most recently from ff6cd8d to 7c64e21 Compare November 17, 2025 22:18
@rlmenge rlmenge force-pushed the rlmenge/kernel/dmcache branch from 7c64e21 to 56160e6 Compare November 18, 2025 07:22
Copy link
Collaborator

@christopherco christopherco left a comment

Choose a reason for hiding this comment

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

:shipit:

@rlmenge rlmenge merged commit a053fd4 into 3.0-dev Nov 18, 2025
25 of 28 checks passed
@rlmenge rlmenge deleted the rlmenge/kernel/dmcache branch November 18, 2025 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.0-dev PRs Destined for AzureLinux 3.0 Packaging specs-extended PR to fix SPECS-EXTENDED

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants