null_blk synthetic block device for benchmarking and testing
A synthetic, in-memory block device that pretends to be a disk so kernel developers, distributions, and CI systems can benchmark the Linux block layer and test storage features without real SSDs or HDDs. It has no physical hardware counterpart and exists purely as a measurement and test harness.
Worth keeping but documenting its niche, because it is a virtual block device used for benchmarking the kernel's block layer and exercising storage code paths in CI rather than driving real hardware. Active 2026 development (including new copy-offload support) shows it is still being improved, so removal is not on the table; an annotation just helps casual readers understand it has no physical device behind it.
repository signals
7files
3,327source lines
128commits, 5y
+1,500 / −1,173lines added / removed, 5y
32authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 128 total · active in 41/61 months
LKDDb lists CONFIG_BLK_DEV_NULL_BLK across current kernel series through 7.0-rc+HEAD, indicating it remains a supported in-tree option.
codex reasoning notes (technical)
Synthetic test driver, not hardware-facing. `exec_command` on local Kconfig showed prompt 'Null test block driver'; `lore_activity` on drivers/block/null_blk/main.c showed multiple substantive 2026 patches, so this is actively maintained and not a removal candidate. Web search opened docs.kernel.org and LKDDb pages confirming its role as a virtual benchmark/test device and continued presence in current kernels. Because it has no sellable hardware lifecycle but still has meaningful CI, benchmarking, and block-layer test use, keep it with annotation rather than deprecate/remove.