ReiserFS File System in Linux Server Operating System

Source: Internet
Author: User
Article Title: ReiserFS File System in Linux Server Operating System. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

ReiserFS is a very good file system, and its developers are very energetic. The entire file system is completely designed from scratch. At present, ReiserFS can easily manage file systems of hundreds of GB, which is very important in enterprise applications. The ReiserFS is designed based on object-oriented thinking and consists of the semantic layer and storage layer. The Semantic layer mainly manages object namespaces and defines object interfaces to determine object functions. The storage layer manages disk space. The Semantic layer is associated with the storage layer through keys. The Semantic layer parses the object name to generate a key. The storage layer uses the key to locate the storage space of the object on the disk. The key value is globally unique.

Main semantic layer Interfaces

1) Each file of the file interface has an interface ID, which identifies a method set. This method set contains all interfaces for accessing the ReiserFS file.

2) The property interface ReiserFS implements a new interface that treats each property of a file as a file. The property value is the content of this file, to implement directory-based access to file properties.

3) the hash Interface directory is the ing table from the file name to the file, and the ReiserFS implements this ing table through the B + tree. Because the file name is variable and sometimes the file name will be long, the file name is not suitable as the key value, so the Hash function is introduced to generate the key value.

4) The security interface handles all security checks, usually triggered by the file interface. The following uses the read File as an example: the read method of the file interface will call the read chech method of the security interface to check the security before reading the file data, the latter will call the read method of the property file to read the file property for inspection.

5) The Item interface is mainly used to balance items, including splitting items, evaluating items, overwriting items, and appending items, item deletion, insertion, and search.

6) The key Assignment interface is triggered when a key is assigned to an item. Each item has a key allocation method.

[1] [2] Next page

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.