# US 2020/0393967 A1 · Systems, methods, and computer readable media providing arbitrary sizing of data extents

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

- Number: US 2020/0393967 A1
- Document ID: US20200393967A1
- Status: Published application
- Kind: A1
- Application number: 17/008,978
- Filed: 2020-09-01
- Published: 2020-12-17
- Earliest claimed: 2016-04-21
- Assignees: NetApp, Inc.
- Applicants: NetApp, Inc.
- Inventors: Randolph Sterns; Charles Binford; William P. Delaney; Joseph Blount; Reid Kaufmann; Joseph Moore
- Web page: https://patentgrep.com/patent/US20200393967A1

## CPC

- G06F 3/064: {Management of blocks}
- G06F 3/0607: {by facilitating the process of upgrading existing storage systems, e.g. for improving compatibility between host and storage device}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 3/0689: {Disk arrays, e.g. RAID, JBOD}
- G06F 11/1004: {to protect a block of data words, e.g. CRC or checksum (G06F11/1076 takes precedence; security arrangements for protecting computers or computer systems against unauthorized activity G06F21/00)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method includes: storing a first data extent on a physical medium, wherein the physical medium is divided into a plurality of storage blocks, wherein each of the storage blocks has a size that is different than a size of the first data extent, further wherein the first data extent is stored to a first block of the plurality of storage blocks; generating a descriptor for the first data extent, wherein the descriptor indicates that the first data extent starts within the first block of the plurality of blocks and indicates an offset from the beginning of the first block at which the first data extent starts; and storing the descriptor within the first block.

## Claims

### Claim 1

A method comprising:
receiving a read request for a first data extent,
wherein the first data extent is partially stored within a first physical block of a storage drive, and
wherein the first physical block includes a descriptor indicating that the first data extent starts within the first physical block and is offset from a beginning of the first physical block;
reading the first physical block as a whole, including a portion of the first data extent stored within the first physical block and the descriptor;
parsing the descriptor to determine the offset;
accessing the portion of the first data extent using the offset; and
returning a response, including the portion of the first data extent, to a requesting host.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first data extent spans the first physical block and a second physical block of the storage drive.

### Claim 3 (depends on 1)

The method of claim 1, wherein the descriptor includes a checksum, the method further comprising:
verifying the first data extent using the checksum.

### Claim 4 (depends on 1)

The method of claim 1, wherein the descriptor includes a checksum, the method further comprising:
causing an input output controller of a storage system to verify the first data extent using the checksum.

### Claim 5 (depends on 1)

The method of claim 1, wherein parsing the descriptor to determine the offset includes summing an initial offset from the beginning of the first physical block and a length of a second data extent stored to the first physical block.

### Claim 6 (depends on 1)

The method of claim 1, wherein the descriptor further includes a first write sequence number for the first data extent, the method further comprising:
verifying that the first write sequence number of the first data extent matches a second write sequence number of a second data extent within a segment that includes both the first data extent and the second data extent.

### Claim 7 (depends on 1)

The method of claim 1, wherein the descriptor comprises either a header or a footer within the first physical block.

### Claim 8 (depends on 1)

The method of claim 1, wherein the descriptor is adjacent another descriptor within the first physical block.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
identifying the first physical block by reading metadata stored to a physical medium separate from the storage drive.

### Claim 10

A method performed by a storage controller of a storage system, the method comprising:
generating a descriptor of a first data extent,
wherein the descriptor indicates that storage of contents of the first data extent starts within a first physical block of a plurality of physical blocks of a storage drive and indicates an offset from a beginning of the first physical block at which the storage of the contents of the first data extent starts;
storing the descriptor and a first portion of the contents of the first data extent within the first physical block;
reading the first physical block from the storage drive, including reading the first portion of the contents of the first data extent and the descriptor;
determining the offset from the descriptor; and
accessing the first portion of the contents of the first data extent according to the offset.

### Claim 11 (depends on 10)

The method of claim 10, wherein the descriptor further includes a field indicating a total non-zero number of data extents having contents stored starting within the first physical block, and further wherein the first physical block stores contents of a second data extent included within the total non-zero number.

### Claim 12 (depends on 10)

The method of claim 10, wherein the first data extent spans the first physical block and a second physical block of the storage drive.

### Claim 13 (depends on 10)

The method of claim 10, wherein the descriptor includes a checksum, the method further comprising:
verifying the first data extent using the checksum; or
marking the first data extent as invalid in response to the checksum indicating error.

### Claim 14 (depends on 10)

The method of claim 10, wherein the descriptor includes a checksum, the method further comprising:
causing an input output controller of the storage system to verify the first data extent using the checksum.

### Claim 15 (depends on 10)

The method of claim 10, wherein determining the offset includes summing an initial offset from the beginning of the first physical block and a length of a second data extent stored to the first physical block.

### Claim 16

A storage controller comprising:
a memory containing machine readable medium comprising machine executable code;
a central processing unit (CPU) coupled to the memory, the CPU configured to execute the machine executable code to cause the CPU to:
receive a read request for a first data extent,
wherein a portion of the first data extent and a second data extent are stored within a first physical block of a storage drive, and
wherein the first physical block includes a descriptor indicating that the first data extent and the second data extent both start within the first physical block and indicating a length of the second data extent;
read the first physical block, including the portion of the first data extent, the second data extent, and the descriptor;
sum an initial offset from a beginning of the first physical block and the length of the second data extent to determine an offset of the first data extent;
access the portion of the first data extent using the offset of the first data extent; and
return a response, including the portion of the first data extent, to a requesting host.

### Claim 17 (depends on 16)

The storage controller of claim 16, further comprising an input output controller, and wherein the descriptor includes a checksum, the CPU further configured to:
cause the input output controller of the storage controller to verify the first data extent using the checksum.

### Claim 18 (depends on 16)

The storage controller of claim 16, wherein the first data extent spans the first physical block and a second physical block of the storage drive.

### Claim 19 (depends on 16)

The storage controller of claim 16, wherein the descriptor further includes a first write sequence number for the first data extent, and wherein the CPU is further configured to:
verify that the first write sequence number of the first data extent matches a second write sequence number of a third data extent within a segment that includes both the first data extent and the third data extent.

### Claim 20 (depends on 16)

The storage controller of claim 16, wherein the CPU is further configured to:
identifying the first physical block by reading metadata stored to a physical medium separate from the storage drive.
