mirror of
https://github.com/xcat2/confluent.git
synced 2026-12-01 23:02:22 +00:00
3b2e2ceae8
On kernels with pages larger than 4k, such as the RHEL 10 aarch64 kernel-64k, zram never completes a discard that covers only part of a page. XFS with 4k blocks issues such discards with -o discard, and the diskless boot hangs in update-ca-trust. Fixed upstream in https://git.kernel.org/torvalds/c/e3668b371329 zram reports the page size as its physical block size. Using it as the XFS block size keeps every discard page aligned. Kernels with 4k pages keep 4k blocks. Fixes #414