CN103473185A - Cache writing method, caching device and storing system - Google Patents

Cache writing method, caching device and storing system Download PDF

Info

Publication number
CN103473185A
CN103473185A CN201310402988XA CN201310402988A CN103473185A CN 103473185 A CN103473185 A CN 103473185A CN 201310402988X A CN201310402988X A CN 201310402988XA CN 201310402988 A CN201310402988 A CN 201310402988A CN 103473185 A CN103473185 A CN 103473185A
Authority
CN
China
Prior art keywords
metadata
data block
meta
flash
chunk
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.)
Granted
Application number
CN201310402988XA
Other languages
Chinese (zh)
Other versions
CN103473185B (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.)
Huawei Digital Technologies Suzhou Co Ltd
Original Assignee
Huawei Digital Technologies Suzhou 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 Digital Technologies Suzhou Co Ltd filed Critical Huawei Digital Technologies Suzhou Co Ltd
Priority to CN201310402988.XA priority Critical patent/CN103473185B/en
Publication of CN103473185A publication Critical patent/CN103473185A/en
Application granted granted Critical
Publication of CN103473185B publication Critical patent/CN103473185B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

An embodiment of the invention provides a cache writing method, a caching device and a storing system. The method includes that at least one metadata in an internal storage is updated; at least one metadata set where the metadata belongs is obtained; if a writing state of a first metadata set in the metadata set is a non-writing state, and a plurality of writing input/output (IO) request commands waiting for executing metadata writing operation exist under the first metadata set, the plurality of writing IO request commands are moved to a combination writing metadata queue of the first metadata set; the metadata in the first metadata set is written into a metadata block corresponding to the first metadata set in Flash; according to the plurality of writing IO request commands under the combination writing metadata queue of the first metadata set, the state showing whether the first metadata set is written successfully is returned. By means of the cache writing method, the caching device and the storing system, writing times of metadata of the Flash can be reduced to some extent.

Description

