SoftUpdate review

Background:
Metadata: (directories, inode, free block maps),就是关于文件的信息,存在哪里,inode 在哪里,一个文件分为许多block, 每一个 block 都放在哪儿
Synchronous write: 局限性大,速度完全由disk speed 决定,非常慢。



Issue:
System crash, such as power or system failure may result in file system inconsistence
内存中的信息可能会全部丢失。有可能一个文件在文件夹创建了,但是给它分配inode,
或者inode, 分配了,文件夹没有文件。前者更为严重。
Also, the size of metadata is small, they have strong temporal and spacial locality.


Solution:
Employ caching to avoid disk access and hide disk access latencies.
Combine multiple update in a single write

评论

此博客中的热门博文

Embedded System interview Question

MicroKernel & Exokernel 操作系统未来可能的发展

中国城市房地产分析