CN103440204B - A kind of method of updating file system and memory device - Google Patents

A kind of method of updating file system and memory device Download PDF

Info

Publication number
CN103440204B
CN103440204B CN201310380010.8A CN201310380010A CN103440204B CN 103440204 B CN103440204 B CN 103440204B CN 201310380010 A CN201310380010 A CN 201310380010A CN 103440204 B CN103440204 B CN 103440204B
Authority
CN
China
Prior art keywords
superblock
file
file system
updated
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310380010.8A
Other languages
Chinese (zh)
Other versions
CN103440204A (en
Inventor
李洪武
孔晗
蒲贵友
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Haining Warp Knitting Industrial Park Development Co., Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310380010.8A priority Critical patent/CN103440204B/en
Publication of CN103440204A publication Critical patent/CN103440204A/en
Application granted granted Critical
Publication of CN103440204B publication Critical patent/CN103440204B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the present invention provides a kind of method and memory device of updating file system, can improve the write efficiency of memory device, reduce simultaneously and significantly swing by magnetic head the probability causing corrupted data, improves the reliability of data.Its method is: receive the file update request that client sends, and determine data to be updated physical address in disk according to logical address, and then according to data to be updated and the physical address determined, file is upgraded, in file system belonging to the file acquisition file after renewal, the positional information of affairs numbering to be updated and the file after upgrading, finally upgrades according to first superblock of positional information to file system of the file after affairs to be updated numbering and renewal.The present invention is used for upgrading the file system in memory device.

Description

A kind of method of updating file system and memory device
Technical field
The present invention relates to technical field of memory, particularly relate to a kind of method and memory device of updating file system.
Background technology
Current, superblock (superblock) is the content of the beginning part in the data of disk storage, there is file volume control information, also there are the bundling resource table of disk and the information of file bundling, specifically for memory file system attribute and the overall information such as configuration information and file system real time status information, be usually located at the fixed position of disk or subregion.In order to improve the security of superblock, usually can carry out redundancy backup to superblock in disk or subregion, namely storing multiple superblock simultaneously.After upgrading the data in disk, accordingly, the superblock to preserving file system in disk is also needed to upgrade.When needs upgrade superblock, the parity of the superblock stored according to sequence number is divided into groups, and the superblock of odd number group and even number set is carried out asynchronous refresh respectively, thus make at any time, have the superblock being no less than to use.
But, in current storage organization, superblock is often stored in head and the afterbody of disk or subregion, when like this superblock being operated, magnetic head is needed significantly to move at short notice, the write efficiency of memory device entirety can be made significantly to reduce, more easily can break down simultaneously, easily cause corrupted data.
Summary of the invention
Embodiments of the invention provide a kind of method and memory device of updating file system, can improve the write efficiency of memory device, reduce simultaneously and significantly swing by magnetic head the probability causing corrupted data, improve the reliability of data.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, provide a kind of method of updating file system, described method comprises:
Receive the file update request that client sends, in described file update request, include data to be updated and data to be updated logical address hereof;
The physical address of described data to be updated in disk is determined according to described logical address;
According to described data to be updated and the physical address determined, described file is upgraded;
According to the positional information of the file after affairs numbering to be updated in the file system that the file after upgrading obtains belonging to described file and described renewal;
First superblock of positional information to described file system according to the file after described affairs to be updated numbering and described renewal upgrades, wherein, described first superblock is for storing the Current transaction information of described file system, and described first superblock is evenly stored in described disk.
In conjunction with first aspect, in the implementation that the first is possible, described file system includes the first superblock and the second superblock, described first superblock is for storing the Current transaction information of described file system, comprise the affairs numbering of file system, described second superblock, for storing the attribute information of described file system, comprises attribute and the configuration information of file system.
In conjunction with first aspect to any one in the first possible implementation of first aspect, in the implementation that the second is possible, described first superblock of positional information to described file system according to the file after described affairs to be updated numbering and described renewal carries out renewal and comprises:
Determine in the first superblock of described file system with described renewal after nearest two the first superblocks of the physical location of file in disk;
Positional information according to the file after described affairs to be updated numbering and described renewal upgrades determine two the first superblocks.
In conjunction with first aspect, in the implementation that the third is possible, described method also comprises:
Determine that the quantity of described first superblock is N, wherein N be not less than 2 natural number;
Described N number of first superblock is evenly stored in described disk.
Second aspect, provides a kind of memory device, and described memory device comprises:
Request receiving module, for receiving the file update request that client sends, includes data to be updated and data to be updated logical address hereof in described file update request;
Address determination module, for determining the physical address of described data to be updated in disk according to described logical address;
First update module, for upgrading described file according to described data to be updated and the physical address determined;
Data obtaining module, for obtaining the positional information of the file after affairs numbering to be updated in the file system belonging to described file and described renewal according to the file after renewal;
Second update module, for upgrading according to first superblock of positional information to described file system of the file after described affairs to be updated numbering and described renewal, wherein, described first superblock is for storing the Current transaction information of described file system, and described first superblock is evenly stored in disk.
In conjunction with second aspect, in the implementation that the first is possible, described file system includes the first superblock and the second superblock, described first superblock is for storing the Current transaction information of described file system, comprise the affairs numbering of file system, described second superblock, for storing the attribute information of described file system, comprises attribute and the configuration information of file system.
In conjunction with second aspect to any one in the first possible implementation of second aspect, in the implementation that the second is possible, described second update module comprises:
Superblock selects module, for determine in the first superblock of described file system with described renewal after nearest two the first superblocks of the physical location of file in disk;
Superblock update module, for upgrading two the first superblocks determined according to the positional information of the file after described affairs to be updated numbering and described renewal.
In conjunction with second aspect, in the implementation that the third is possible, described equipment also comprises:
Module is set, for determining that the quantity of described first superblock is N, wherein N be not less than 2 natural number, and described N number of first superblock to be evenly stored in described disk.
The method of a kind of updating file system that the embodiment of the present invention provides and memory device, the memory address of data to be updated is determined in the file update request sent by receiving client, and then upgrade according to the data of the memory address obtained to relevant position, and obtain the affairs numbering upgraded, finally according to the affairs numbering of memory address to be updated and renewal, the first superblock being used for storing Current transaction information in file system is upgraded.Thus the write efficiency of memory device can be improved, reduce simultaneously and significantly swing by magnetic head the probability causing corrupted data, improve the reliability of data.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the typical apply scene of the embodiment of the present invention;
The schematic flow sheet of the method for a kind of updating file system that Fig. 2 provides for the embodiment of the present invention;
The detailed process schematic diagram of the method for a kind of updating file system that Fig. 3 provides for the embodiment of the present invention;
What Fig. 4 provided for the embodiment of the present invention carries out the distributed architecture figure after piecemeal by superblock;
The detailed process schematic diagram of the method for a kind of updating file system that Fig. 5 provides for the embodiment of the present invention;
A kind of schematic diagram choosing the method for the second superblock that Fig. 6 provides for the embodiment of the present invention;
A kind of schematic diagram choosing the method for the second superblock that Fig. 7 provides for the embodiment of the present invention;
A kind of schematic diagram choosing the method for the second superblock that Fig. 8 provides for the embodiment of the present invention;
Fig. 9 provides a kind of structural representation of memory device for the embodiment of the present invention;
Figure 10 provides a kind of detailed construction schematic diagram of memory device for the embodiment of the present invention;
Figure 11 provides a kind of detailed construction schematic diagram of memory device for the embodiment of the present invention;
Figure 12 provides a kind of structural representation of memory storage for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The typical scene of the present invention's application is at network attached storage (NetworkAttachedStorage, NAS) in, concrete network connects as shown in Figure 1, in FIG, client is the subscriber equipmenies such as desktop computer, user sends update request by subscriber equipment to the network switch, the network switch is after receiving the update request of user, by this request forward to NAS equipment, the update request received is resolved into the concrete operations to storage file/storage directory by this NAS equipment, NAS is after executing update request, execution result is sent to client by the network switch.
Wherein, NAS is when performing concrete update request, the data stored in the disk of meeting to this request correspondence upgrade, after the Data Update that will store, obtain this affairs numbering upgraded and updating file address, and then according to obtain this upgrade affairs numbering and updating file address the first superblock of storage file Current transaction information is upgraded, thus reach to file system renewal object.
The embodiment of the present invention provides a kind of method of updating file system, and as shown in Figure 2, the method comprises:
101, receive the file update request that client sends, in file update request, include data to be updated and data to be updated logical address hereof.
102, data to be updated physical address in disk is determined according to logical address.
103, according to data to be updated and the physical address determined, file is upgraded.
104, the positional information of affairs numbering to be updated and the file after upgrading in the file system belonging to the file acquisition file after renewal.
105, upgrade according to first superblock of positional information to file system of affairs to be updated numbering and the file after upgrading, wherein, first superblock is used for the Current transaction information of memory file system, and the first superblock is evenly stored in described disk.
The method of a kind of updating file system that the embodiment of the present invention provides, the memory address of data to be updated is determined in the file update request sent by receiving client, and then upgrade according to the data of the memory address obtained to relevant position, and obtain the affairs numbering upgraded, finally according to the affairs numbering of memory address to be updated and renewal, the first superblock being used for storing Current transaction information in file system is upgraded.Thus the write efficiency of memory device can be improved, reduce simultaneously and significantly swing by magnetic head the probability causing corrupted data, improve the reliability of data.
The embodiment of the present invention provides a kind of method of updating file system, and the method comprises:
201, receive the file update request that client sends, in described file update request, include data to be updated and data to be updated logical address hereof.
202, the physical address of described data to be updated in disk is determined according to described logical address.Wherein, the physical address of data to be updated determines according to the layout information of above-mentioned logical address and concrete file, the layout information of file then includes the logical address of file data blocks and the mapping relations of physical address, thus can be obtained the physical address of data to be updated by the logical address of file data blocks thus.
203, according to described data to be updated and the physical address determined, described file is upgraded.
The positional information of the file in 204, obtaining belonging to described file file system according to the file after upgrading after affairs numbering to be updated and described renewal.
205, upgrade according to first superblock of positional information to described file system of the file after described affairs to be updated numbering and described renewal, wherein, described first superblock is for storing the Current transaction information of described file system, and described first superblock is evenly stored in described disk.
Wherein, superblock is included in file system, superblock is the content of the beginning part in the data of disk storage, there is the part of file volume control information, also there are the bundling resource table of disk and the information of file bundling, in the present invention, superblock is divided into the first superblock and the second superblock, described first superblock is for storing the Current transaction information of described file system, comprise the message of the real-time update such as the up-to-date transaction number of file system, and the first superblock, after file system modification data each time, all will upgrade; Corresponding described second superblock is for storing the attribute information of described file system, comprise attribute and the configuration information of file system, the information such as the distribution of the size of such as disk, disk block and Operation Log, the overwhelming majority in second superblock storage information is only carried out when the first time operation to disk, and it is much lower that the frequency therefore upgraded compares the first superblock.
Further, as shown in Figure 3, specifically comprised the steps: by the method being evenly stored in described disk about the first superblock in this method
206, determine that the quantity of described first superblock is N, wherein N be not less than 2 natural number.
207, described N number of first superblock is evenly stored in described disk.
Exemplary, first according in actual conditions, user, to the requirement of data reliability and memory device concrete operations performance, determines the piecemeal number of the first superblock.When the reliability requirement of user to data is higher, this piecemeal number can become large to adapt to the demand of high reliability.When operating performance in order to improve memory device, suitably can reduce this piecemeal number, to improve performance, therefore, the final numerical value of this block count object is the numerical value after considering data reliability and memory device operating performance.And consider the select permeability to the first superblock in backup instances and practical operation, this piecemeal number be not less than 2 natural number.In the present embodiment, get 5 for piecemeal number to be described.
Exemplary, superblock is carried out the distributed architecture figure after piecemeal by Fig. 4, i.e. the first superblock of T identification document system Current transaction part, because the value of now N is 5, namely now the first superblock is divided into 5 part T0 ~ T4, and in order to reach by the first superblock all with store effect, whole region between first piece of P0 and tail block P3 is divided into N-1 i.e. 4 regions, and by T0 ~ T4 totally five the first superblocks be stored in successively on the node of decile by head and the tail order, the concrete memory location of above-mentioned 5 the first superblocks is as shown in Figure 4.When the value of Parameter N is other non-vanishing natural numbers, method and the above-mentioned steps of the first superblock being carried out evenly storage are similar, repeat no more herein.
With relative above, in Fig. 4, left side is the head of disk, and right side is the afterbody of disk.Wherein P is for identifying the second superblock of memory file system attribute information part.In order to prevent disk generating portion sector corruption, therefore store 4 parts of superblocks as backup, even if thus ensure that any instant carried out when parity packet upgrades at superblock all has at least two superblocks to use at the head of disk or subregion and afterbody respectively.P0 ~ P3 has 4 pieces altogether, and P0/P1 is deployed in the head of disk or subregion, and P2/P3 is deployed in the afterbody of disk or subregion.
On this basis, as shown in Figure 5, step 205 specifically comprises:
2051, determine in the first superblock of described file system with described renewal after nearest two the first superblocks of the physical location of file in disk.
2052, according to the positional information of the file after described affairs to be updated numbering and described renewal, determine two the first superblocks are upgraded.
When update area comprises two or more first superblock, then from the first comprised superblock, choose two to upgrade, why choose two the first superblocks, being the consideration for backing up data equally, the security of data can be improved like this.
For the position relationship of update area and two the first superblocks, three kinds of situations are below divided to be described:
Detailed, as shown in Figure 6, the starting point A position in the drawings of current update area, the final position B position in the drawings of update area, clearly can find out from figure and include T2, T3 two the first superblocks between A, B, then now select T2, T3 to upgrade according to nearby principle.
As shown in Figure 7, the starting point A position in the drawings of current update area, the final position B position in the drawings of update area, the T district not being used for recording transaction information between A, B clearly can be found out from figure, then now according to nearby principle, nearest first superblock T1, the T2 of chosen distance A, B upgrades as the first superblock to be updated.
As shown in Figure 8, current update area starting point A position in the drawings, the final position B position in the drawings of update area, can clearly find out from figure only has a T region T1 between A, B, then now according to nearby principle, except the T1 comprised, also T2 nearest to distance A, B is upgraded as superblock to be updated.
Therefore, according to the method in the present embodiment, the memory address of data to be updated is determined in the file update request sent by receiving client, and then upgrade according to the data of the memory address obtained to relevant position, and obtain the affairs numbering upgraded, finally according to the affairs numbering of memory address to be updated and renewal, the first superblock being used for storing Current transaction information in file system is upgraded.Thus the write efficiency of memory device can be improved, reduce simultaneously and significantly swing by magnetic head the probability causing corrupted data, improve the reliability of data.。
The embodiment of the present invention provides a kind of memory device 1 of updating file system, and as shown in Figure 9, this memory device comprises:
Request receiving module 11, for receiving the file update request that client sends, includes data to be updated and data to be updated logical address hereof in described file update request;
Address determination module 12, for determining the physical address of described data to be updated in disk according to described logical address;
First update module 13, for upgrading described file according to described data to be updated and the physical address determined;
Data obtaining module 14, for obtaining the positional information of the file after affairs numbering to be updated in the file system belonging to described file and described renewal according to the file after renewal;
Second update module 15, for upgrading according to first superblock of positional information to described file system of the file after described affairs to be updated numbering and described renewal, wherein, described first superblock is for storing the Current transaction information of described file system, and described first superblock is evenly stored in described disk.
Wherein, described file system includes the first superblock and the second superblock, described first superblock is for storing the Current transaction information of described file system, specifically can comprise the affairs numbering of file system, described second superblock, for storing the attribute information of described file system, specifically can comprise attribute and the configuration information of file system.
Further, as shown in Figure 10, described second update module 15 comprises:
Superblock selects module 151, for determine in the first superblock of described file system with described renewal after nearest two the first superblocks of the physical location of file in disk;
Superblock update module 152, for upgrading determine two the first superblocks according to the positional information of the file after described affairs to be updated numbering and described renewal.
Further, as shown in figure 11, this memory device 1 also comprises:
Module 16 is set, for determining that the quantity of described first superblock is N, wherein N be not less than 2 natural number, and described N number of first superblock to be evenly stored in described disk.
The embodiment of the present invention provides a kind of memory device of updating file system, the memory address of data to be updated is determined in the file update request sent by receiving client, and then upgrade according to the data of the memory address obtained to relevant position, and obtain the affairs numbering upgraded, finally according to the affairs numbering of memory address to be updated and renewal, the first superblock in file system is upgraded; The write efficiency of memory device can be improved, reduce simultaneously and significantly swing by magnetic head the probability causing corrupted data, improve the reliability of data.
The embodiment of the present invention provides a kind of memory device 2 of updating file system.In the embodiment of the present invention, described file system includes the first superblock and the second superblock, and described first superblock is for storing the Current transaction information of described file system, and described second superblock is for storing the attribute information of described file system.
As shown in figure 12, this device 2 comprises: bus 21; And the processor 22, storer 23, transmitter 24 and the receiver 25 that are connected in bus 21, wherein:
Storer 23, for storing dependent instruction.
Processor 22, for performing this instruction, to realize:
Receive the file update request that client sends, in described file update request, include data to be updated and data to be updated logical address hereof;
The physical address of described data to be updated in disk is determined according to described logical address;
According to described data to be updated and the physical address determined, described file is upgraded;
According to the positional information of the file after affairs numbering to be updated in the file system that the file after upgrading obtains belonging to described file and described renewal;
First superblock of positional information to described file system according to the file after described affairs to be updated numbering and described renewal upgrades, wherein, described first superblock is for storing the Current transaction information of described file system, and described first superblock is evenly stored in described disk.
Wherein, described file system includes the first superblock and the second superblock, described first superblock is for storing the Current transaction information of described file system, comprise the affairs numbering of file system, described second superblock, for storing the attribute information of described file system, comprises attribute and the configuration information of file system.
In embodiments of the present invention, this processor 22 performs instruction and comprises for carrying out renewal according to first superblock of positional information to described file system of the file after described affairs to be updated numbering and described renewal:
Determine in the first superblock of described file system with described renewal after nearest two the first superblocks of the physical location of file in disk;
Positional information according to the file after described affairs to be updated numbering and described renewal upgrades determine two the first superblocks.
In embodiments of the present invention, optionally, this processor 22 perform instruction also for:
Determine that the quantity of described first superblock is N, wherein N be not less than 2 natural number;
Described N number of first superblock is evenly stored in described disk.
The embodiment of the present invention provides a kind of memory device of updating file system, the memory address of data to be updated is determined in the file update request sent by receiving client, and then upgrade according to the data of the memory address obtained to relevant position, and obtain the affairs numbering upgraded, finally according to the affairs numbering of memory address to be updated and renewal, the first superblock in file system is upgraded; The write efficiency of memory device can be improved, reduce simultaneously and significantly swing by magnetic head the probability causing corrupted data, improve the reliability of data.
In several embodiments that the application provides, should be understood that, disclosed method, device, can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit comprises, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form that hardware also can be adopted to add SFU software functional unit realizes.
The above-mentioned integrated unit realized with the form of SFU software functional unit, can be stored in a computer read/write memory medium.Above-mentioned SFU software functional unit is stored in a storage medium, comprises the part steps of some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (read-only memory) (Read-OnlyMemory, be called for short ROM), random access memory (RandomAccessMemory, be called for short RAM), magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of described claim.

Claims (8)

1. a method for updating file system, is characterized in that, described method comprises:
Receive the file update request that client sends, in described file update request, include data to be updated and data to be updated logical address hereof;
The physical address of described data to be updated in disk is determined according to described logical address;
According to described data to be updated and the physical address determined, described file is upgraded;
According to the positional information of the file after affairs numbering to be updated in the file system that the file after upgrading obtains belonging to described file and described renewal;
First superblock of positional information to described file system according to the file after described affairs to be updated numbering and described renewal upgrades, wherein, described first superblock is for storing the Current transaction information of described file system, and described first superblock is evenly stored in described disk.
2. method according to claim 1, it is characterized in that, described file system includes the first superblock and the second superblock, described first superblock is for storing the Current transaction information of described file system, comprise the affairs numbering of file system, described second superblock, for storing the attribute information of described file system, comprises attribute and the configuration information of file system.
3. the method according to claim 1 to 2 any one, is characterized in that, described first superblock of positional information to described file system according to the file after described affairs to be updated numbering and described renewal carries out renewal and comprise:
Determine in the first superblock of described file system with described renewal after nearest two the first superblocks of the physical location of file in disk;
Positional information according to the file after described affairs to be updated numbering and described renewal upgrades determine two the first superblocks.
4. method according to claim 1, is characterized in that, described method also comprises:
Determine that the quantity of described first superblock is N, wherein N be not less than 2 natural number;
Described N number of first superblock is evenly stored in described disk.
5. a memory device, is characterized in that, described memory device comprises:
Request receiving module, for receiving the file update request that client sends, includes data to be updated and data to be updated logical address hereof in described file update request;
Address determination module, for determining the physical address of described data to be updated in disk according to described logical address;
First update module, for upgrading described file according to described data to be updated and the physical address determined;
Data obtaining module, for obtaining the positional information of the file after affairs numbering to be updated in the file system belonging to described file and described renewal according to the file after renewal;
Second update module, for upgrading according to first superblock of positional information to described file system of the file after described affairs to be updated numbering and described renewal, wherein, described first superblock is for storing the Current transaction information of described file system, and described first superblock is evenly stored in described disk.
6. memory device according to claim 5, it is characterized in that, described file system includes the first superblock and the second superblock, described first superblock is for storing the Current transaction information of described file system, comprise the affairs numbering of file system, described second superblock, for storing the attribute information of described file system, comprises attribute and the configuration information of file system.
7. the memory device according to claim 5 to 6 any one, is characterized in that, described second update module comprises:
Superblock selects module, for determine in the first superblock of described file system with described renewal after nearest two the first superblocks of the physical location of file in disk;
Superblock update module, for upgrading determine two the first superblocks according to the positional information of the file after described affairs to be updated numbering and described renewal.
8. equipment according to claim 5, is characterized in that, described equipment also comprises:
Module is set, for determining that the quantity of described first superblock is N, wherein N be not less than 2 natural number, and described N number of first superblock to be evenly stored in described disk.
CN201310380010.8A 2013-08-28 2013-08-28 A kind of method of updating file system and memory device Active CN103440204B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310380010.8A CN103440204B (en) 2013-08-28 2013-08-28 A kind of method of updating file system and memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310380010.8A CN103440204B (en) 2013-08-28 2013-08-28 A kind of method of updating file system and memory device

Publications (2)

Publication Number Publication Date
CN103440204A CN103440204A (en) 2013-12-11
CN103440204B true CN103440204B (en) 2016-01-27

Family

ID=49693895

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310380010.8A Active CN103440204B (en) 2013-08-28 2013-08-28 A kind of method of updating file system and memory device

Country Status (1)

Country Link
CN (1) CN103440204B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016206070A1 (en) * 2015-06-26 2016-12-29 华为技术有限公司 File updating method and storage device
CN105095026A (en) * 2015-08-31 2015-11-25 小米科技有限责任公司 Superblock repair method and apparatus for EXT file system and intelligent device
CN110333883B (en) * 2019-05-31 2023-05-16 厦门网宿有限公司 Method and device for updating persistent data
JP7316204B2 (en) 2019-12-16 2023-07-27 株式会社ソニー・インタラクティブエンタテインメント Information processing device and file access method
CN116909488B (en) * 2023-09-11 2024-01-26 苏州浪潮智能科技有限公司 Method, system, medium, equipment and disk array card for accessing disk array

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1661568A (en) * 2004-02-24 2005-08-31 中国科学院声学研究所 File system in device of recording and playing back sounds and images under embedded type environment
CN101038562A (en) * 2006-03-15 2007-09-19 联想(北京)有限公司 Memory device key data backup and recovering system and method thereof
JP2009048749A (en) * 2007-08-22 2009-03-05 Funai Electric Co Ltd File system management method, file system management device, and recording medium with file system management program recorded thereon
US7890469B1 (en) * 2002-12-30 2011-02-15 Symantec Operating Corporation File change log
CN103049539A (en) * 2012-12-25 2013-04-17 华为技术有限公司 Method and device for storing file data in file system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7890469B1 (en) * 2002-12-30 2011-02-15 Symantec Operating Corporation File change log
CN1661568A (en) * 2004-02-24 2005-08-31 中国科学院声学研究所 File system in device of recording and playing back sounds and images under embedded type environment
CN101038562A (en) * 2006-03-15 2007-09-19 联想(北京)有限公司 Memory device key data backup and recovering system and method thereof
JP2009048749A (en) * 2007-08-22 2009-03-05 Funai Electric Co Ltd File system management method, file system management device, and recording medium with file system management program recorded thereon
CN103049539A (en) * 2012-12-25 2013-04-17 华为技术有限公司 Method and device for storing file data in file system

Also Published As

Publication number Publication date
CN103440204A (en) 2013-12-11

Similar Documents

Publication Publication Date Title
US10795788B2 (en) Remote data replication method and system
CN107844268B (en) Data distribution method, data storage method, related device and system
JP6236533B2 (en) Method and apparatus for creating differential update package, system differential update method and apparatus
CN103019888B (en) Backup method and device
CN103440204B (en) A kind of method of updating file system and memory device
CN103765373B (en) Date storage method, data storage device and memory device
CN103034566B (en) Method and device for restoring virtual machine
CN109582213B (en) Data reconstruction method and device and data storage system
CN103534688B (en) Data reconstruction method, memory device and storage system
CN105447075A (en) A computer implemented method for dynamic sharding
EP3051408B1 (en) Data operating method and device
CN103649901A (en) Data transmission method, data receiving method and sotring equipment
CN104461390A (en) Method and device for writing data into imbricate magnetic recording SMR hard disk
CN105630632A (en) Virtual machine recovery method and virtual machine management device
US10572335B2 (en) Metadata recovery method and apparatus
CN105468302A (en) Data processing method, apparatus and system
CN107133132B (en) Data sending method, data receiving method and storage device
US20190227710A1 (en) Incremental data restoration method and apparatus
CN104363977A (en) Data replication method, data replication device and storage device
CN102902561A (en) Data storage method and data storage system
CN103530206B (en) A kind of method and apparatus of date restoring
CN106201772A (en) The backup of a kind of operating system based on data center, restoration methods and device
CN105573872A (en) Hardware maintenance method and device of data storage system
CN102523112B (en) Information processing method and equipment
CN104408126A (en) Persistent writing method, device and system of database

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20191224

Address after: 314413 No.2, Fengshou Avenue, Haining Economic and knitting industrial park, Jiaxing City, Zhejiang Province

Patentee after: Zhejiang Haining Warp Knitting Industrial Park Development Co., Ltd

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: Huawei Technologies Co., Ltd.