







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Advance Operating Systems is about internal structure of your computer. It discuss concepts of threading, memory management, security, paging, process scheduling, deadlock, trojan and cache. This lecture is part of lecture series for course. It includes: Log, Structured, File, System, Journaling, Transactions, Updated, Operations, Crash, Recovery, Management
Typology: Slides
1 / 13
This page cannot be seen from the preview
Don't miss anything!








Add log area to disk.
Always write changes to log first – called write-ahead logging or journaling. Then write the changes to the file system. All reads go to the file system. Crash recovery – read log and correct any inconsistencies in the file system.
Observation: Log only needed for crash recovery
Checkpoint operation – make in-memory copy of file system (file cache) consistent with disk.
Most logging file systems only log metadata (file descriptors and directories) and not file data to keep log size down.
Fast recovery: recovery time O(active operations) and not O(disk size) Better performance if changes need to be reliable
Examples:
Superblock object Represents a specific mounted file system
Inode object Represents a specific file
Dentry object Represents a specific directory entry
File object Represents an open file associated with a process