* [PR PATCH] linux6.11: Enable dm-vdo compression/deduplication module.
@ 2024-11-09 22:56 klardotsh
0 siblings, 0 replies; only message in thread
From: klardotsh @ 2024-11-09 22:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2279 bytes --]
There is a new pull request by klardotsh against master on the void-packages repository
https://github.com/klardotsh/void-packages klardotsh/vdo-6.11
https://github.com/void-linux/void-packages/pull/52976
linux6.11: Enable dm-vdo compression/deduplication module.
> For context on what VDO is, see [the userspace utilities repo README](https://github.com/dm-vdo/vdo) or [this Red Hat blog post](https://www.redhat.com/de/blog/look-vdo-new-linux-compression-layer).
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
"Tested" in the sense of:
- I built locally for x86_64 and aarch64 (glibc)
- During builds, I verified that Kconfig stated no changes to the config file were to be applied
- After installing the package, I verified that the kernel module existed on disk in a reasonable location:
```
$ file /lib/modules/6.11.6_2/kernel/drivers/md/dm-vdo/dm-vdo.ko.zst
/lib/modules/6.11.6_2/kernel/drivers/md/dm-vdo/dm-vdo.ko.zst: Zstandard compressed data (v0.8+), Dictionary ID: None
```
Doing further testing of this requires [userspace utilities](https://github.com/dm-vdo/vdo) I have yet to package (but hopefully intend to later today/this weekend)
I intend to open separate PRs to do a similar enablement for linux6.10 and linux6.9. (VDO was only upstreamed starting in 6.9).
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/52976.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-klardotsh/vdo-6.11-52976.patch --]
[-- Type: text/x-diff, Size: 2217 bytes --]
From c58edeaeb5e0928ee35d4bf9fbbd683b68fc523b Mon Sep 17 00:00:00 2001
From: Josh Klar <josh@klar.sh>
Date: Sat, 9 Nov 2024 14:51:25 -0800
Subject: [PATCH] linux6.11: Enable dm-vdo compression/deduplication module.
---
srcpkgs/linux6.11/files/arm64-dotconfig | 2 +-
srcpkgs/linux6.11/files/i386-dotconfig | 1 +
srcpkgs/linux6.11/files/x86_64-dotconfig | 2 +-
srcpkgs/linux6.11/template | 2 +-
4 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/linux6.11/files/arm64-dotconfig b/srcpkgs/linux6.11/files/arm64-dotconfig
index 8c79f96bede77f..edef7ebdec426f 100644
--- a/srcpkgs/linux6.11/files/arm64-dotconfig
+++ b/srcpkgs/linux6.11/files/arm64-dotconfig
@@ -3224,7 +3224,7 @@ CONFIG_DM_LOG_WRITES=m
CONFIG_DM_INTEGRITY=m
CONFIG_DM_ZONED=m
CONFIG_DM_AUDIT=y
-# CONFIG_DM_VDO is not set
+CONFIG_DM_VDO=m
CONFIG_TARGET_CORE=m
CONFIG_TCM_IBLOCK=m
CONFIG_TCM_FILEIO=m
diff --git a/srcpkgs/linux6.11/files/i386-dotconfig b/srcpkgs/linux6.11/files/i386-dotconfig
index a29e6385c34fa3..f747a4a3aa3ac9 100644
--- a/srcpkgs/linux6.11/files/i386-dotconfig
+++ b/srcpkgs/linux6.11/files/i386-dotconfig
@@ -2850,6 +2850,7 @@ CONFIG_DM_LOG_WRITES=m
# CONFIG_DM_INTEGRITY is not set
# CONFIG_DM_ZONED is not set
CONFIG_DM_AUDIT=y
+CONFIG_DM_VDO=m
CONFIG_TARGET_CORE=m
CONFIG_TCM_IBLOCK=m
CONFIG_TCM_FILEIO=m
diff --git a/srcpkgs/linux6.11/files/x86_64-dotconfig b/srcpkgs/linux6.11/files/x86_64-dotconfig
index 1ce7e683be2e8b..df5ea08b35c865 100644
--- a/srcpkgs/linux6.11/files/x86_64-dotconfig
+++ b/srcpkgs/linux6.11/files/x86_64-dotconfig
@@ -3030,7 +3030,7 @@ CONFIG_DM_LOG_WRITES=m
CONFIG_DM_INTEGRITY=m
CONFIG_DM_ZONED=m
CONFIG_DM_AUDIT=y
-# CONFIG_DM_VDO is not set
+CONFIG_DM_VDO=m
CONFIG_TARGET_CORE=m
CONFIG_TCM_IBLOCK=m
CONFIG_TCM_FILEIO=m
diff --git a/srcpkgs/linux6.11/template b/srcpkgs/linux6.11/template
index 7f6d76b5dfdb73..6fe504c3ce062f 100644
--- a/srcpkgs/linux6.11/template
+++ b/srcpkgs/linux6.11/template
@@ -1,7 +1,7 @@
# Template file for 'linux6.11'
pkgname=linux6.11
version=6.11.6
-revision=1
+revision=2
short_desc="Linux kernel and modules (${version%.*} series)"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="GPL-2.0-only"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-11-09 22:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-09 22:56 [PR PATCH] linux6.11: Enable dm-vdo compression/deduplication module klardotsh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).