System and method for supporting atomic writes in a flash translation layer
First Claim
1. A method for memory-efficient backup of a logical-to-physical (LtoP) table in a storage device comprising a processor, a volatile memory, and a non-volatile memory, the storage device being in communication with a host, the method comprising:
- for each flushed zone segment of a plurality of flushed zone segments stored in a first block stripe of the non-volatile memory, retrieving and subsequently processing, by the processor, the flushed zone segment in an order opposite to an order of storage of the plurality of flushed zone segments in the first block stripe in the non-volatile memory, the retrieving and the subsequently processing being performed one flushed zone segment at a time,wherein each of the plurality of flushed zone segments comprises a header storing a zone number, and two or more of the plurality of flushed zone segments stored in the first block stripe have a same zone number, andwherein the processing of the plurality of flushed zone segments comprises;
identifying a retrieved flushed zone segment of the plurality of flushed zone segments differing from all previously retrieved plurality of flushed zone segments; and
writing the identified retrieved flushed zone segment of the plurality of flushed zone segments to a second block stripe of the non-volatile memory, andwherein each flushed zone segment of the plurality of flushed zone segments corresponds to a plurality of logical addresses of the host.
3 Assignments
0 Petitions
Accused Products
Abstract
A method for memory-efficient backup of a logical-to-physical (LtoP) table in a storage device having a processor, a volatile memory, and a non-volatile memory, includes retrieving and subsequently processing, by the processor, a plurality of flushed zone segments stored in a first block stripe of the non-volatile memory in an order opposite to an order of storage of the plurality of flushed zone segments in the first block stripe in the non-volatile memory, wherein the processing of the plurality of flushed zone segments includes identifying a retrieved flushed zone segment of the plurality of flushed zone segments differing from all previously retrieved plurality of flushed zone segments, and writing the identified retrieved flushed zone segment of the plurality of flushed zone segments to a second block stripe of the non-volatile memory.
11 Citations
8 Claims
-
1. A method for memory-efficient backup of a logical-to-physical (LtoP) table in a storage device comprising a processor, a volatile memory, and a non-volatile memory, the storage device being in communication with a host, the method comprising:
-
for each flushed zone segment of a plurality of flushed zone segments stored in a first block stripe of the non-volatile memory, retrieving and subsequently processing, by the processor, the flushed zone segment in an order opposite to an order of storage of the plurality of flushed zone segments in the first block stripe in the non-volatile memory, the retrieving and the subsequently processing being performed one flushed zone segment at a time, wherein each of the plurality of flushed zone segments comprises a header storing a zone number, and two or more of the plurality of flushed zone segments stored in the first block stripe have a same zone number, and wherein the processing of the plurality of flushed zone segments comprises; identifying a retrieved flushed zone segment of the plurality of flushed zone segments differing from all previously retrieved plurality of flushed zone segments; and writing the identified retrieved flushed zone segment of the plurality of flushed zone segments to a second block stripe of the non-volatile memory, and wherein each flushed zone segment of the plurality of flushed zone segments corresponds to a plurality of logical addresses of the host. - View Dependent Claims (2, 3, 4)
-
-
5. A storage device configured to efficiently backup a logical-to-physical (LtoP) table in a non-volatile memory, the storage device being in communication with a host, the storage device comprising:
-
a processor; and a memory comprising a volatile memory and the non-volatile memory, wherein the memory has stored thereon instructions that, when executed by the processor, cause the processor to perform; for each flushed zone segment of a plurality of flushed zone segments stored in a first block stripe of the non-volatile memory, retrieving and subsequently processing the flushed zone segment n an order opposite to an order of storage of the plurality of flushed zone segments in the first block stripe in the non-volatile memory, the retrieving and the subsequently processing being performed one flushed zone segment at a time, wherein each of the plurality of flushed zone segments comprises a header storing a zone number, and two or more of the plurality of flushed zone segments stored in the first block stripe have a same zone number, and wherein the processing of the plurality of flushed zone segments comprises; identifying a retrieved flushed zone segment of the plurality of flushed zone segments differing from all previously retrieved plurality of flushed zone segments; and writing the identified retrieved flushed zone segment of the plurality of flushed zone segments to a second block stripe of the non-volatile memory, and wherein each flushed zone segment of the plurality of flushed zone segments corresponds to a plurality of logical addresses of the host. - View Dependent Claims (6, 7, 8)
-
Specification