Tag

ext4

1 views collected around this technical thread.

Deepin Linux
Deepin Linux
Feb 7, 2025 · Fundamentals

Understanding ext4 Extent: Data Structures and B+‑Tree Mechanism

This article explains the purpose, design, and internal data structures of ext4 extents, describes how the B+‑tree indexes extents for efficient mapping of logical to physical blocks, and compares ext4’s extent mechanism with older file‑system addressing methods and other modern file systems.

B-TreeLinux kerneldata structures
0 likes · 37 min read
Understanding ext4 Extent: Data Structures and B+‑Tree Mechanism
Ops Development Stories
Ops Development Stories
Jun 23, 2021 · Fundamentals

How Linux VFS Mounts ext4: Deep Dive into Superblocks, Inodes, and Dentries

This article explains the object‑oriented design of the Linux VFS, details the four core VFS structures, shows how ext4 is registered and mounted via register_filesystem and ext4_mount, and walks through the six‑step ext4_fill_super process for initializing superblocks and related metadata.

KernelVFSext4
0 likes · 12 min read
How Linux VFS Mounts ext4: Deep Dive into Superblocks, Inodes, and Dentries
Ops Development Stories
Ops Development Stories
Jun 22, 2021 · Fundamentals

How Ext4 Stores Data: Inodes, Extents, and Directory Indexes Explained

This article explains how the ext4 file system organizes data using inodes, direct and indirect blocks, extents, and directory indexing, detailing the structures, code definitions, and performance implications for both small and large files.

Inodedirectory-indexext4
0 likes · 13 min read
How Ext4 Stores Data: Inodes, Extents, and Directory Indexes Explained
Ops Development Stories
Ops Development Stories
Jun 18, 2021 · Fundamentals

How Do Disks Work? A Deep Dive into HDD, SSD, and Ext4 Filesystem Architecture

This article explains the physical and logical operation of mechanical hard drives and solid‑state drives, details the Ext4 filesystem structures such as superblocks, inodes, block groups, flexible and meta block groups, and outlines allocation strategies and link types.

HDDInodeSSD
0 likes · 13 min read
How Do Disks Work? A Deep Dive into HDD, SSD, and Ext4 Filesystem Architecture
Refining Core Development Skills
Refining Core Development Skills
Apr 25, 2020 · Fundamentals

Why Listing Large Directories Is Slow: Inode and Block Consumption in ext4

The article explains how directories consume inodes and filesystem blocks, how this consumption grows with many files or long filenames, and why the ls command can become sluggish, offering practical tips to mitigate the performance impact.

InodePerformancedisk space
0 likes · 8 min read
Why Listing Large Directories Is Slow: Inode and Block Consumption in ext4
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 1, 2019 · Fundamentals

How to Retrieve File Creation, Access, and Modification Timestamps on Linux (ext4)

This guide explains Linux file timestamps (ATime, MTime, CTime), why creation time is missing on older filesystems, and provides step‑by‑step methods—including using stat, debugfs, and a custom shell script—to obtain a file’s creation (crtime) timestamp on ext4 systems.

File Timestampscrtimedebugfs
0 likes · 11 min read
How to Retrieve File Creation, Access, and Modification Timestamps on Linux (ext4)
Efficient Ops
Efficient Ops
Jul 26, 2018 · Fundamentals

Understanding Linux EXT Filesystems: From EXT2 to EXT4 and Their Core Features

This article explores the evolution, architecture, and key features of Linux EXT filesystems—including Minix origins, EXT2, EXT3, and EXT4—detailing metadata structures, inode handling, fragmentation mitigation, journaling, and practical upgrade and maintenance considerations.

File System ArchitectureInodeext4
0 likes · 20 min read
Understanding Linux EXT Filesystems: From EXT2 to EXT4 and Their Core Features
Tencent Database Technology
Tencent Database Technology
May 17, 2018 · Operations

Analysis of ext4 Soft Lockup Caused by Extent Status LRU Lock Contention in Linux 3.10

This article examines a Linux 3.10 kernel soft‑lockup bug where the ext4 extent‑status LRU spin‑lock is held for over 20 seconds under memory pressure, explains the ext4 delayed‑allocation mechanism, block lookup process, extent‑status cache shrinkage, and presents the community's mitigation approach.

LRU spin lockLinux kernelext4
0 likes · 12 min read
Analysis of ext4 Soft Lockup Caused by Extent Status LRU Lock Contention in Linux 3.10
Tencent Database Technology
Tencent Database Technology
Nov 6, 2017 · Fundamentals

Deep Dive into the Linux rm Command: VFS, ext4 Unlink Process and I/O Impact

This article explains what happens inside the Linux kernel when the rm command deletes a file on an ext4 filesystem, analyzes the relevant VFS and ext4 source code, and demonstrates how large‑file deletions can degrade I/O performance of other applications.

KernelPerformanceVFS
0 likes · 12 min read
Deep Dive into the Linux rm Command: VFS, ext4 Unlink Process and I/O Impact
Practical DevOps Architecture
Practical DevOps Architecture
Sep 28, 2017 · Operations

Guidelines for Partitioning and Formatting Large Disks on Linux (GPT, XFS, EXT4)

This guide explains how to manage large Linux disks by using GPT partition tables, choosing XFS or EXT4 filesystems, performing partitioning with parted, formatting with appropriate mkfs commands, handling e2fsprogs version requirements, and considerations for lazy init and snapshot impacts.

XFSdisk partitioningext4
0 likes · 6 min read
Guidelines for Partitioning and Formatting Large Disks on Linux (GPT, XFS, EXT4)