Skip to content

Commit a053fd4

Browse files
authored
Enable dm-cache module (microsoft#14661)
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.
1 parent 9172b12 commit a053fd4

File tree

20 files changed

+52
-23
lines changed

20 files changed

+52
-23
lines changed

SPECS-EXTENDED/kernel-ipe/config

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2484,7 +2484,8 @@ CONFIG_DM_PERSISTENT_DATA=m
24842484
CONFIG_DM_CRYPT=m
24852485
CONFIG_DM_SNAPSHOT=m
24862486
CONFIG_DM_THIN_PROVISIONING=m
2487-
# CONFIG_DM_CACHE is not set
2487+
CONFIG_DM_CACHE=m
2488+
CONFIG_DM_CACHE_SMQ=m
24882489
# CONFIG_DM_WRITECACHE is not set
24892490
# CONFIG_DM_EBS is not set
24902491
# CONFIG_DM_ERA is not set

SPECS-EXTENDED/kernel-ipe/config_aarch64

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3002,7 +3002,8 @@ CONFIG_DM_PERSISTENT_DATA=m
30023002
CONFIG_DM_CRYPT=m
30033003
CONFIG_DM_SNAPSHOT=m
30043004
CONFIG_DM_THIN_PROVISIONING=m
3005-
# CONFIG_DM_CACHE is not set
3005+
CONFIG_DM_CACHE=m
3006+
CONFIG_DM_CACHE_SMQ=m
30063007
# CONFIG_DM_WRITECACHE is not set
30073008
# CONFIG_DM_EBS is not set
30083009
# CONFIG_DM_ERA is not set

SPECS-EXTENDED/kernel-ipe/kernel-ipe.signatures.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"Signatures": {
33
"azurelinux-ca-20230216.pem": "d545401163c75878319f01470455e6bc18a5968e39dd964323225e3fe308849b",
4-
"config": "91a7b22c9d24222b9d3cb78a38bae3ed23c950f0cf8acbe3fa3e353777b8a2a7",
5-
"config_aarch64": "67d4a90b045d5ce1501f7ad46b30be115717fd902bd1962e5852ea30b85d7647",
4+
"config": "016870d1d2950ca92b2d0e27e58c686cf1568cf273547688c224f11da9f34533",
5+
"config_aarch64": "b19c332d4d504021738f1a9b2177297fa5c73f4f748740c9044c7849a79d897f",
66
"cpupower": "d7518767bf2b1110d146a49c7d42e76b803f45eb8bd14d931aa6d0d346fae985",
77
"cpupower.service": "b057fe9e5d0e8c36f485818286b80e3eba8ff66ff44797940e99b1fd5361bb98",
88
"sha512hmac-openssl.sh": "02ab91329c4be09ee66d759e4d23ac875037c3b56e5a598e32fd1206da06a27f",

SPECS-EXTENDED/kernel-ipe/kernel-ipe.spec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
Summary: Linux Kernel
3434
Name: kernel-ipe
3535
Version: 6.6.116.1
36-
Release: 1%{?dist}
36+
Release: 2%{?dist}
3737
License: GPLv2
3838
Vendor: Microsoft Corporation
3939
Distribution: Azure Linux
@@ -460,6 +460,9 @@ echo "initrd of kernel %{uname_r} removed" >&2
460460
%{_sysconfdir}/bash_completion.d/bpftool
461461

462462
%changelog
463+
* Tue Nov 18 2025 Rachel Menge <[email protected]> - 6.6.116.1-2
464+
- Enable dm-cache
465+
463466
* Mon Nov 10 2025 CBL-Mariner Servicing Account <[email protected]> - 6.6.116.1-1
464467
- Auto-upgrade to 6.6.116.1
465468

SPECS-SIGNED/kernel-64k-signed/kernel-64k-signed.spec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Summary: Signed Linux Kernel for %{buildarch} systems
88
Name: kernel-64k-signed-%{buildarch}
99
Version: 6.6.116.1
10-
Release: 1%{?dist}
10+
Release: 2%{?dist}
1111
License: GPLv2
1212
Vendor: Microsoft Corporation
1313
Distribution: Azure Linux
@@ -105,6 +105,9 @@ echo "initrd of kernel %{uname_r} removed" >&2
105105
%exclude /module_info.ld
106106

107107
%changelog
108+
* Tue Nov 18 2025 Rachel Menge <[email protected]> - 6.6.116.1-2
109+
- Bump release to match kernel,kernel-ipe,kernel-64k
110+
108111
* Mon Nov 10 2025 CBL-Mariner Servicing Account <[email protected]> - 6.6.116.1-1
109112
- Auto-upgrade to 6.6.116.1
110113

SPECS-SIGNED/kernel-signed/kernel-signed.spec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
Summary: Signed Linux Kernel for %{buildarch} systems
1111
Name: kernel-signed-%{buildarch}
1212
Version: 6.6.116.1
13-
Release: 1%{?dist}
13+
Release: 2%{?dist}
1414
License: GPLv2
1515
Vendor: Microsoft Corporation
1616
Distribution: Azure Linux
@@ -145,6 +145,9 @@ echo "initrd of kernel %{uname_r} removed" >&2
145145
%exclude /module_info.ld
146146

147147
%changelog
148+
* Tue Nov 18 2025 Rachel Menge <[email protected]> - 6.6.116.1-2
149+
- Bump release to match kernel,kernel-ipe,kernel-64k
150+
148151
* Mon Nov 10 2025 CBL-Mariner Servicing Account <[email protected]> - 6.6.116.1-1
149152
- Auto-upgrade to 6.6.116.1
150153

SPECS-SIGNED/kernel-uki-signed/kernel-uki-signed.spec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Summary: Signed Unified Kernel Image for %{buildarch} systems
77
Name: kernel-uki-signed-%{buildarch}
88
Version: 6.6.116.1
9-
Release: 1%{?dist}
9+
Release: 2%{?dist}
1010
License: GPLv2
1111
Vendor: Microsoft Corporation
1212
Distribution: Azure Linux
@@ -68,6 +68,9 @@ popd
6868
/boot/efi/EFI/Linux/vmlinuz-uki-%{kernelver}.efi
6969

7070
%changelog
71+
* Tue Nov 18 2025 Rachel Menge <[email protected]> - 6.6.116.1-2
72+
- Bump release to match kernel,kernel-ipe,kernel-64k
73+
7174
* Mon Nov 10 2025 CBL-Mariner Servicing Account <[email protected]> - 6.6.116.1-1
7275
- Auto-upgrade to 6.6.116.1
7376

SPECS/kernel-64k/config_aarch64

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3006,7 +3006,8 @@ CONFIG_DM_PERSISTENT_DATA=m
30063006
CONFIG_DM_CRYPT=m
30073007
CONFIG_DM_SNAPSHOT=m
30083008
CONFIG_DM_THIN_PROVISIONING=m
3009-
# CONFIG_DM_CACHE is not set
3009+
CONFIG_DM_CACHE=m
3010+
CONFIG_DM_CACHE_SMQ=m
30103011
# CONFIG_DM_WRITECACHE is not set
30113012
# CONFIG_DM_EBS is not set
30123013
# CONFIG_DM_ERA is not set

SPECS/kernel-64k/kernel-64k.signatures.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"Signatures": {
33
"azurelinux-ca-20230216.pem": "d545401163c75878319f01470455e6bc18a5968e39dd964323225e3fe308849b",
4-
"config_aarch64": "ae2486d379c03964595be584ed0ea56f0c605713272b2d7c840692e63d25a543",
4+
"config_aarch64": "2fc2d677906ae356257f7e2e246fd98752c9c953d75f40e815e141718b568467",
55
"cpupower": "d7518767bf2b1110d146a49c7d42e76b803f45eb8bd14d931aa6d0d346fae985",
66
"cpupower.service": "b057fe9e5d0e8c36f485818286b80e3eba8ff66ff44797940e99b1fd5361bb98",
77
"sha512hmac-openssl.sh": "02ab91329c4be09ee66d759e4d23ac875037c3b56e5a598e32fd1206da06a27f",

SPECS/kernel-64k/kernel-64k.spec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
Summary: Linux Kernel
2828
Name: kernel-64k
2929
Version: 6.6.116.1
30-
Release: 1%{?dist}
30+
Release: 2%{?dist}
3131
License: GPLv2
3232
Vendor: Microsoft Corporation
3333
Distribution: Azure Linux
@@ -380,6 +380,9 @@ echo "initrd of kernel %{uname_r} removed" >&2
380380
%{_sysconfdir}/bash_completion.d/bpftool
381381

382382
%changelog
383+
* Tue Nov 18 2025 Rachel Menge <[email protected]> - 6.6.116.1-2
384+
- Enable dm-cache
385+
383386
* Mon Nov 10 2025 CBL-Mariner Servicing Account <[email protected]> - 6.6.116.1-1
384387
- Auto-upgrade to 6.6.116.1
385388

0 commit comments

Comments
 (0)