The method that buffer memory writes, buffer storage and storage system
Technical field
The embodiment of the present invention relates to field of data storage, and more specifically, relates to method, buffer storage and storage system that a kind of buffer memory writes.
Background technology
Industry adopts prior art now, and because the storage medium of buffer memory (Cache) is based on NVRAM or NVDIMM, these storage medium characteristics can well meet the performance of the little IO of system, particularly for metadata.
The size of a common metadata is generally between 30B-64B.When the storage medium of Cache adopts Flash, due to the security that will guarantee data, write request all needs the IO of 2 times each time.And the life-span of Flash is directly related with the number of times of writing, if each metadata is according to the direct IO of the size of metadata, can not give full play to the performance of Flash, if metadata is according to IO under the size of 4K alignment, may there is the problem of writing amplification, can affect greatly life-span of whole Flash.
Summary of the invention
Method, buffer storage and storage system that the embodiment of the present invention provides a kind of buffer memory to write, can reduce to a certain extent the metadata of Flash is write to indegree, improves the serviceable life of Flash.
First aspect, a kind of method that provides buffer memory Cache to write, the storage area of the flash memory Flash of this Cache comprises a plurality of chunk, this chunk comprises a chunk meta-data region and a chunk data field, this chunk meta-data region comprises at least one meta data block, this chunk data field comprises at least one data field corresponding with this at least one meta data block, this meta data block comprises a plurality of metadata, this data field comprises a plurality of data blocks, this meta data block is corresponding one by one with this data field, this metadata is corresponding one by one with this data block, a set of metadata in internal memory is corresponding to this meta data block, this set of metadata comprises a plurality of metadata, the interior metadata of metadata in this set of metadata meta data block corresponding with this set of metadata is corresponding one by one, the method comprises: upgrade at least one metadata in internal memory, this at least one metadata is corresponding to write at least one data block of the data that the request of IO request command writes in this Flash for storage, obtain at least one affiliated set of metadata of this at least one metadata, if the state of writing of the first set of metadata in this at least one set of metadata is a plurality of IO of the writing request commands that the pending metadata write operation such as have under non-write state and this first set of metadata, the merging that the plurality of IO of writing request command is moved to this first set of metadata writes the metadata queue, the metadata of this first set of metadata is written in this Flash in the corresponding meta data block of this first set of metadata, whether successful the merging of this first set of metadata is write to a plurality of IO of writing request commands under the metadata queue returns to this first set of metadata and writes state.
In conjunction with first aspect, in the first in possible implementation, at least one metadata specific implementation of upgrading in internal memory is: if the status indication information of one of this at least one metadata indicates one of this at least one metadata for clean Clean state, upgrade one of this at least one metadata, wherein, to be used to indicate one of one of this at least one metadata at least one metadata of metadata and this corresponding at this Flash content identical for this Clean state.
The possible implementation in conjunction with the first of first aspect or first aspect, at the second, in possible implementation, specific implementation is: the size of this meta data block equals the page size of this Flash.
The possible implementation in conjunction with the second of first aspect, at the third, in possible implementation, specific implementation is: the size of this metadata is 32B, 64B or 128B.
Possible implementation or the third possible implementation of first aspect in conjunction with the second of first aspect, in the 4th kind of possible implementation, specific implementation is: the in the same size of the size of this chunk meta-data region and this data block.
Possible implementation or the third possible implementation of first aspect in conjunction with the second of first aspect, in the 5th kind of possible implementation, specific implementation is: the size of this data block is 512B, 1K, 2K, 4K, 8K, 16K, 32K or 64K.
Second aspect, a kind of buffer storage has been proposed, the storage area of the flash memory Flash of this buffer storage comprises a plurality of chunk, this chunk comprises a chunk meta-data region and a chunk data field, this chunk meta-data region comprises at least one meta data block, this chunk data field comprises at least one data field corresponding with this at least one meta data block, this meta data block comprises a plurality of metadata, this data field comprises a plurality of data blocks, this meta data block is corresponding one by one with this data field, this metadata is corresponding one by one with this data block, a set of metadata in internal memory is corresponding to this meta data block, this set of metadata comprises a plurality of metadata, the interior metadata of metadata in this set of metadata meta data block corresponding with this set of metadata is corresponding one by one, this buffer storage comprises: updating block, for upgrading at least one metadata of internal memory, this at least one metadata is corresponding to write at least one data block of the data that the request of IO request command writes in this Flash for storage, acquiring unit, for obtaining first set of metadata of at least one meta data block under this at least one metadata, the metadata in this set of metadata is corresponding to the metadata in a meta data block in this Flash, the queue mobile unit, if be a plurality of IO of the writing request commands that the pending metadata write operation such as have under non-write state and this first set of metadata for the state of writing of the first set of metadata in this at least one set of metadata, the merging that the plurality of IO of writing request command is moved to this first set of metadata writes the metadata queue, writing unit, for being written to this first set of metadata the corresponding meta data block of this first set of metadata of this Flash, whether successful feedback unit, write a plurality of IO of writing request commands under the metadata queue for the merging to this first set of metadata and return to this first set of metadata and write state.
In conjunction with second aspect, in the first in possible implementation, this updating block specific implementation is: if the status indication information of one of this at least one metadata indicates one of this at least one metadata for clean Clean state, upgrade one of this at least one metadata, wherein, to be used to indicate one of one of this at least one metadata at least one metadata of metadata and this corresponding at this Flash content identical for this Clean state.
The possible implementation in conjunction with the first of second aspect or second aspect, at the second, in possible implementation, specific implementation is: the size of this meta data block equals the page size of this Flash.
Possible implementation or the possible implementation of the second of second aspect in conjunction with the first of second aspect or second aspect, at the third, in possible implementation, specific implementation is: the in the same size of the size of this chunk meta-data region and this data block.
The third aspect, a kind of storage system has been proposed, comprise internal memory, buffer memory Cache and processor, this Cache comprises flash memory Flash, the storage area of this Flash comprises a plurality of chunk, this chunk comprises a chunk meta-data region and a chunk data field, this chunk meta-data region comprises at least one meta data block, this chunk data field comprises at least one data field corresponding with this at least one meta data block, this meta data block comprises a plurality of metadata, this data field comprises a plurality of data blocks, this meta data block is corresponding one by one with this data field, this metadata is corresponding one by one with this data block, a set of metadata in internal memory is corresponding to this meta data block, this set of metadata comprises a plurality of metadata, the interior metadata of metadata in this set of metadata meta data block corresponding with this set of metadata is corresponding one by one, wherein, this processor is used for: at least one metadata of upgrading this internal memory, this at least one metadata is corresponding to write at least one data block of the data that the request of IO request command writes in this Flash for storage, obtain first set of metadata of at least one meta data block under this at least one metadata, the metadata in this set of metadata is corresponding to the metadata in a meta data block in this Flash, if the state of writing of the first set of metadata in this at least one set of metadata is a plurality of IO of the writing request commands that the pending metadata write operation such as have under non-write state and this first set of metadata, the merging that the plurality of IO of writing request command is moved to this first set of metadata writes the metadata queue, this first set of metadata is written to the corresponding meta data block of this first set of metadata in this Flash, whether successful the merging of this first set of metadata is write to a plurality of IO of writing request commands under the metadata queue returns to this first set of metadata and writes state.
In conjunction with the third aspect, in the first in possible implementation, for upgrading at least one metadata of this internal memory, this processor specific implementation is: if the status indication information of one of this at least one metadata indicates one of this at least one metadata for clean Clean state, upgrade one of this at least one metadata, wherein, to be used to indicate one of one of this at least one metadata at least one metadata of metadata and this corresponding at this Flash content identical for this Clean state.
The possible implementation in conjunction with the first of the third aspect or the third aspect, at the second, in possible implementation, specific implementation is: the size of this meta data block equals the page size of this Flash.
Possible implementation or the possible implementation of the second of the third aspect in conjunction with the first of the third aspect or the third aspect, at the third, in possible implementation, specific implementation is: the in the same size of the size of this chunk meta-data region and this data block.
Based on above technical scheme, the method that the buffer memory of the embodiment of the present invention writes, buffer storage and storage system, by merging the write operation of a plurality of IO of writing request commands to same meta data block, can reduce to a certain extent writing indegree and avoiding to a certain extent IO to write the problem of amplification of Flash, thus the serviceable life that can improve Flash.
The accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, below will the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is a kind of data layout schematic diagram of embodiment of the present invention Flash.
Fig. 2 is the method flow diagram that a kind of Cache of the embodiment of the present invention writes.
Fig. 3 is the another kind of data layout schematic diagram of embodiment of the present invention Flash.
Fig. 4 is another data layout schematic diagram of embodiment of the present invention Flash.
Fig. 5 is another data layout schematic diagram of embodiment of the present invention Flash.
Fig. 6 is embodiment of the present invention metadata a kind of schematic diagram that concerns of the position of actual persistence in position and Flash in internal memory.
Fig. 7 is that embodiment of the present invention buffer storage merges the particular flow sheet write to metadata.
Fig. 8 is the structural representation of embodiment of the present invention buffer storage 800.
Fig. 9 is the structural representation of embodiment of the present invention storage system 900.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making under the creative work prerequisite the every other embodiment obtained, belong to the scope of protection of the invention.
Fig. 1 is a kind of data layout schematic diagram of embodiment of the present invention flash memory (Flash).As shown in Figure 1, the storage area of Flash can comprise superblock, meta-data region and data field three parts.
Superblock, for the global data of memory buffers (Cache), the data of delaying after machine while recovering and need to use mainly for system.Wherein, this global data can comprise the size of meta data block, the size of data block etc.
Metadata (metadata), safeguard the data of the data block in storage system, and for describing and the relation of organising data piece, its size is according to the data structure size decision defined in system.
Meta-data region, refer to the zone for storing metadata.
Data field, for the real data of memory buffers (Cache), can comprise a plurality of data blocks under it.
Fig. 3 is the another kind of data layout schematic diagram of embodiment of the present invention Flash.As shown in Figure 3, comprise superblock and a plurality of storage block (chunk) under Flash, each chunk comprises a chunk meta-data region and a chunk data field, each chunk meta-data region comprises one or more meta data block, and each chunk data field comprises the data field corresponding with these one or more meta data block.Meta data block under the chunk meta-data region corresponding with it of each Xia data field, chunk data field is corresponding one by one.A meta data block is safeguarded the data field of a correspondence, particularly, comprises a plurality of metadata under each meta-data region, and each metadata is corresponding to a data block under data field.
In Fig. 3, although comprised 4 meta data block in 1 chunk meta-data region, not meaning that 1 chunk meta-data region can only comprise 4 meta data block, can also be 1,2 or other numerical value.Same, the number of the chunk shown in Fig. 3, chunk the data field in the number of the number of data field, the interior metadata of meta-data region, data field the number of data block all be not limited to the numerical value shown in Fig. 3.
Each data field is corresponding to a different meta data block, and an interior corresponding data block of metadata of meta data block forms a data field.That is to say, the corresponding data of metadata that data field comprises a meta data block size, the size of a data field is decided by the number of metadata in a meta data block and the size of a data block.
In Flash, the size that page writes is 4K.Therefore, a kind of preferred scheme, the size of a meta data block is 4K.The size that might as well suppose a metadata is 32B, and the size of a data block is 16K, and the size of a data field is 2M(16K*(4K/32B)).
Fig. 2 is the method flow diagram that a kind of Cache of the embodiment of the present invention writes.The method of Fig. 2 is carried out by buffer storage.Wherein, the storage area of the Flash of buffer storage comprises a plurality of chunk, this chunk comprises a chunk meta-data region and a chunk data field, this chunk meta-data region comprises at least one meta data block, this chunk data field comprises at least one data field corresponding with this at least one meta data block, this meta data block comprises a plurality of metadata, this data field comprises a plurality of data blocks, this meta data block is corresponding one by one with this data field, this metadata is corresponding one by one with this data block, a set of metadata in internal memory is corresponding to this meta data block, this set of metadata comprises a plurality of metadata, the interior metadata of metadata in this set of metadata meta data block corresponding with this set of metadata is corresponding one by one.The method comprises:
201, upgrade at least one metadata in internal memory.
Wherein, this at least one metadata is corresponding to write at least one data block of the data that the request of IO request command writes in this Flash for storage.
In other words, this at least one metadata is corresponding at least one data block in this Flash, and at least one data block in this Flash writes for storage the data that the request of IO request command writes.
202, obtain at least one affiliated set of metadata of this at least one metadata.
In the invention process, obtain a set of metadata, can realize by the modes such as sign, memory address or variable of obtaining set of metadata, specific implementation can be with reference to prior art, and the embodiment of the present invention does not repeat them here.
Metadata in internal memory, can be divided into groups according to the size of the meta data block in Flash.For example, in Flash, a meta data block has 128 metadata, and in internal memory, 128 metadata can be compiled is 1 group.Simultaneously, in internal memory, the metadata of a set of metadata is corresponding one by one with the metadata of a meta data block in Flash.
203, if the state of writing of the first set of metadata in this at least one set of metadata is a plurality of IO of the writing request commands that the pending metadata write operation such as have under non-write state and this first set of metadata, the merging that the plurality of IO of writing request command is moved to this first set of metadata writes the metadata queue.
The first set of metadata that in the present invention, arbitrary place mentions, all refer to the arbitrary set of metadata in this at least one set of metadata, comprises in other words arbitrary set of metadata of new metadata.
In the embodiment of the present invention, the state of writing of the first set of metadata carries out write operation to the first set of metadata in the corresponding meta data block of Flash for marking whether.
If the first set of metadata is being carried out write operation in other words in write state, before completing, write operation relates to writing the IO request command and need to being waited for of the first set of metadata write operation.
If the first set of metadata write operation is complete or do not carry out write operation, in non-write state, the merging that a plurality of IO of writing request commands of pending metadata write operations such as existing under the first set of metadata can be moved to the first set of metadata writes in the metadata queue in other words.Now, the first set of metadata, in write state, can be carried out write operation.
204, this first set of metadata is written to the corresponding meta data block of this first set of metadata in this Flash.
205, the merging of this first set of metadata is write to a plurality of IO of writing request commands under the metadata queue and return to this first set of metadata and write whether successful state.
In the embodiment of the present invention, when the Flash to Cache writes metadata, merge a plurality of write operations of IO request command to same meta data block that write, can reduce to a certain extent writing indegree and avoiding to a certain extent IO to write the problem of amplification of Flash, improve the serviceable life of Flash.
Alternatively, as an embodiment, step 201 specifically can be embodied as: if the status indication information of one of this at least one metadata indicates one of this at least one metadata for clean Clean state, upgrade one of this at least one metadata.Wherein, to be used to indicate one of one of this at least one metadata at least one metadata of metadata and this corresponding at this Flash content identical for this Clean state.In the embodiment of the present invention, to putting dirty metadata, no longer carry out write operation, also reduce to a certain extent the indegree of writing of Flash, improve the serviceable life of Flash.
Alternatively, after step 205, the method also comprises: if the first set of metadata the pending metadata write operation such as also have write the IO request command, will wait the merging that the IO request command moves to this first set of metadata that writes of pending metadata write operation to write the metadata queue and this first set of metadata is carried out to the metadata write operation.If there is no pending metadata write operation write the IO request command, now the write state of the first set of metadata can be set to non-write state.
Alternatively, the size of this meta data block equals the page size of this Flash.The size of meta data block is consistent with the page size of Flash, can improve to a certain extent the life-span of Flash, and improves the Flash write performance.In prior art, the page size of Flash is 4K.
Alternatively, the size of this metadata is 32B, 64B or 128B.
Alternatively, as an embodiment, the in the same size of the size of this chunk meta-data region and this data block.The in the same size of the size of Chunk meta-data region and a data block, make buffer storage load Flash or during to the Flash initialization, can carry out the storage area division according to the size of data block.
Alternatively, the size of this data block can be 512B, 1K, 2K, 4K, 8K, 16K, 32K or 64K.
Below, in conjunction with concrete example, the method for the embodiment of the present invention is described.
As shown in Figure 3, comprise superblock and a plurality of chunk under Flash, each chunk comprises a chunk meta-data region and a chunk data field, each chunk meta-data region comprises one or more meta data block, and each chunk data field comprises the data field corresponding with these one or more meta data block.Meta data block under the chunk meta-data region corresponding with it of each Xia data field, chunk data field is corresponding one by one.
Fig. 4 is another data layout schematic diagram of embodiment of the present invention Flash.A kind of layout type of the embodiment of the present invention as shown in Figure 4, comprises 1 meta data block in a chunk meta-data region, accordingly, a chunk data field comprises 1 data field.
Fig. 5 is another data layout schematic diagram of embodiment of the present invention Flash.A kind of layout type of the embodiment of the present invention as shown in Figure 5, comprises 4 meta data block in a chunk meta-data region, accordingly, a chunk data field comprises 4 data fields.
From Fig. 4 and Fig. 5, a chunk meta-data region may comprise one or more meta data block, and the size of a chunk meta-data region is variable.A kind of preferred scheme, size that can be using the size of a data block as a chunk meta-data region, like this, can make when Flash loads initialization, according to the size of data block, the storage area of Flash divided.For example, the size of a data block is 4K, and the size of a chunk meta-data region is also 4K, and the number of its meta data block is 1(4K/4K), as shown in Figure 4.Again for example, the size of a data block is 16K, and the size of a chunk meta-data region is also 16K, and the number of its meta data block is 4(16K/4K).The size of data block can be by operating system or storage device configuration, and its size can be 4K, 8K, 16K, 32K or 64K etc., and this is not restricted for the embodiment of the present invention.
Certainly, the size of data block also can with the varying in size of chunk meta-data region.For example, the size of data block can also be 512B, 1K, and 2K etc., and at least comprise 1 meta data block in the chunk meta-data region, obviously large than a data block.Again for example, when the size of data block is 8K, 16K, 32K or 64K etc., the size of chunk meta-data region also can be also less than the size of data block, such as only including 1 meta data block in the chunk meta-data region.
Fig. 6 is embodiment of the present invention metadata a kind of schematic diagram that concerns of the position of actual persistence in position and Flash in internal memory.
As shown in Figure 6, can in internal memory, design a data structure p_head array, metadata corresponding to each data block in the data field of storage.The size that might as well suppose the needed metadata of each data block is 64 bytes, the p_head array can be divided into to one group according to 64 (4K/64B=64) metadata so, and a set of metadata is corresponding to a meta data block in Flash.
In internal memory, metadata is corresponding to an element of p_head array, and its data structure flashCache_wbhead and implication can be as follows:
As shown in Figure 6, also can in internal memory, design a data structure metadata_head array, be maintained in the relation of the memory location (being corresponding meta data block) of the metadata of data in EMS memory and the reality of these metadata in actual persistence equipment (Flash).
A meta data block in Flash is a corresponding set of metadata in internal memory, and corresponding to an element in the metadata_head array, its data structure metadata_head and implication can be as follows:
Figure BDA0000378402270000101
As shown in Figure 6, storing the metadata information of a data block in internal memory by flashCache_wbhead, storing again the information of same group metadata (i.e. a meta data block) by metadata_head, fashionablely write according to meta data block writing to facilitate.
By introduce the associated maintenance information of set of metadata corresponding to meta data block in internal memory, realize for buffer storage that a plurality of IO of writing request commands of meta data block rank merge and write that provide may.
Fig. 7 is that embodiment of the present invention buffer storage merges the particular flow sheet write to metadata.
Below, the method in conjunction with the data structure of Fig. 6 and metadata, meta data block to Fig. 7 is described.Certainly, the method for Fig. 7 also can be applicable to other Flash data layout mode that comprises a plurality of meta-data region, and this is not restricted for the embodiment of the present invention.
701, receive and write the IO request command.
Buffer storage can receive and write the IO request command.
702, the storage data are to Flash.
Buffer storage can be according to writing the IO request command, data to be written stored at least one data block of Flash of buffer storage.
Step 701,702 specific implementation can be with reference to existing techniques in realizing, and the embodiment of the present invention does not repeat them here.
703, check whether metadata needs to upgrade.
Buffer storage can, according to the position of at least one data block of storing in Flash, obtain the metadata of this at least one data block correspondence in internal memory.
Buffer storage can judge according to the modification state of current metadata whether metadata needs to upgrade.The modification state of this metadata, can comprise dirty (Dirty) state and clean (Clean) state.Wherein, the Dirty state can mean that this metadata revises with respect to metadata corresponding in Flash, and this metadata of Clean state representation is revised with respect to the metadata of correspondence in Flash.
Buffer storage can judge whether the corresponding metadata of data block needs to upgrade one by one, also can judge in batches whether the corresponding metadata of data block needs to upgrade.
If metadata corresponding to this at least one data block all put Dirty, it is the same again putting effect after Dirty, does not need again to put Dirty.Now, perform step 704.
If metadata middle part corresponding to this at least one data block is divided into the Clean state, the metadata that is the Clean state to this part execution step 705.
Modification state to metadata judges to determine whether upgraded, can reduce to a certain extent in internal memory and need the metadata of upgrading, and then reduce metadata in Flash write indegree, the life-span of improving Flash.
Certainly, buffer storage also can not judge that this at least one data block corresponding current modification state of metadata in internal memory writes direct, and does not affect the execution of embodiment of the present invention Cache wiring method.
704, return and write successfully writing the IO request command, and to revise the metadata write state be the non-state of writing.
Because metadata does not need to be upgraded, after data write Flash, this IO request can finish.Buffer storage can write the IO request command to this and return and write successfully, and mark metadata write state is the non-state of writing.
705, upgrade the metadata in internal memory.
If metadata middle part corresponding to this at least one data block is divided into the Clean state, the metadata that buffer storage can be the Clean state to this modification state is put Dirty.
Certainly, do not get rid of the metadata that buffer storage is the Dirty state to the modification state yet and put Dirty.For example, when a plurality of continuous metadata middle part is divided into the Clean state, part is the Dirty state, can put Dirty to the plurality of continuous metadata simultaneously.
706, according at least one set of metadata at the position acquisition metadata place of metadata in internal memory of upgrading.
The set of metadata at the metadata place that buffer storage can upgrade according to the position acquisition of metadata in internal memory of renewal.
For example, in Fig. 6, the position according to metadata in internal memory (index), buffer storage can obtain the meta_head of set of metadata corresponding to this metadata.The size that might as well suppose the needed metadata of each data block is 64 bytes, and a set of metadata (meta_head) just has 64 (4K/64B=64) metadata.If the metadata of revising is 33-120, its corresponding set of metadata (meta_head) is the 0th, 1 totally 2 set of metadata.
707, writing the IO request command, hang in the metadata queue to be combined of the first set of metadata in this at least one set of metadata.
After getting this at least one set of metadata that needs the write operation of execution metadata, buffer storage will write the metadata queue to be combined that the IO request command is hung the first set of metadata in this at least one set of metadata.
Wherein, this first set of metadata refers to the arbitrary set of metadata in this at least one set of metadata.For example, this first set of metadata can be the 0th set of metadata or the 1st set of metadata of step 706.
708, check the first set of metadata whether just at write operation.
Buffer storage judges the write operation that whether carrying out of the first set of metadata.
As shown in Figure 6, the metadata_head that buffer storage can be corresponding according to the first set of metadata judges whether the state of writing of the first set of metadata is non-write state.
The state of writing of the first set of metadata carries out write operation to the first set of metadata in the corresponding meta data block of Flash for marking whether.
If the first set of metadata is being carried out write operation in other words in write state, before completing, write operation relates to writing the IO request command and need to being waited for of the first set of metadata write operation.
If the first set of metadata write operation is complete or do not carry out write operation, in non-write state, the merging that a plurality of IO of writing request commands of pending metadata write operations such as existing under the first set of metadata can be moved to the first set of metadata writes in the metadata queue in other words.Now, the first set of metadata, in write state, can be carried out write operation.
That is to say, if write state performs step 709; If be non-write state, perform step 710.
709, return, wait for that write operation completes.
710, the merging that the IO request command moves on to the first set of metadata that writes in the metadata queue to be combined of the first set of metadata is write to the metadata queue.
After once writing on the first set of metadata, the merging that buffer storage moves on to the first set of metadata by a plurality of IO of the writing request commands in the metadata queue to be combined of the first set of metadata writes the metadata queue.
711, the first metadata is submitted to the write request operation.
Buffer storage closes the asynchronous submission write request operation of the first set of metadata, and the first set of metadata is written in the meta data block that Flash is corresponding.
712, whether metadata writes successfully.
Buffer storage judges whether metadata writes successfully.
If not, perform step 713.
If so, perform step 714.
713, the merging of circular treatment the first set of metadata writes and writes the IO request command in the metadata queue, returns to respectively the state of writing failure, finishes.
714, the merging of circular treatment the first set of metadata writes and writes the IO request command in the metadata queue, returns to respectively the successful state of writing.
715, check whether the metadata queue to be combined of the first set of metadata is empty.
If not, perform step 710.
If so, perform step 716.
716, the write state of revising the first set of metadata is the non-state of writing.
The write state that buffer storage is revised the first set of metadata is the non-state of writing.
Fig. 8 is the structural representation of embodiment of the present invention buffer storage 800.Wherein, the storage area of the Flash of this buffer storage 800 comprises a plurality of chunk, this chunk comprises a chunk meta-data region and a chunk data field, this chunk meta-data region comprises at least one meta data block, this chunk data field comprises at least one data field corresponding with this at least one meta data block, this meta data block comprises a plurality of metadata, this data field comprises a plurality of data blocks, this meta data block is corresponding one by one with this data field, this metadata is corresponding one by one with this data block, a set of metadata in internal memory is corresponding to this meta data block, this set of metadata comprises a plurality of metadata, the interior metadata of metadata in this set of metadata meta data block corresponding with this set of metadata is corresponding one by one.This buffer storage 800 can comprise updating block 801, acquiring unit 802, queue mobile unit 803, writing unit 804 and feedback unit 805.
Updating block 801, for upgrading at least one metadata of internal memory.
Wherein, this at least one metadata is corresponding to write at least one data block of the data that the request of IO request command writes in this Flash for storage.
In other words, this at least one metadata is corresponding at least one data block in this Flash, and at least one data block in this Flash writes for storage the data that the request of IO request command writes.
Acquiring unit 802, for obtaining at least one set of metadata under this at least one metadata.
Metadata in internal memory, can be divided into groups according to the size of the meta data block in Flash.For example, in Flash, a meta data block has 128 metadata, and in internal memory, 128 metadata can be compiled is 1 group.Simultaneously, in internal memory, the metadata of a set of metadata is corresponding one by one with the metadata of a meta data block in Flash.
Queue mobile unit 803, if be a plurality of IO of the writing request commands that the pending metadata write operation such as have under non-write state and this first set of metadata for the state of writing of the first set of metadata in this at least one set of metadata, the merging that the plurality of IO of writing request command is moved to this first set of metadata writes the metadata queue.
The first set of metadata that in the present invention, arbitrary place mentions, all refer to the arbitrary set of metadata in this at least one set of metadata, comprises in other words arbitrary set of metadata of new metadata.
In the embodiment of the present invention, the state of writing of the first set of metadata carries out write operation to the first set of metadata in the corresponding meta data block of Flash for marking whether.
If carrying out write operation in other words in write state, before completing, write operation relates to writing the IO request command and need to being waited for of the first set of metadata write operation.
If write operation is complete or do not carry out write operation, in non-write state, the merging that a plurality of IO of writing request commands of pending metadata write operations such as existing under the first set of metadata can be moved to the first set of metadata writes in the metadata queue in other words.Now, the first set of metadata, in write state, can be carried out write operation.
Writing unit 804, for being written to this first set of metadata the corresponding meta data block of this first set of metadata of this Flash.
Whether successful feedback unit 805, write a plurality of IO of writing request commands under the metadata queue for the merging to this first set of metadata and return to this first set of metadata and write state.
In the embodiment of the present invention, when the Flash to buffer storage 800 writes metadata, merge a plurality of write operations of IO request command to same meta data block that write, can reduce to a certain extent writing indegree and avoiding to a certain extent IO to write the problem of amplification of Flash, improve the serviceable life of Flash.
Alternatively, as an embodiment, updating block 801 specifically for: if the status indication information of one of this at least one metadata indicates one of this at least one metadata for clean Clean state, upgrade one of this at least one metadata, wherein, to be used to indicate one of one of this at least one metadata at least one metadata of metadata and this corresponding at this Flash content identical for this Clean state.In the embodiment of the present invention, 800 pairs of buffer storages have been put dirty metadata, no longer carry out write operation, also reduce to a certain extent the indegree of writing of Flash, and improve the serviceable life of Flash.
Alternatively, alternatively, the size of this meta data block equals the page size of this Flash.The size of meta data block is consistent with the page size of Flash, can improve to a certain extent the life-span of Flash, and improves the Flash write performance.In prior art, the page size of Flash is 4K.
Alternatively, the size of this metadata is 32B, 64B or 128B.
Alternatively, as an embodiment, the in the same size of the size of this chunk meta-data region and this data block.The in the same size of the size of Chunk meta-data region and a data block, make buffer storage 800 load Flash or during to the Flash initialization, can carry out the storage area division according to the size of data block.
Alternatively, the size of this data block can be 512B, 1K, 2K, 4K, 8K, 16K, 32K or 64K.
In addition, but buffer storage 800 method of execution graph 2 also, and realize the function of buffer storage at the embodiment shown in Fig. 7, the embodiment of the present invention does not repeat them here.
Fig. 9 is the structural representation of embodiment of the present invention storage system 900.This storage system 900 can comprise: storer 901 and processor 902.Storer 901 can comprise internal memory 903, buffer memory 904 etc.
Storer 901 and processor 902 interconnect by bus 905 systems; Bus 904 can be isa bus, pci bus or eisa bus etc.Described bus can be divided into address bus, data bus, control bus etc.For ease of meaning, only with a two-way thick arrow, mean in Fig. 9, but do not mean only to have the bus of a bus or a type.
Buffer memory 904, comprise Flash, the storage area of this Flash comprises a plurality of chunk, this chunk comprises a chunk meta-data region and a chunk data field, this chunk meta-data region comprises at least one meta data block, this chunk data field comprises at least one data field corresponding with this at least one meta data block, this meta data block comprises a plurality of metadata, this data field comprises a plurality of data blocks, this meta data block is corresponding one by one with this data field, this metadata is corresponding one by one with this data block, a set of metadata in internal memory is corresponding to this meta data block, this set of metadata comprises a plurality of metadata, the interior metadata of metadata in this set of metadata meta data block corresponding with this set of metadata is corresponding one by one.
Certainly, storer 901 may also comprise other high-speed RAM storer, also may also comprise nonvolatile memory (non-volatile memory), for example at least one magnetic disk memory.Storer 901 is also for providing instruction and data to processor 902.
Storer 901 has been stored following element, executable module or data structure, or their subset, or their superset:
Operational order: comprise various operational orders, for realizing various operations.
Operating system: comprise various system programs, for realizing various basic businesses and processing hardware based task.
In embodiments of the present invention, processor 902, by calling the operational order (this operational order can be stored in operating system) of storer 901 storages, is carried out operation as follows:
Upgrade at least one metadata in internal memory, wherein, this at least one metadata is corresponding to write at least one data block of the data that the request of IO request command writes in this Flash for storage; For obtaining at least one affiliated set of metadata of this at least one metadata; If the state of writing of the first set of metadata in this at least one set of metadata is a plurality of IO of the writing request commands that the pending metadata write operation such as have under non-write state and this first set of metadata, the merging that the plurality of IO of writing request command is moved to this first set of metadata writes the metadata queue; This first set of metadata is written to the corresponding meta data block of this first set of metadata in this Flash; Whether successful the merging of this first set of metadata is write to a plurality of IO of writing request commands under the metadata queue returns to this first set of metadata and writes state.
Metadata in internal memory, can be divided into groups according to the size of the meta data block in Flash.For example, in Flash, a meta data block has 128 metadata, and in internal memory, 128 metadata can be compiled is 1 group.Simultaneously, in internal memory, the metadata of a set of metadata is corresponding one by one with the metadata of a meta data block in Flash.
In the embodiment of the present invention, storage system 800 is when writing metadata to Flash, merge a plurality of write operations of IO request command to same meta data block that write, can reduce to a certain extent writing indegree and avoiding to a certain extent IO to write the problem of amplification of Flash, improve the serviceable life of Flash.
Alternatively, as an embodiment, when upgrading at least one metadata of internal memory, processor 902 specifically for: if the status indication information of one of this at least one metadata indicates one of this at least one metadata for clean Clean state, upgrade one of this at least one metadata, wherein, to be used to indicate one of one of this at least one metadata at least one metadata of metadata and this corresponding at this Flash content identical for this Clean state.In the embodiment of the present invention, 900 pairs of buffer storages have been put dirty metadata, no longer carry out write operation, also reduce to a certain extent the indegree of writing of Flash, and improve the serviceable life of Flash.
Alternatively, alternatively, the size of this meta data block equals the page size of this Flash.The size of meta data block is consistent with the page size of Flash, can improve to a certain extent the life-span of Flash, and improves the Flash write performance.In prior art, the page size of Flash is 4K.
Alternatively, the size of this metadata is 32B, 64B or 128B.
Alternatively, as an embodiment, the in the same size of the size of this chunk meta-data region and this data block.The in the same size of the size of Chunk meta-data region and a data block, make buffer storage 900 load Flash or during to the Flash initialization, can carry out the storage area division according to the size of data block.
Alternatively, the size of this data block can be 512B, 1K, 2K, 4K, 8K, 16K, 32K or 64K.
In addition, but buffer storage 900 method of execution graph 2 also, and realize the function of buffer storage at the embodiment shown in Fig. 7, the embodiment of the present invention does not repeat them here.
Those of ordinary skills can recognize, unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are carried out with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.The professional and technical personnel can specifically should be used for realizing described function with distinct methods to each, but this realization should not thought and exceeds scope of the present invention.
The those skilled in the art can be well understood to, and for convenience and simplicity of description, the specific works process of the system of foregoing description, device and unit, can, with reference to the corresponding process in preceding method embodiment, not repeat them here.
In the several embodiment that provide in the application, should be understood that disclosed system, apparatus and method can realize by another way.For example, device embodiment described above is only schematic, for example, the division of described unit, be only that a kind of logic function is divided, during actual the realization, other dividing mode can be arranged, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrically, machinery or other form.
The described unit as the separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed on a plurality of network element.Can select according to the actual needs some or all of unit wherein to realize the purpose of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.
If described function usings that the form of SFU software functional unit realizes and during as production marketing independently or use, can be stored in a computer read/write memory medium.Understanding based on such, the part that technical scheme of the present invention contributes to prior art in essence in other words or the part of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) carry out all or part of step of the described method of each embodiment of the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CDs.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by the described protection domain with claim.

