Filesystem
1
Disclaimer: some slides are adopted from book authors’ slides with permission
Filesystem Disclaimer: some slides are adopted from book authors - - PowerPoint PPT Presentation
Filesystem Disclaimer: some slides are adopted from book authors slides with permission 1 Storage Subsystem in Linux OS User Applications User Kernel System call Interface Inode Directory Virtual File System (VFS) cache cache
1
Disclaimer: some slides are adopted from book authors’ slides with permission
2
System call Interface Virtual File System (VFS) Filesystem (FAT, ext4, …) Buffer cache Inode cache Directory cache I/O Scheduler User Applications
3
4
5
6
7
8
– 256 blocks
– 64K blocks
– 16M blocks
9
10
11
12
13
14
$ ls –i project2/ 24242928 directory 25311615 dot_vimrc 25311394 linux-2.6.32.60.tar.gz 22148028 scheduling.html 25311610 kvm-kernel-build 22147399 project2.pdf 25311133 scheduling.pdf 25311604 kvm-kernel.config 25311612 reinstall-kernel 25311606 thread_runner.tar.gz
Inode number Filename (or dirname)
15
16
17
directory
18
19
20
21
22
23
FAT EXT4 NFS
24