drivers/target

LIO SCSI Target Framework (TCM)

An in-kernel framework that turns a Linux server into a SCSI storage target, exporting local block devices, files, or pass-through SCSI devices to other machines over fabrics like iSCSI, Fibre Channel, FireWire (SBP-2), and loopback. It is the engine behind the targetcli tool and is widely used to build software-defined SAN appliances and shared storage for virtualization clusters.

keep conf=0.83 deploy=medium replacement=none subsystem=target category=storage-scsi-ata
83%

recommendation

It should stay because LIO is the standard in-kernel iSCSI/SCSI target on Linux and remains in active use on current enterprise distributions like Red Hat Enterprise Linux 8 and Debian, configured through targetcli. Upstream maintenance is healthy, with recent fixes and new feature work (such as backend-context command completion) landing in 2025-2026 from Oracle's Michael Christie, and there is no replacement framework on the horizon.

repository signals

93 files
64,495 source lines
290 commits, 5y
+6,355 / −3,880 lines added / removed, 5y
83 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 290 total · active in 55/61 months
2021 2022 2023 2024 2025 2026 2021-04: 7 commits · +142 −90 2021-05: 11 commits · +51 −27 2021-06: 2 commits · +1 −3 2021-07: 9 commits · +226 −109 2021-08: 4 commits · +38 −25 2021-09: 15 commits · +261 −175 2021-10: 10 commits · +74 −53 2021-11: 3 commits · +16 −16 2021-12: 0 commits · +0 −0 2022-01: 4 commits · +7 −9 2022-02: 7 commits · +96 −60 2022-03: 3 commits · +144 −23 2022-04: 18 commits · +856 −853 2022-05: 6 commits · +210 −138 2022-06: 8 commits · +68 −33 2022-07: 9 commits · +203 −189 2022-08: 2 commits · +2 −1 2022-09: 18 commits · +1,024 −41 2022-10: 2 commits · +1 −9 2022-11: 8 commits · +109 −80 2022-12: 1 commit · +5 −7 2023-01: 3 commits · +5 −3 2023-02: 2 commits · +13 −17 2023-03: 21 commits · +716 −342 2023-04: 6 commits · +442 −59 2023-05: 3 commits · +114 −104 2023-06: 8 commits · +27 −53 2023-07: 2 commits · +36 −36 2023-08: 5 commits · +22 −17 2023-09: 12 commits · +166 −109 2023-10: 1 commit · +1 −1 2023-11: 1 commit · +1 −0 2023-12: 1 commit · +1 −0 2024-01: 2 commits · +26 −27 2024-02: 4 commits · +51 −20 2024-03: 1 commit · +1 −2 2024-04: 0 commits · +0 −0 2024-05: 1 commit · +0 −1 2024-06: 1 commit · +26 −23 2024-07: 0 commits · +0 −0 2024-08: 1 commit · +0 −15 2024-09: 0 commits · +0 −0 2024-10: 4 commits · +22 −22 2024-11: 1 commit · +2 −2 2024-12: 4 commits · +50 −364 2025-01: 4 commits · +15 −11 2025-02: 3 commits · +20 −32 2025-03: 3 commits · +15 −16 2025-04: 3 commits · +196 −97 2025-05: 4 commits · +77 −75 2025-06: 1 commit · +3 −1 2025-07: 2 commits · +89 −30 2025-08: 0 commits · +0 −0 2025-09: 7 commits · +141 −209 2025-10: 9 commits · +145 −29 2025-11: 7 commits · +16 −23 2025-12: 4 commits · +166 −26 2026-01: 5 commits · +16 −7 2026-02: 5 commits · +153 −159 2026-03: 2 commits · +47 −7 2026-04: 0 commits · +0 −0

sources

  1. lore.kernel.org

    Recent 2026 fix traffic in target core shows active upstream maintenance, not abandonment.

  2. lore.kernel.org

    Recent 2026 functional work added backend-context command completion support in scsi target core.

  3. access.redhat.com

    Current enterprise distro documentation still covers configuring iSCSI targets with targetcli and LIO backstores including block, fileio, pscsi, and ramdisk.

  4. wiki.debian.org

    Debian wiki documents LIO as the in-kernel iSCSI target and describes targetcli-fb usage, indicating ongoing real deployments.

codex reasoning notes (technical)

`drivers/target` is a real driver/subsystem, not an internal helper: local shell read of `drivers/target/Kconfig` shows target-core and fabric modules (iblock, fileio, pscsi, iscsi, loopback, tcm_fc, sbp, tcm_remote). Lore evidence came from `mcp__lore_http__.lore_activity` on `drivers/target/target_core_device.c`, which returned 2025-2026 fixes and feature work via the cited lore URLs. A broader lore subject scan and a `lei` query were attempted for removal/deprecation discussion, but timed out / were blocked in this sandbox; with the available lore sample, I found active maintenance rather than removal signals. Deployment evidence came from web search results opened from Red Hat and Debian pages showing current docs for LIO/targetcli usage on supported distro releases. Because this is a software target framework used on current servers rather than a dead chipset-specific driver, there is no natural in-tree replacement and no meaningful hardware EOL year to assign.