Claims (14)

1. the method that buffer memory Cache writes, it is characterized in that, the storage area of the flash memory Flash of described Cache comprises a plurality of storage block chunk, a described chunk comprises a chunk meta-data region and a chunk data field, a described chunk meta-data region comprises at least one meta data block, a described chunk data field comprises at least one data field corresponding with described at least one meta data block, described meta data block comprises a plurality of metadata, described data field comprises a plurality of data blocks, described meta data block is corresponding one by one with described data field, described metadata is corresponding one by one with described data block, a set of metadata in internal memory is corresponding to a described meta data block, a described set of metadata comprises a plurality of metadata, the interior metadata of metadata in the described set of metadata meta data block corresponding with described set of metadata is corresponding one by one, comprise:
Upgrade at least one metadata in internal memory, described at least one metadata is corresponding to write at least one data block of the data that the request of IO request command writes in described Flash for storage;
Obtain at least one affiliated set of metadata of described at least one metadata;
If the state of writing of the first set of metadata in described at least one set of metadata is a plurality of IO of the writing request commands that the pending metadata write operation such as have under non-write state and described the first set of metadata, the merging that the described a plurality of IO of writing request commands is moved to described the first set of metadata writes the metadata queue;
The metadata of described the first set of metadata is written in the corresponding meta data block of the first set of metadata described in described Flash;
Whether successful the merging of described the first set of metadata is write to a plurality of IO of writing request commands under the metadata queue returns to described the first set of metadata and writes state.
2. the method for claim 1, is characterized in that, at least one metadata in described renewal internal memory comprises:
If one of described at least one metadata of the status indication information of one of described at least one metadata indication is clean Clean state, upgrade one of described at least one metadata, wherein, to be used to indicate one of described at least one metadata metadata corresponding at described Flash identical with one of described at least one metadata content for described Clean state.
3. method as claimed in claim 1 or 2, is characterized in that, the size of a described meta data block equals the page size of described Flash.
4. method as claimed in claim 3, is characterized in that, the size of a described metadata is 32B, 64B or 128B.
5. method as described as claim 3 or 4, is characterized in that, the in the same size of the size of described chunk meta-data region and a described data block.
6. method as described as claim 3 or 4, is characterized in that, the size of a described data block is 512B, 1K, 2K, 4K, 8K, 16K, 32K or 64K.
7. a buffer storage, it is characterized in that, the storage area of the flash memory Flash of described buffer storage comprises a plurality of storage block chunk, a described chunk comprises a chunk meta-data region and a chunk data field, a described chunk meta-data region comprises at least one meta data block, a described chunk data field comprises at least one data field corresponding with described at least one meta data block, described meta data block comprises a plurality of metadata, described data field comprises a plurality of data blocks, described meta data block is corresponding one by one with described data field, described metadata is corresponding one by one with described data block, a set of metadata in internal memory is corresponding to a described meta data block, a described set of metadata comprises a plurality of metadata, the interior metadata of metadata in the described set of metadata meta data block corresponding with described set of metadata is corresponding one by one, comprise:
Updating block, for upgrading at least one metadata of internal memory, described at least one metadata is corresponding to write at least one data block of the data that the request of IO request command writes in described Flash for storage;
Acquiring unit, for obtaining first set of metadata of at least one meta data block under described at least one metadata, the metadata in described set of metadata is corresponding to the metadata in a meta data block in described Flash;
The queue mobile unit, if be a plurality of IO of the writing request commands that the pending metadata write operation such as have under non-write state and described the first set of metadata for the state of writing of the first set of metadata in described at least one set of metadata, the merging that the described a plurality of IO of writing request commands is moved to described the first set of metadata writes the metadata queue;
Writing unit, for being written to described the first set of metadata the corresponding meta data block of the first set of metadata described in described Flash;
Whether successful feedback unit, write a plurality of IO of writing request commands under the metadata queue for the merging to described the first set of metadata and return to described the first set of metadata and write state.
8. buffer storage as claimed in claim 7, is characterized in that, described updating block specifically for:
If one of described at least one metadata of the status indication information of one of described at least one metadata indication is clean Clean state, upgrade one of described at least one metadata, wherein, to be used to indicate one of described at least one metadata metadata corresponding at described Flash identical with one of described at least one metadata content for described Clean state.
9. buffer storage as claimed in claim 7 or 8, is characterized in that, the size of a described meta data block equals the page size of described Flash.
10. buffer storage as described as claim 7 to 9 any one, is characterized in that, the in the same size of the size of described chunk meta-data region and a described data block.
A 11. storage system, it is characterized in that, comprise storer and and processor, described storer comprises internal memory, buffer memory Cache, described Cache comprises flash memory Flash, the storage area of described Flash comprises a plurality of storage block chunk, a described chunk comprises a chunk meta-data region and a chunk data field, a described chunk meta-data region comprises at least one meta data block, a described chunk data field comprises at least one data field corresponding with described at least one meta data block, described meta data block comprises a plurality of metadata, described data field comprises a plurality of data blocks, described meta data block is corresponding one by one with described data field, described metadata is corresponding one by one with described data block, a set of metadata in internal memory is corresponding to a described meta data block, a described set of metadata comprises a plurality of metadata, the interior metadata of metadata in the described set of metadata meta data block corresponding with described set of metadata is corresponding one by one, wherein, described processor is used for:
Upgrade at least one metadata in described internal memory, described at least one metadata is corresponding to write at least one data block of the data that the request of IO request command writes in described Flash for storage;
Obtain first set of metadata of at least one meta data block under described at least one metadata, the metadata in described set of metadata is corresponding to the metadata in a meta data block in described Flash;
If the state of writing of the first set of metadata in described at least one set of metadata is a plurality of IO of the writing request commands that the pending metadata write operation such as have under non-write state and described the first set of metadata, the merging that the described a plurality of IO of writing request commands is moved to described the first set of metadata writes the metadata queue;
Described the first set of metadata is written to the corresponding meta data block of the first set of metadata described in described Flash;
Whether successful the merging of described the first set of metadata is write to a plurality of IO of writing request commands under the metadata queue returns to described the first set of metadata and writes state.
12. storage system as claimed in claim 11, is characterized in that, for upgrading at least one metadata of described internal memory, described processor specifically for:
If one of described at least one metadata of the status indication information of one of described at least one metadata indication is clean Clean state, upgrade one of described at least one metadata, wherein, to be used to indicate one of described at least one metadata metadata corresponding at described Flash identical with one of described at least one metadata content for described Clean state.
13. storage system as described as claim 11 or 12, the size of a described meta data block equals the page size of described Flash.
14. storage system as described as claim 11 to 13 any one, is characterized in that, the in the same size of the size of described chunk meta-data region and a described data block.
CN201310402988.XA 2013-09-06 2013-09-06 Method, buffer storage and the storage system of caching write Active CN103473185B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310402988.XA CN103473185B (en) 2013-09-06 2013-09-06 Method, buffer storage and the storage system of caching write

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310402988.XA CN103473185B (en) 2013-09-06 2013-09-06 Method, buffer storage and the storage system of caching write

