Spring 2017 :: CSE 506
File System Implementation
Nima Honarmand
File System Implementation Nima Honarmand Spring 2017 :: CSE 506 - - PowerPoint PPT Presentation
Spring 2017 :: CSE 506 File System Implementation Nima Honarmand Spring 2017 :: CSE 506 File Systems FS, FFS, FAT, ext2/3/4, NTFS, View disk as an array of blocks Each block contains one or more disk sectors Sectors
Spring 2017 :: CSE 506
Nima Honarmand
Spring 2017 :: CSE 506
new ones don’t care much about the details anymore
Spring 2017 :: CSE 506
and/or writing) both metadata and data blocks
Spring 2017 :: CSE 506
design
number
blocks for large files
inode number) entries
Spring 2017 :: CSE 506
Source: Wikipedia article on ext2
Spring 2017 :: CSE 506
… before marking block as used in bitmap
… before removing old inode that points to it
… without putting it in a directory
Spring 2017 :: CSE 506
inconsistent!
inodes, free-list bitmaps, data blocks (page cache)
Spring 2017 :: CSE 506
doesn’t
updated
Spring 2017 :: CSE 506
Spring 2017 :: CSE 506
reachable
Spring 2017 :: CSE 506
involved
Spring 2017 :: CSE 506
are going to make to service a high-level operation
Spring 2017 :: CSE 506
the write
Spring 2017 :: CSE 506
Spring 2017 :: CSE 506
writes
Spring 2017 :: CSE 506
Spring 2017 :: CSE 506
Spring 2017 :: CSE 506
Spring 2017 :: CSE 506
chunks of blocks with an extent
+ More efficient for large files
Spring 2017 :: CSE 506
Spring 2017 :: CSE 506