# US 2021/0278996 A1 · Performing sub-logical page write operations in non-volatile random access memory (nvram) using pre-populated read-modify-write (rmw) buffers

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

- Number: US 2021/0278996 A1
- Document ID: US20210278996A1
- Status: Published application
- Kind: A1
- Application number: 16/810,629
- Filed: 2020-03-05
- Published: 2021-09-09
- Earliest claimed: 2020-03-05
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Kevin E. Sallese; Timothy Fisher; Andrew D. Walls
- Web page: https://patentgrep.com/patent/US20210278996A1

## CPC

- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/0656: {Data buffering arrangements}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 3/0685: {Hybrid storage combining heterogeneous device types, e.g. hierarchical storage, hybrid arrays}
- G06F 3/0688: {Non-volatile semiconductor memory arrays}
- G06F 3/0689: {Disk arrays, e.g. RAID, JBOD}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer-implemented method, according to one embodiment, includes: receiving a sub-logical page read command for data stored in NVRAM at a first LBA, and creating a searchable entry which includes the first LBA. Data read from the NVRAM is also received, where the received data corresponds to a given LBA. In response to determining that the given LBA matches the first LBA of the searchable entry, a copy of the received data is stored in a buffer. Moreover, in response to determining that a received sub-logical page write command is for data stored in the NVRAM at the first LBA, the copy of the received data in the buffer is coalesced with data included in the sub-logical page write command to form a full-logical page write. Furthermore, instructions to perform the full-logical page write in the NVRAM are sent.

## Claims

### Claim 1

A computer-implemented method, comprising:
receiving a sub-logical page read command for data stored in non-volatile random access memory (NVRAM) at a first logical block address;
creating a searchable entry which includes the first logical block address;
receiving data read from the NVRAM, wherein the received data corresponds to a given logical block address;
in response to determining that the given logical block address matches the first logical block address of the searchable entry, storing a copy of the received data in a buffer;
receiving a sub-logical page write command for data stored in the NVRAM;
in response to determining that the sub-logical page write command is for data stored in the NVRAM at the first logical block address, coalescing the copy of the received data in the buffer with data included in the sub-logical page write command to form a full-logical page write; and
sending one or more instructions to perform the full-logical page write in the NVRAM.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the sub-logical page read command is received from a redundant array of independent disks (RAID) controller.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the searchable entry is a content-addressable memory (CAM) entry, wherein receiving a sub-logical page write command for data stored in the NVRAM includes:
determining whether the sub-logical page write command is for data stored in the NVRAM at a specified logical block address which matches a logical block address of any entry in the CAM.

### Claim 4 (depends on 3)

The computer-implemented method of claim 3, comprising:
in response to determining that the sub-logical page write command is for data stored in the NVRAM at a specified logical block address which does not match the logical block address of any entry in the CAM, issuing a sub-logical page read command for data stored in NVRAM at the specified logical block address;
coalescing data read from NVRAM at the specified logical block address in the buffer with data included in the sub-logical page write command to form a full-logical page write; and
sending one or more instructions to perform the full-logical page write in the NVRAM.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the searchable entry is a content-addressable memory (CAM) entry, wherein receiving data read from the NVRAM includes:
determining whether the given logical block address matches a logical block address of any entry in the CAM.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, comprising:
in response to determining that the given logical block address does not match the logical block address of any entry in the CAM, releasing the data read from the NVRAM.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the NVRAM is Flash memory.

### Claim 8 (depends on 7)

The computer-implemented method of claim 7, wherein the NVRAM is NAND Flash memory.

### Claim 9

A computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions readable and/or executable by a processor to cause the processor to:
receive, by the processor, a sub-logical page read command for data stored in non-volatile random access memory (NVRAM) at a first logical block address;
create, by the processor, a searchable entry which includes the first logical block address;
receive, by the processor, data read from the NVRAM, wherein the received data corresponds to a given logical block address;
in response to determining that the given logical block address matches the first logical block address of the searchable entry, store, by the processor, a copy of the received data in a buffer;
receive, by the processor, a sub-logical page write command for data stored in the NVRAM;
in response to determining that the sub-logical page write command is for data stored in the NVRAM at the first logical block address, coalesce, by the processor, the copy of the received data in the buffer with data included in the sub-logical page write command to form a full-logical page write; and
send, by the processor, one or more instructions to perform the full-logical page write in the NVRAM.