Publications (2)

Publication Number Publication Date
CN103473185A true CN103473185A (en) 2013-12-25
CN103473185B CN103473185B (en) 2016-08-10

Family

ID=49798047

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310402988.XA Active CN103473185B (en) 2013-09-06 2013-09-06 Method, buffer storage and the storage system of caching write

Country Status (1)

Country Link
CN (1) CN103473185B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104238962A (en) * 2014-09-16 2014-12-24 华为技术有限公司 Method and device for writing data into cache
CN104484285A (en) * 2014-12-09 2015-04-01 杭州华为数字技术有限公司 Storage management method and device
CN104503710A (en) * 2015-01-23 2015-04-08 福州瑞芯微电子有限公司 Method and device for increasing writing speed of nand flash
CN105117351A (en) * 2015-09-08 2015-12-02 华为技术有限公司 Method and apparatus for writing data into cache
CN105812891A (en) * 2014-12-30 2016-07-27 Tcl集团股份有限公司 Method and system for storing data in screen end plate of modular television
CN109213693A (en) * 2017-06-30 2019-01-15 伊姆西Ip控股有限责任公司 Memory management method, storage system and computer program product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110231596A1 (en) * 2010-03-18 2011-09-22 Seagate Technology Llc Multi-Tiered Metadata Scheme for a Data Storage Array
US8407437B1 (en) * 2012-03-14 2013-03-26 Tegile Systems, Inc. Scalable metadata acceleration with datapath metadata backup
CN102999428A (en) * 2012-11-01 2013-03-27 华中科技大学 Four-stage addressing method for tile recording disk
US20130166855A1 (en) * 2011-12-22 2013-06-27 Fusion-Io, Inc. Systems, methods, and interfaces for vector input/output operations

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110231596A1 (en) * 2010-03-18 2011-09-22 Seagate Technology Llc Multi-Tiered Metadata Scheme for a Data Storage Array
US20130166855A1 (en) * 2011-12-22 2013-06-27 Fusion-Io, Inc. Systems, methods, and interfaces for vector input/output operations
US8407437B1 (en) * 2012-03-14 2013-03-26 Tegile Systems, Inc. Scalable metadata acceleration with datapath metadata backup
CN102999428A (en) * 2012-11-01 2013-03-27 华中科技大学 Four-stage addressing method for tile recording disk

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104238962A (en) * 2014-09-16 2014-12-24 华为技术有限公司 Method and device for writing data into cache
WO2016041401A1 (en) * 2014-09-16 2016-03-24 华为技术有限公司 Method and device for writing data to cache
CN104238962B (en) * 2014-09-16 2018-02-06 华为技术有限公司 The method and device of data is write into caching
CN104484285A (en) * 2014-12-09 2015-04-01 杭州华为数字技术有限公司 Storage management method and device
CN104484285B (en) * 2014-12-09 2017-11-17 杭州华为数字技术有限公司 A kind of memory management method and device
CN105812891A (en) * 2014-12-30 2016-07-27 Tcl集团股份有限公司 Method and system for storing data in screen end plate of modular television
CN105812891B (en) * 2014-12-30 2019-03-19 Tcl集团股份有限公司 A kind of method and system of module TV screen end plate data storage
CN104503710B (en) * 2015-01-23 2018-02-13 福州瑞芯微电子股份有限公司 A kind of method and apparatus for improving flash memory writing speed
CN104503710A (en) * 2015-01-23 2015-04-08 福州瑞芯微电子有限公司 Method and device for increasing writing speed of nand flash
CN105117351A (en) * 2015-09-08 2015-12-02 华为技术有限公司 Method and apparatus for writing data into cache
CN105117351B (en) * 2015-09-08 2018-07-03 华为技术有限公司 To the method and device of buffering write data
WO2017041570A1 (en) * 2015-09-08 2017-03-16 华为技术有限公司 Method and apparatus for writing data to cache
US10409502B2 (en) 2015-09-08 2019-09-10 Huawei Technologies Co., Ltd. Method and apparatus for writing metadata into cache
CN109213693A (en) * 2017-06-30 2019-01-15 伊姆西Ip控股有限责任公司 Memory management method, storage system and computer program product

