METHOD TO LIMIT IMPACT OF PARTIAL MEDIA FAILURE OF DISK DRIVE AND DETECT/REPORT THE LOSS OF DATA FOR OBJECTS DUE TO PARTIAL FAILURE OF MEDIA
First Claim
1. A method of storing contents of a key-value buffer into one of multiple regions of at least one disk drive in a single sequential write process, the method comprising the steps of:
- determining that a used capacity of the key-value buffer is greater than a threshold capacity;
writing first and second key-value pairs in the key-value buffer to first and second physical locations in one of the regions, respectively; and
writing metadata that indicates the first and second physical locations as the storage location for the first and second key-value pairs, respectively, in a third physical location in the region.
6 Assignments
0 Petitions
Accused Products
Abstract
Object data, such as a key-value pair, are stored in a disk drive in conjunction with metadata associated with the object data. A key-value pair and metadata associated therewith are written in different locations in the disk drive, but as part of a single sequential write operation, such as when contents of a key-value buffer containing one or more key-value pairs are flushed to the disk drive. The key-value pair may be written during a first phase of the sequential write operation and the metadata may be written during a second phase of the sequential write operation that does not immediately precede or follow the first phase.
7 Citations
21 Claims
-
1. A method of storing contents of a key-value buffer into one of multiple regions of at least one disk drive in a single sequential write process, the method comprising the steps of:
-
determining that a used capacity of the key-value buffer is greater than a threshold capacity; writing first and second key-value pairs in the key-value buffer to first and second physical locations in one of the regions, respectively; and writing metadata that indicates the first and second physical locations as the storage location for the first and second key-value pairs, respectively, in a third physical location in the region. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A method of retrieving data from a data storage system that repeatedly moves contents of a key-value buffer into one of multiple regions of at least one disk drive in a single sequential write process, the method comprising the steps of:
-
receiving, from a disk drive of the data storage system, a read-error message in response to a read that targets a first physical location in one of the regions; responsive to the read-error message, issuing a read that targets a second physical location in the region, the second physical location storing metadata that indicates physical locations of key-value pairs that are stored within the first physical location; and determining, based on the metadata, a key associated with the first physical location. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
Specification