### Claim 10 (depends on 9)

The computer program product of claim 9, wherein the sub-logical page read command is received from a redundant array of independent disks (RAID) controller.

### Claim 11 (depends on 9)

The computer program product of claim 9, wherein the searchable entry is a content-addressable memory (CAM) entry, wherein receiving a sub-logical page write command for data stored in the NVRAM includes:
determining whether the sub-logical page write command is for data stored in the NVRAM at a specified logical block address which matches a logical block address of any entry in the CAM.

### Claim 12 (depends on 11)

The computer program product of claim 11, wherein the program instructions are readable and/or executable by the processor to cause the processor to:
in response to determining that the sub-logical page write command is for data stored in the NVRAM at a specified logical block address which does not match the logical block address of any entry in the CAM, issue, by the processor, a sub-logical page read command for data stored in NVRAM at the specified logical block address;
coalesce, by the processor, data read from NVRAM at the specified logical block address in the buffer with data included in the sub-logical page write command to form a full-logical page write; and
send, by the processor, one or more instructions to perform the full-logical page write in the NVRAM.

### Claim 13 (depends on 9)

The computer program product of claim 9, wherein the searchable entry is a content-addressable memory (CAM) entry, wherein receiving data read from the NVRAM includes:
determining whether the given logical block address matches a logical block address of any entry in the CAM.

### Claim 14 (depends on 13)

The computer program product of claim 13, wherein the program instructions are readable and/or executable by the processor to cause the processor to:
in response to determining that the given logical block address does not match the logical block address of any entry in the CAM, release, by the processor, the data read from the NVRAM.

### Claim 15 (depends on 9)

The computer program product of claim 9, wherein the NVRAM is Flash memory.

### Claim 16 (depends on 15)

The computer program product of claim 15, wherein the NVRAM is NAND Flash memory.

### Claim 17

A system, comprising:
a plurality of non-volatile random access memory (NVRAM) blocks configured to store data;
a processor; and
logic integrated with and/or executable by the processor, the logic being configured to:
receive, by the processor, a sub-logical page read command for data stored in the NVRAM at a first logical block address, wherein the sub-logical page read command includes a hint and/or flag which indicates a redundant array of independent disks (RAID) controller is a source of the sub-logical page read command;
create, by the processor, a searchable entry which includes the first logical block address, wherein the searchable entry is created in a portion of memory which only includes entries that correspond to read commands issued by the RAID controller;
receive, by the processor, data read from the NVRAM, wherein the received data corresponds to a given logical block address that matches a logical block address of an entry in the portion of memory;
in response to determining that the given logical block address matches the first logical block address of the searchable entry, store, by the processor, a copy of the received data in a buffer;
receive, by the processor, a sub-logical page write command for data stored in the NVRAM;
in response to determining that the sub-logical page write command is for data stored in the NVRAM at the first logical block address, coalesce, by the processor, the copy of the received data in the buffer with data included in the sub-logical page write command to form a full-logical page write; and
send, by the processor, one or more instructions to perform the full-logical page write in the NVRAM.

### Claim 18 (depends on 17)

The system of claim 17, wherein the searchable entry is a content-addressable memory (CAM) entry, wherein the portion of memory is in a CAM, wherein the NVRAM is NAND Flash memory.

### Claim 19 (depends on 18)

The system of claim 18, wherein receiving a sub-logical page write command for data stored in the NVRAM includes:
determining whether the sub-logical page write command is for data stored in the NVRAM at a specified logical block address which matches a logical block address of any entry in the CAM.

### Claim 20 (depends on 19)

The system of claim 19, the logic being configured to:
in response to determining that the sub-logical page write command is for data stored in the NVRAM at a specified logical block address which does not match the logical block address of any entry in the CAM, issue, by the processor, a sub-logical page read command for data stored in NVRAM at the specified logical block address;
coalesce, by the processor, data read from NVRAM at the specified logical block address in the buffer with data included in the sub-logical page write command to form a full-logical page write; and
send, by the processor, one or more instructions to perform the full-logical page write in the NVRAM.
