Tag

Block Layer

1 views collected around this technical thread.

Efficient Ops
Efficient Ops
Jan 9, 2023 · Fundamentals

Demystifying Linux I/O: From VFS and Inodes to ZFS and Block Layer

This article explains how Linux handles I/O operations, covering the virtual file system, inode and dentry structures, superblock layout, ZFS features, disk types, the generic block layer, I/O scheduling strategies, and key performance metrics for storage.

Block LayerI/OVFS
0 likes · 18 min read
Demystifying Linux I/O: From VFS and Inodes to ZFS and Block Layer
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Sep 18, 2020 · Fundamentals

Linux SCSI Subsystem Architecture and Design Framework

The article thoroughly examines the Linux SCSI subsystem architecture, illustrating how abstract hardware topology—hosts, channels, IDs, and LUNs—is modeled in software through structs such as scsi_host and scsi_device, and detailing initialization, scanning, path establishment, power management, and block‑layer integration to guide kernel storage driver design.

Block LayerDevice DriverLinux kernel
0 likes · 20 min read
Linux SCSI Subsystem Architecture and Design Framework
OPPO Kernel Craftsman
OPPO Kernel Craftsman
May 8, 2020 · Fundamentals

Linux blk-mq Multi-queue Block Device Layer Framework and Implementation

The Linux blk-mq framework replaces the legacy single-queue block layer with a two-queue architecture—per-CPU software queues and hardware dispatch queues—eliminating lock contention and interrupt overhead, pre-allocating request tags, and supporting modern multi-queue I/O schedulers to fully exploit high-IOPS SSD performance.

Block LayerLinux kernelMulti-Queue
0 likes · 20 min read
Linux blk-mq Multi-queue Block Device Layer Framework and Implementation
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Mar 20, 2020 · Operations

Understanding the Linux Block Layer: Multi‑Queue Architecture and I/O Schedulers

The Linux block layer, positioned between the VFS and device drivers, evolved from a single‑queue design to a multi‑queue architecture (kernel 3.13 onward) to reduce lock contention and exploit modern hardware queues, managing bio/request lifecycles, dispatching through layered queues, and employing various I/O schedulers for balanced throughput and latency.

Block LayerI/O schedulerKernel
0 likes · 15 min read
Understanding the Linux Block Layer: Multi‑Queue Architecture and I/O Schedulers