- 1、本文档共42页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Chapter 12 File System Implementation.PPT
Chapter 12: File System Implementation File System Structure File System Implementation Directory Implementation Allocation Methods Free-Space Management Efficiency and Performance Recovery Log-Structured File Systems NFS File-System Structure File structure Logical storage unit Collection of related information File system resides on secondary storage (disks). File system organized into layers. File control block – storage structure consisting of information about a file. Layered File System A Typical File Control Block In-Memory File System Structures Virtual File Systems Virtual File Systems (VFS) provide an object-oriented way of implementing file systems. VFS allows the same system call interface (the API) to be used for different types of file systems. The API is to the VFS interface, rather than any specific type of file system. User program Kernel, VSF interface Schematic View of Virtual File System Directory Implementation Linear list of file names with pointer to the data blocks. simple to program time-consuming to execute Hash Table – linear list with hash data structure. decreases directory search time collisions – situations where two file names hash to the same location fixed size An improved implementation is a hash table with a linked list (entry) Collision free Can grow Allocation Methods An allocation method refers to how disk blocks are allocated for files: Contiguous allocation Linked allocation Indexed allocation Contiguous Allocation Each file occupies a set of contiguous blocks on the disk. Simple – only starting location (block #) and length (number of blocks) are required. Random access. Wasteful of space (dynamic storage-allocation problem). Files cannot grow. Contiguous Allocation of Disk Space Extent-Based Systems Many newer file systems (I.e. Veritas File System) use a modified contiguous allocation scheme. Extent-based file systems allocate disk blocks in extents. An extent is a contiguous block of disks. Extents are
您可能关注的文档
- 24 给予是快乐的.ppt
- 2、平均速度.ppt
- 2、我国财政赤字与发达资本主义国家财政赤字的不同性质.ppt
- 3.1 电磁感应现象.ppt
- 3I与各科的整合.ppt
- 4.2 直接三角分解法.ppt
- 4.6 他励直流电动机的瞬态分析与控制.ppt
- 5 成本理论.ppt
- 5.1 基本迭代方法.ppt
- 5.2 “是否”问题及语言.ppt
- 2024-2025学年湖南省邵阳市洞口县第九中学高三下学期第三次月考综合试题含解析.doc
- 高校与高中的职业指导资源整合研究论文.docx
- 初中化学教学思维导图设计策略与教学实践研究论文.docx
- 中小学文化活动的规范化发展研究论文.docx
- 2024-2025学年吉林省舒兰一中、吉化一中、九台一中、榆树实验中学高三第二学期期末质量抽测化学试题试卷含解析.doc
- 高中艺术鉴赏课程教学中的审美体验与情感共鸣研究论文.docx
- 职业生涯规划课程对高中学生人生发展的引导作用论文.docx
- 2024-2025学年广东省茂名市电白县第一中学高考化学试题模拟试卷(5月份)含解析.doc
- 医院医疗护士培训人文关怀与优质护理.pptx
- 2024-2025学年河南省郑州市嵩阳高级中学高考模拟信息考试化学试题(三)含解析.doc
文档评论(0)