drivers/target/iscsi

LIO iSCSI Target Server

The kernel-side server half of iSCSI: it lets a Linux machine export local block devices, files, or other backstores to remote initiators over TCP/IP as if they were SCSI disks. It is the engine behind targetcli-configured SAN appliances and is widely used in enterprise storage, virtualization hosts, and DIY storage servers.

keep conf=0.87 deploy=medium replacement=none subsystem=target category=storage-scsi-ata
87%

recommendation

It should stay in the kernel because LIO is the standard in-kernel iSCSI target implementation that turns a Linux box into a SAN server, and it remains the supported way to host iSCSI storage on Red Hat Enterprise Linux 8 and 10 via targetcli. Recent bug fixes in 2026 on linux-scsi, including a use-after-free fix and a CDB validation hardening patch, show it is actively maintained with no replacement on the horizon.

repository signals

43 files
25,408 source lines
66 commits, 5y
+1,758 / −1,727 lines added / removed, 5y
29 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 66 total · active in 34/61 months
2021 2022 2023 2024 2025 2026 2021-04: 2 commits · +30 −18 2021-05: 1 commit · +0 −7 2021-06: 1 commit · +0 −2 2021-07: 1 commit · +1 −1 2021-08: 0 commits · +0 −0 2021-09: 1 commit · +32 −59 2021-10: 2 commits · +38 −15 2021-11: 0 commits · +0 −0 2021-12: 0 commits · +0 −0 2022-01: 1 commit · +3 −0 2022-02: 0 commits · +0 −0 2022-03: 1 commit · +114 −3 2022-04: 3 commits · +784 −784 2022-05: 4 commits · +204 −131 2022-06: 1 commit · +1 −2 2022-07: 5 commits · +176 −38 2022-08: 0 commits · +0 −0 2022-09: 1 commit · +2 −2 2022-10: 1 commit · +1 −1 2022-11: 1 commit · +10 −2 2022-12: 0 commits · +0 −0 2023-01: 1 commit · +2 −0 2023-02: 1 commit · +7 −5 2023-03: 7 commits · +58 −26 2023-04: 0 commits · +0 −0 2023-05: 3 commits · +106 −96 2023-06: 2 commits · +9 −35 2023-07: 2 commits · +36 −36 2023-08: 0 commits · +0 −0 2023-09: 5 commits · +12 −12 2023-10: 0 commits · +0 −0 2023-11: 0 commits · +0 −0 2023-12: 0 commits · +0 −0 2024-01: 0 commits · +0 −0 2024-02: 0 commits · +0 −0 2024-03: 1 commit · +1 −2 2024-04: 0 commits · +0 −0 2024-05: 0 commits · +0 −0 2024-06: 0 commits · +0 −0 2024-07: 0 commits · +0 −0 2024-08: 1 commit · +0 −15 2024-09: 0 commits · +0 −0 2024-10: 1 commit · +3 −3 2024-11: 0 commits · +0 −0 2024-12: 4 commits · +50 −364 2025-01: 0 commits · +0 −0 2025-02: 1 commit · +3 −3 2025-03: 0 commits · +0 −0 2025-04: 1 commit · +4 −4 2025-05: 2 commits · +8 −6 2025-06: 0 commits · +0 −0 2025-07: 0 commits · +0 −0 2025-08: 0 commits · +0 −0 2025-09: 2 commits · +5 −4 2025-10: 0 commits · +0 −0 2025-11: 1 commit · +1 −1 2025-12: 1 commit · +1 −0 2026-01: 2 commits · +8 −2 2026-02: 2 commits · +48 −48 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. lore.kernel.org

    linux-scsi carried an April 15, 2026 functional fix for drivers/target/iscsi ('reject invalid size Extended CDB AHS'), indicating active upstream maintenance.

  2. lore.kernel.org

    linux-scsi carried a January 12, 2026 bug fix for a use-after-free in the iSCSI target path, showing current bug-fix traffic rather than abandonment.

  3. docs.redhat.com

    RHEL 10 documentation still instructs administrators to install targetcli, start the target service, and configure LIO-backed iSCSI targets, showing present-day supported deployment.

  4. docs.redhat.com

    RHEL 8 documents current LIO backstores and iSCSI target configuration, reinforcing that this remains a supported storage-server feature rather than dead legacy code.

codex reasoning notes (technical)

Obtained two lore URLs via mcp__lore_http__.lore_regex on patch diffs matching '^diff --git a/drivers/target/iscsi/' in linux-scsi over the last 5 years; both are recent functional fixes. Obtained the Red Hat docs URLs via web search restricted to official docs. This directory implements the software LIO iSCSI target fabric, not a discrete hardware chipset driver, so hardware lifecycle fields are inherently N/A-like; iSCSI target deployments still exist in enterprise/storage niches, and there is no upstream replacement driver covering the same in-kernel target role.