drivers/block

Generic block device drivers (virtio-blk, RBD, zram, loop, nbd, ublk, and legacy floppies)

A catch-all directory holding the kernel's general-purpose block device drivers. It mixes very active virtual and network-backed storage (VirtIO disks for VMs, Ceph RBD images, zram compressed RAM disks, loop devices, NBD, the new ublk userspace block framework, and Xen front/back ends) with a handful of legacy bits like PS3, Amiga/Atari/Mac floppies, ATA-over-Ethernet, and Sun LDOM virtual disks.

keep-annotate conf=0.90 deploy=high replacement=none subsystem=block category=storage-block
90%

recommendation

Worth keeping but worth labelling, because the directory as a whole is one of the busiest in the kernel — feature work for ublk and bug fixes for RBD were still landing in 2026, and zram, loop, NBD, and virtio-blk are core to modern cloud, container, and VM deployments. The annotation case is about the few stragglers inside it (PS3, Amiga/Atari/Mac floppies, AoE, sunvdc, z2ram), which are the candidates that could eventually be split out or retired without affecting the active majority.

repository signals

109 files
92,556 source lines
1,516 commits, 5y
+30,937 / −40,550 lines added / removed, 5y
270 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 1,516 total · active in 60/61 months
2021 2022 2023 2024 2025 2026 2021-04: 12 commits · +224 −42 2021-05: 19 commits · +134 −206 2021-06: 47 commits · +642 −799 2021-07: 22 commits · +260 −369 2021-08: 32 commits · +284 −231 2021-09: 54 commits · +793 −631 2021-10: 43 commits · +345 −826 2021-11: 32 commits · +246 −190 2021-12: 12 commits · +99 −4,142 2022-01: 21 commits · +251 −408 2022-02: 20 commits · +131 −310 2022-03: 41 commits · +278 −301 2022-04: 50 commits · +710 −532 2022-05: 17 commits · +110 −110 2022-06: 10 commits · +167 −344 2022-07: 66 commits · +2,532 −2,250 2022-08: 20 commits · +382 −96 2022-09: 23 commits · +481 −272 2022-10: 15 commits · +497 −135 2022-11: 26 commits · +745 −240 2022-12: 21 commits · +555 −3,336 2023-01: 28 commits · +3,400 −11,055 2023-02: 19 commits · +110 −92 2023-03: 40 commits · +991 −830 2023-04: 26 commits · +267 −313 2023-05: 27 commits · +467 −305 2023-06: 24 commits · +448 −383 2023-07: 10 commits · +104 −44 2023-08: 19 commits · +397 −81 2023-09: 18 commits · +427 −346 2023-10: 13 commits · +262 −169 2023-11: 11 commits · +149 −101 2023-12: 19 commits · +66 −112 2024-01: 14 commits · +192 −188 2024-02: 44 commits · +698 −952 2024-03: 15 commits · +212 −211 2024-04: 14 commits · +271 −219 2024-05: 17 commits · +103 −70 2024-06: 34 commits · +361 −280 2024-07: 19 commits · +76 −85 2024-08: 10 commits · +78 −34 2024-09: 37 commits · +1,974 −688 2024-10: 17 commits · +315 −136 2024-11: 19 commits · +129 −89 2024-12: 18 commits · +239 −201 2025-01: 23 commits · +198 −177 2025-02: 16 commits · +222 −99 2025-03: 40 commits · +691 −461 2025-04: 43 commits · +2,128 −790 2025-05: 22 commits · +458 −197 2025-06: 29 commits · +393 −541 2025-07: 21 commits · +294 −3,158 2025-08: 13 commits · +223 −154 2025-09: 34 commits · +495 −173 2025-10: 13 commits · +265 −83 2025-11: 47 commits · +901 −680 2025-12: 32 commits · +820 −574 2026-01: 50 commits · +1,900 −352 2026-02: 13 commits · +303 −305 2026-03: 3 commits · +26 −29 2026-04: 0 commits · +0 −0

sources

  1. lore.kernel.org

    Recent upstream feature work is still landing in this directory (ublk persistent device links, April 23, 2026).

  2. lore.kernel.org

    Recent upstream bug-fix traffic also touches long-lived production drivers here (rbd null-ptr-deref fix, April 19, 2026).

  3. docs.kernel.org

    zram is current kernel-documented functionality for swap/tmp/cache use, indicating active real-world deployment rather than archival status.

  4. docs.ceph.com

    The kernel RBD driver remains part of current Ceph operations guidance for mapping block images.

  5. qemu.org

    QEMU still recommends VirtIO devices for virtual machines, supporting ongoing deployment relevance of virtio_blk.

codex reasoning notes (technical)

Not a single obsolete hardware family but an umbrella directory mixing active virtual/pseudo block drivers (virtio_blk, ublk, rbd, loop, nbd, zram, Xen back/front) with some clearly legacy platform code (PS3, Amiga/Atari/Mac floppies, AoE, sunvdc, z2ram). Local shell inspection via `rg --files drivers/block` and marker grep showed that mix. Lore evidence was obtained with `mcp__lore_http__.lore_regex` over patch diffs touching `drivers/block/`, which returned fresh 2026 linux-block patches for ublk, rbd, and null_blk; that is strong evidence against directory-level deprecation/removal. Deployment evidence came from `web.search_query` results on docs.kernel.org, docs.ceph.com, and qemu.org. Because the directory as a whole is active and still relevant in VM/cloud/storage deployments, removal is not justified; annotate or split out stale legacy members instead.