Also Published As

Publication number Publication date
CN103473185B (en) 2016-08-10

Similar Documents

Publication Publication Date Title
CN103473185A (en) Cache writing method, caching device and storing system
CN101231572B (en) Storage system
CN104346290A (en) Storage device, computer system and methods of operating same
CN105224237A (en) A kind of date storage method and device
CN103377278B (en) The method and system of the table boundary detection in the data block that identification is to be compressed
CN101271383A (en) Data processing system operating method, method and computer program product
CN103383672A (en) Cache control to reduce transaction roll back
US8918554B2 (en) Method and apparatus for effectively increasing a command queue length for accessing storage
CN103246609B (en) The method of cold and hot data separation management in a kind of flash memory device and device
CN102298555A (en) Modular flash management system based on Not AND (NAND) technology
CN103019888A (en) Backup method and device
CN102591592A (en) Data deduplication in a virtualization environment
KR101826047B1 (en) Storage device and driving method thereof
CN103838676B (en) Data-storage system, date storage method and PCM bridges
CN105117351A (en) Method and apparatus for writing data into cache
CN102326141A (en) Processing method and apparatus for raid configuration information and raid controller
CN103677653A (en) Data processing method and electronic device based on solid state disk (SSD)
CN111399750B (en) Flash memory data writing method and computer readable storage medium
CN101246429B (en) Electronic systems using flash memory modules as main storage and related system booting methods
CN102592670B (en) Method for writing data, Memory Controller and memorizer memory devices
CN101894077B (en) Data storage method and system
US11507290B2 (en) Method and apparatus for storage device management
CN102880574B (en) Method for simulating low speed parallel interface by using GPIO (general purpose input output)
CN102981779A (en) Data processing method and device
CN108519860B (en) SSD read hit processing method and device

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