Metadata storage system and management method for cluster file system
First Claim
Patent Images
1. A metadata storage system in a cluster file system, comprising:
- a Dynamic Random Access Memory (DRAM);
a Solid-state Drive (SDD);
wherein the DRAM comprises multiple metadata buffers;
metadata in each metadata buffer is written sequentially based on write-in time, each metadata buffer corresponds to a header structure for storing metadata index information of the buffer;
a new first metadata index unit is formed in the DRAM each time data in a first metadata buffer is written back into the SSD, to store a metadata index information comprised in a header structure of the first metadata buffer; and
wherein the SSD comprises a metadata file, and the metadata file comprises multiple metadata storage units organized in a sequence of write-back time;
a new first metadata storage unit is formed in the SSD each time the data in the first metadata buffer is written back into the SSD, to store the metadata written into the SSD from the first metadata buffer; and
the first metadata storage unit corresponds to the first metadata index unit in the DRAM, wherein the first metadata buffer is anyone of the multiple metadata buffers in the DRAM.
2 Assignments
0 Petitions
Accused Products
Abstract
The present invention provides a metadata storage system and a management method for a cluster file system. The metadata of the cluster file system is stored by using a DRAM+SSD+HDD three-tier architecture, and the metadata is written sequentially into a metadata buffer in the DRAM based on write-in time. When a metadata buffer fully written, it is written back into the SSD sequentially to form a new metadata storage unit, and corresponding metadata index information in a header structure thereof is stored into the DRAM in a form of a metadata index unit.
8 Citations
17 Claims
-
1. A metadata storage system in a cluster file system, comprising:
-
a Dynamic Random Access Memory (DRAM); a Solid-state Drive (SDD); wherein the DRAM comprises multiple metadata buffers;
metadata in each metadata buffer is written sequentially based on write-in time, each metadata buffer corresponds to a header structure for storing metadata index information of the buffer;
a new first metadata index unit is formed in the DRAM each time data in a first metadata buffer is written back into the SSD, to store a metadata index information comprised in a header structure of the first metadata buffer; andwherein the SSD comprises a metadata file, and the metadata file comprises multiple metadata storage units organized in a sequence of write-back time;
a new first metadata storage unit is formed in the SSD each time the data in the first metadata buffer is written back into the SSD, to store the metadata written into the SSD from the first metadata buffer; and
the first metadata storage unit corresponds to the first metadata index unit in the DRAM, wherein the first metadata buffer is anyone of the multiple metadata buffers in the DRAM. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A metadata management method for a metadata storage system, comprising followed steps, wherein the metadata storage system comprises a dynamic random access memory (DRAM) and a solid state drive (SSD), and the DRAM comprises multiple metadata buffers with each metadata buffer corresponding to a header structure for storing metadata index information of the buffer, the method comprising:
-
writing metadata sequentially into a first metadata buffer in the DRAM based on write-in time; and when a first metadata buffer is fully written, writing the metadata in the first metadata buffer back into the SSD sequentially to form a new first metadata storage unit, and storing corresponding metadata index information in the header structure corresponding to the first metadata buffer into the DRAM in a form of a metadata index unit, wherein the first metadata storage unit corresponds to the first metadata index unit in the DRAM, the metadata storage unit is organized into a metadata file in a sequence of write-back time, and the first metadata buffer is any one of the multiple metadata buffers in the DRAM. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. A cluster file system, comprising a metadata storage system comprising:
-
a Dynamic Random Access Memory (DRAM); a Solid-state Drive (SDD); wherein the DRAM comprises multiple metadata buffers;
metadata in each metadata buffer is written sequentially based on write-in time, each metadata buffer corresponds to a header structure for storing metadata index information of the buffer;
a new first metadata index unit is formed in the DRAM each time data in a first metadata buffer is written back into the SSD, to store a metadata index information comprised in a header structure of the first metadata buffer; andwherein the SSD comprises a metadata file, and the metadata file comprises multiple metadata storage units organized in a sequence of write-back time;
a new first metadata storage unit is formed in the SSD each time the data in the first metadata buffer is written back into the SSD, to store the metadata written into the SSD from the first metadata buffer; and
the first metadata storage unit corresponds to the first metadata index unit in the DRAM, wherein the first metadata buffer is anyone of the multiple metadata buffers in the DRAM.
-
Specification