Disable lz4 compression as the kernel doesnt support it

This commit is contained in:
Audiobuzz
2026-06-14 10:26:23 +00:00
parent 2a09476649
commit 754eced171
2 changed files with 19 additions and 4 deletions
+9
View File
@@ -128,6 +128,15 @@ boot LAN.
- `nvme_tcp`/`nvme_fabrics` must be loaded before `/dev/nvme-fabrics` exists
(dracut's `nvmf` module does this in a normal boot; at `rd.break` modprobe
manually).
- The target Rocky 9 kernel's erofs is built **without
`CONFIG_EROFS_FS_ZIP`** — mounting a compressed image fails `erofs: lz4
algorithm isn't enabled`, which silently blocks the root mount. **Fixed:**
`extract-artifacts.sh` now builds the erofs **uncompressed** (`mkfs.erofs`
without `-z`). Tradeoff: larger rootfs namespace + more NVMe/TCP bandwidth
per read. Re-enable compression only against a kernel verified to have
`EROFS_FS_ZIP` (`grep CONFIG_EROFS /boot/config-$(uname -r)`). This is the
CLAUDE.md bench-verify item ("erofs module availability on the target RHEL
kernel"). Larger image size also feeds the "shrink the rootfs" angle of #7.
- SPDK: add the listener to the discovery subsystem explicitly
(`nqn.2014-08.org.nvmexpress.discovery`) to silence the deprecation warning.