System and method for data organization in shingled magnetic recording drive
AssigneeAlibaba Group Holding Limited
InventorsShu Li, Jianjian Huo
Life of this patent
Estimating the term…
Abstract
One embodiment described herein provides a system for managing metadata for a shingled magnetic recording (SMR) drive. During operation, the system stores a metadata file in a memory of a host of the SMR drive; subsequent to the SMR drive performing a write operation, the system generates a metadata update, and sends the generated metadata update to a buffer associated with the SMR drive and the memory of the host. In response to a compaction condition being met, the system launches, in the memory of the host, a metadata compaction operation to generate a compacted metadata file based on the previously stored metadata file and the metadata update, and sends the compacted metadata file to the SMR drive.
Claims20
A computer-implemented method for managing metadata for a shingled magnetic recording (SMR) drive, the method comprising:
- storing a metadata file in a memory of a host of the SMR drive;
- subsequent to the SMR drive performing a write operation, generating a metadata update;
- sending the generated metadata update to a buffer located on the SMR drive and the memory of the host;
- in response to a compaction condition being met, launching, by the memory of the host, a metadata compaction operation to generate a compacted metadata file based on the previously stored metadata file and the metadata update;
- and
- sending the compacted metadata file to the SMR drive.
A shingled magnetic recording (SMR)-based data storage system, comprising:
- an SMR drive;
- a host server comprising a memory configured to store a metadata file associated with the SMR drive;
- and
- a buffer located on the SMR drive, wherein the buffer is configured to store updates to the metadata file;
- wherein the memory of the host server is configured to, in response to a compaction condition being met, launch a metadata compaction operation to generate a compacted metadata file based on the previously stored metadata file and the updates to the metadata file;
- and
- wherein the SMR drive is configured to receive and store the compacted metadata file.
Dependencies are inferred from the claim text.