# US 2015/0106568 A1 · Multi-tiered caching for data storage management in a device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2015/0106568 A1
- Document ID: US20150106568A1
- Status: Published application
- Kind: A1
- Application number: 14/575,616
- Filed: 2014-12-18
- Published: 2015-04-16
- Earliest claimed: 2013-03-15
- Assignees: Seagate Technology LLC
- Applicants: Seagate Technology LLC
- Inventors: Timothy R. Feldman; Andrew M. Kowles; Mark Allen Gaertner; Brian T. Edgar
- Web page: https://patentgrep.com/patent/US20150106568A1

## CPC

- G06F 12/0811: with multilevel cache hierarchies
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 12/06: Addressing a physical block of locations, e.g. base addressing, module addressing, memory dedication (G06F12/08 takes precedence)
- G06F 12/0871: Allocation or management of cache space
- G06F 12/0897: with two or more cache hierarchy levels (with multilevel cache hierarchies G06F12/0811)
- G11B 20/10527: {Audio or video recording; Data buffering arrangements (G11B20/12 - G11B20/18 take precedence)}
- G11B 20/1252: {for discontinuous data, e.g. digital information signals or computer program data}
- G11C 7/1012: {Data reordering during input/output, e.g. crossbars, layers of multiplexers, shifting or rotating}
- G06F 2212/1016: Performance improvement
- G06F 2212/222: Non-volatile memory
- G06F 2212/283: Plural cache memories
- G06F 2212/313: In storage device
- G06F 2212/608: Details relating to cache mapping
- G06F 2212/7201: Logical to physical mapping or translation of blocks or pages
- G11C 2207/2245: Memory devices with an internal cache buffer
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11B: INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER (recording measured values in a way that does not require playback through a transducer G01D9/00; recording or playback apparatus using mechanically marked tape, e.g. punched paper tape, or using unit records, e.g. punched or magnetically marked cards G06K; transferring data from one type of record carrier to another G06K1/18; circuits for coupling output of reproducer to radio receiver H04B1/20; gramophone pick-ups or like acoustic electromechanical transducers or circuits therefor H04R)
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

A data storage device includes one or more storage media that include multiple physical storage locations. The device also includes at least one cache memory having a logical space that includes a plurality of separately managed logical block address (LBA) ranges. Additionally, a controller is included in the device. The controller is configured to receive data extents addressed by a first LBA and a logical block count. The controller is also configured to identify at least one separately managed LBA range of the plurality of separately managed LBA ranges in the at least one cache memory based on LBAs associated with at least some of the received data extents. The controller stores the at least some of the received data extents in substantially monotonically increasing LBA order in at least one physical storage location, of the at least one cache memory, assigned to the identified at least one LBA range.

## Claims

### Claim 1

A data storage device comprising:
one or more storage media that comprise a plurality of physical storage locations;
at least one cache memory having a logical space that includes a plurality of separately managed logical block address (LBA) ranges; and
a controller configured to:
receive data extents addressed by a first LBA and a logical block count;
identify at least one separately managed LBA range of the plurality of separately managed LBA ranges in the at least one cache memory based on LBAs associated with at least some of the received data extents; and
store the at least some of the received data extents in substantially monotonically increasing LBA order in at least one physical storage location, of the at least one cache memory, assigned to the identified at least one LBA range.

### Claim 2 (depends on 1)

The data storage device of claim 1 and wherein the at least one cache memory comprises a plurality of cache memories comprising:
a first level cache memory; and
a second level cache memory having the logical space that includes the plurality of separately managed LBA ranges, and
wherein the controller is further configured to:
store the data extents addressed by the first LBA and the logical block count into the first level cache memory substantially in an order in which the data extents are received in the data storage device;
gather the at least some of the data extents stored in the first level cache memory;
identify the at least one LBA range of the plurality of LBA ranges in the second level cache memory based on the LBAs associated with the gathered data extents; and
store the gathered data extents in the substantially monotonically increasing LBA order in the at least one physical storage location, of the second level cache memory, assigned to the identified at least one LBA range.

### Claim 3 (depends on 2)

The data storage device of claim 2 and wherein the controller is further configured to transfer at least some of the data extents in the at least one of physical storage location assigned to the identified at least one LBA range to at least one of the plurality of physical storage locations, on the one or more storage media, assigned to a main storage physical space.

### Claim 4 (depends on 1)

The data storage device of claim 1 and wherein at least some physical storage locations of the plurality of physical storage locations of the one or more storage media are shingled magnetic recording bands.

### Claim 5 (depends on 3)

