File systems accessing register dynamic collection method
A technology for access records and file systems, applied in hardware monitoring, special data processing applications, instruments, etc., can solve problems such as interruption of user applications, failure to collect file system internal operations, loss, etc., to reduce the number of times and prevent total capacity Effect of oversized, safe uninstall
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Publication Date
- 2010-01-20
- Estimated Expiration
- Not applicable · inactive patent
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
Description
technical field
[0001] The method for dynamically collecting file system access records belongs to the field of test and performance analysis of storage systems, and particularly relates to the field of file system operation tracking and analysis. Background technique
[0002] File system access record collection technology refers to recording the type, occurrence time and parameters of operations in the file system into log files for future analysis and testing. The main purposes of the file system access records are as follows: First, the access records help to design better hardware and software, find the bottleneck of the file system, and provide valuable data for system optimization and improvement. For example, you can use various data such as the ratio of file creation, the distribution of file read and write operations, and the frequency of file operations to evaluate whether the system is effective and meets expectations. Access records can be used to analyze and o...
Examples
Embodiment Construction
[0070] The method for dynamically collecting file access records is realized between the virtual file system layer (VFS) of the Linux operating system and the underlying file system, and can be used for collecting access information of any underlying file system.
[0071] The structural diagram of the present invention is as figure 1 As shown, it has the following modules:
[0072] Module (1). The file system operation interception module is divided into three sub-modules
[0073] Module (1.1). Super block operation interception module: used to intercept the super operation set by the super block operation function table of the super block used to store the set file system information in the underlying file system, which contains at least the super block read Write operations, the file system mount and unmount operations, and inode creation and deletion operations.
[0074] Module (1.2). Index node operation interception module: the index node operation interception module ...