Tagged articles
7 articles
Page 1 of 1
Deepin Linux
Deepin Linux
Oct 27, 2023 · Fundamentals

Understanding Linux Kernel I/O Mechanisms, File Systems, and Block I/O Scheduling

This article provides a comprehensive overview of Linux kernel I/O mechanisms, including file system interfaces, blocking and non‑blocking I/O, asynchronous models, multiplexing with select/epoll, EXT file‑system structures, VFS abstraction, consistency and journaling, as well as the complete block I/O path, scheduling algorithms, and debugging tools.

Block I/OI/Ofile system
0 likes · 29 min read
Understanding Linux Kernel I/O Mechanisms, File Systems, and Block I/O Scheduling
Liangxu Linux
Liangxu Linux
Jan 25, 2021 · Fundamentals

How Journaling File Systems Prevent Data Corruption After Crashes

This article explains why file writes are non‑atomic, illustrates the risks of partial writes, and details how journaling (write‑ahead logging) and its variants—data and metadata journaling—ensure filesystem consistency and performance on Linux systems.

Ext3Filesystemdata integrity
0 likes · 8 min read
How Journaling File Systems Prevent Data Corruption After Crashes
MaGe Linux Operations
MaGe Linux Operations
Dec 1, 2020 · Fundamentals

Why Journaling Keeps File Systems Safe: Write-Ahead Logging Explained

File systems risk data corruption during power loss or crashes because writes are not atomic, so journaling—recording intended operations in a write‑ahead log before committing them—ensures metadata and user data consistency, with variations like data journaling and ordered (metadata) journaling improving performance and reliability.

Write-Ahead Loggingdata integrityjournaling
0 likes · 6 min read
Why Journaling Keeps File Systems Safe: Write-Ahead Logging Explained
Efficient Ops
Efficient Ops
Nov 4, 2020 · Fundamentals

How Journal File Systems Prevent Data Corruption After Crashes

Journal file systems use write‑ahead logging to record each write operation as a transaction, ensuring that after power loss or crashes the system can replay logs and maintain metadata and user‑data consistency, avoiding corruption and space waste through techniques like data, ordered, and metadata journaling.

Data ConsistencyWrite-Ahead Loggingfile system
0 likes · 8 min read
How Journal File Systems Prevent Data Corruption After Crashes
Efficient Ops
Efficient Ops
Mar 3, 2019 · Fundamentals

How Journal File Systems Prevent Data Loss After Crashes

Journal file systems protect against data corruption caused by power loss or crashes by recording each write operation as a transaction in a dedicated log, then committing the changes only after the log is safely stored, enabling replay to restore consistency.

Data ConsistencyWrite-Ahead Loggingfile system
0 likes · 6 min read
How Journal File Systems Prevent Data Loss After Crashes
ITPUB
ITPUB
Mar 3, 2017 · Fundamentals

What Really Happens to Files and Disks During a Power Outage?

When power is lost mid‑write, the write command, device caches, and ordering become uncertain, and file systems employ various strategies—ranging from ignoring errors to copy‑on‑write and journaling—to mitigate data loss, each with trade‑offs in performance and reliability.

Copy-on-Writedata integrityext4
0 likes · 9 min read
What Really Happens to Files and Disks During a Power Outage?