The data storage device of claim 3 and wherein the first level cache memory comprises a solid state memory having a plurality of erasure blocks configured as a circular buffer with a plurality of memory slots that are re-used in a predetermined order, and wherein each memory slot of the plurality of memory slots utilizes a different portion of the plurality of erasure blocks, and wherein the controller is configured to move any of the received data extents contained in an earliest-filled slot of the plurality of memory slots to the second cache memory or the main storage physical space before the solid state memory is re-used for data storage.

### Claim 6 (depends on 2)

The data storage medium of claim 2 and wherein the one or more storage media comprise a homogeneous memory portion, and wherein the homogenous memory portion comprises a first area that serves as the second level cache memory and a second area that serves as a main storage physical space.

### Claim 7 (depends on 1)

The data storage device of claim 1 and further comprising a main storage logical space comprising a plurality of logical elements, and wherein the controller is further configured to:
dynamically assign different ones of the plurality of physical storage locations of the one or more storage media to different ones of the plurality of logical elements, and
dynamically assign one or more different ones of the plurality of physical storage locations of the one or more storage media to different ones of the plurality of LBA ranges.

### Claim 8

A method comprising:
transferring first data extents from a first memory area to a second memory area based on LBAs associated with the first data extents being within an LBA range of a plurality of separately managed LBA ranges; and
wherein the first data extents are stored in substantially monotonically increasing LBA order in at least one physical storage location, of the second memory area, assigned to the LBA range of the plurality of LBA ranges.

### Claim 9 (depends on 8)

The method of claim 8 and wherein the first memory area serves as a first level cache memory, and wherein the second memory area serves as a second level cache memory.

### Claim 10 (depends on 8)

The method of claim 8 and wherein both the first memory area and the second memory area are included in a memory that serves as a single level of cache memory.

### Claim 11 (depends on 8)

The method of claim 8 and further comprising transferring second data extents from the second memory area along with the first data extents from the first memory area to the LBA range of the plurality of LBA ranges.

### Claim 12 (depends on 8)

The method of claim 8 and further comprising transferring at least some of the data extents in the at least one physical storage location assigned to the LBA range of the plurality of LBA ranges to at least one of a plurality of physical storage locations in a third memory area that serves as a main storage physical space.

### Claim 13

A method comprising:
providing, in a data storage device, one or more storage media that comprise a plurality of physical storage locations;
providing, in the data storage device, a plurality of cache memory levels comprising:
a first level cache memory; and
a second level cache memory having a logical space that includes a plurality of separately managed logical block address (LBA) ranges;
storing data extents addressed by a first LBA and a logical block count into the first level cache memory substantially in an order in which the data extents are received in the data storage device;
gathering at least some of the data extents stored in the first level cache memory;
identifying at least one LBA range of the plurality of LBA ranges in the second level cache memory based on LBAs associated with the gathered data extents; and
storing the gathered data extents in substantially monotonically increasing LBA order in at least one physical storage location, of the second level cache memory, assigned to the identified at least one LBA range.

### Claim 14 (depends on 13)

The method of claim 13 and further comprising transferring at least some of the data extents in the at least one of physical storage location assigned to the identified at least one LBA range to at least one of the plurality of physical storage locations, on the one or more storage media, assigned to a main storage physical space.

### Claim 15 (depends on 13)

The method of claim 13 and wherein the providing one or more storage media comprises providing one or more storage discs, and wherein at least one of:
the storing data extents addressed by a first LBA and a logical block count into the first level cache memory substantially in an order in which the data extents are received in the data storage device; or
the transferring to at least some of the data extents in the at least one of physical storage location assigned to the identified at least one LBA range to at least one of the plurality of physical storage locations, on the one or more storage media, assigned to a main storage physical space,
is carried out using a shingled magnetic recording technique.

### Claim 16 (depends on 13)

The method of claim 13 and wherein the providing one or more storage media that comprise a plurality of physical storage locations comprises providing at least one solid state memory comprising the plurality of physical storage locations.

### Claim 17 (depends on 16)

The method of claim 16 and wherein the plurality of physical storage locations comprises a plurality of erasure blocks.

### Claim 18 (depends on 13)

The method of claim 13 and wherein the one or more storage media comprise a homogeneous memory portion, and wherein the homogenous memory portion comprises a first area that serves as the second level cache memory and a second area that serves as a main storage physical space.

### Claim 19 (depends on 18)

The method of claim 18 and wherein the identified at least one LBA range is a single LBA range and the at least one of the plurality of physical storage locations on the one or more storage media assigned to the single LBA range comprises more than one of the plurality of physical storage locations on the one or more storage media.

### Claim 20 (depends on 11)

The method of claim 11 and further comprising:
providing a main storage logical space comprising a plurality of logical elements; and
dynamically assigning different ones of the plurality of physical storage locations of the one or more storage media to different ones of the plurality of logical elements, and
dynamically assigning one or more different ones of the plurality of physical storage locations of the one or more storage media to different ones of the plurality of LBA ranges.
