Method for consistent update of data in memory file system
A memory file system and update method technology, which is applied in the field of ensuring the consistency of file data updates in memory file systems, can solve problems such as increased data update request overhead, and achieve the effects of avoiding large amounts of data copying, reducing overhead, and high performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0049] Below in conjunction with accompanying drawing and embodiment the present invention will be further described:
[0050] The method of the invention is as follows: firstly, when the file is opened, an exclusive backup file is assigned to the file. Then in the subsequent process, whenever the file data is to be updated, the backup file is used for data consistency update. Finally, when the file is closed, the corresponding backup file is recycled.
[0051] Such as figure 2 As shown, the flow process of the present invention begins in step 101, then:
[0052] In step 102, determine whether the file is opened for the first time, if so, then perform step 103; otherwise, perform step 105;
[0053] In step 103, the memory file system allocates an idle index node, and allocates a backup file to the file;
[0054] In step 104, the memory file system opens the backup file in the kernel virtual address space;
[0055] When opening the backup file, first allocate a section of...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 