Chapter 17 : Data Synchronization

17.1 Overview

17.2 The pdflush Mechanism

17.3 Starting a New Thread

17.4 Thread Initialization

17.5 Performing Actual Work

17.6 Periodic Flushing

17.7 Associated Data Structures

Page Status

Writeback Control

Adjustable Parameters

17.8 Central Control

17.9 Superblock Synchronization

17.10 Inode Synchronization

Walking the Superblocks

Examining Superblock Inodes

Writing Back Single Inodes

17.11 Congestion

Data Structures

Thresholds

Setting and Clearing the Congested State

Waiting on Congested Queues

17.12 Forced Writeback

17.13 Laptop Mode

17.14 System Calls for Synchronization Control

17.15 Full Synchronization

Synchronization of Inodes

Synchronization of Individual Files

Synchronization of Memory Mappings

Summary