# US 2017/0371828 A1 · Synchronous input / output hardware acknowledgement of write completions

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

- Number: US 2017/0371828 A1
- Document ID: US20170371828A1
- Status: Published application
- Kind: A1
- Application number: 15/190,250
- Filed: 2016-06-23
- Published: 2017-12-28
- Earliest claimed: 2016-06-23
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Scott A. Brewer; David F. Craddock; Matthew J. Kalos; Matthias Klein; Eric N. Lais
- Web page: https://patentgrep.com/patent/US20170371828A1

## CPC

- G06F 13/423: {with synchronous protocol}
- G06F 13/28: using burst mode transfer, e.g. direct memory access {DMA}, cycle steal (G06F13/32 takes precedence)
- G06F 13/4022: {using switching circuits, e.g. switching matrix, connection or expansion network (G06F13/4009 takes precedence)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer-implemented method for computer-implemented method for communicating completion of synchronous input/output (I/O) commands between a processor executing an operating system and a recipient control unit is described. The method may include issuing, by a processor, a Synchronous I/O command to the recipient control unit; receiving, with the processor, a DMA read request from the recipient control unit; converting, with the processor, the DMA read response to write a data record into memory of the recipient control unit; issuing the DMA read request to the recipient control unit, wherein the DMA read request comprises an echo read portion comprising at least one byte of information at the end of the data record written; receiving, by the processor, a DMA write confirmation comprising the echo read portion of the record; and writing the echo read portion to a status area.

## Claims

### Claim 1

A computer-implemented method for communicating completion of synchronous input/output (I/O) commands between a processor executing an operating system and a recipient control unit, the method comprising:
issuing, by the processor, a Synchronous I/O command to the recipient control unit;
receiving, with the processor, a hardware direct memory access (DMA) read request from the recipient control unit;
converting, with the processor, the DMA read request to write a data record into memory of the recipient control unit;
issuing the DMA read request to the recipient control unit, wherein the DMA read request comprises an echo read portion comprising at least one byte of information at the end of the data record written;
receiving, by the processor, a DMA write confirmation comprising the echo read portion of the record; and
writing the echo read portion to a status area.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further comprising:
determining, with the processor, whether the echo read portion of the record received by the DMA engine matches the echo read portion issued to the recipient; and
responsive to determining that the echo read portion of the record received by the processor matches the echo read portion issued to the recipient, updating a status field.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, further comprising, responsive to determining that the echo read portion of the record received by the processor does not match the echo read portion issued to the recipient, indicating the write did not complete successfully.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the echo read portion comprises a predetermined number of bytes at an end of the record.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the echo read portion comprises a cyclic redundancy check (CRC) portion and a longitudinal redundancy check (LRC) portion of the record.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the DMA write response is 8 bytes in length and aligned on a 256 byte address/cache line boundary.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the processor is configured to execute on one or more of a switch operatively connected to the processor and a recipient processor.

### Claim 8

A system for communicating completion of synchronous input/output (I/O) commands comprising:
a server comprising processor executing an operating system; and
a recipient control unit comprising a processor operatively connected to the server;
wherein the server is configured to:
issue, by a processor, a Synchronous I/O command to the recipient control unit;
receive a direct memory access (DMA) read response from the recipient control unit;
convert the DMA read response to a DMA write in a memory of the recipient control unit;
issue the DMA read request to the recipient control unit, wherein the DMA read request comprises an echo read portion comprising at least one byte of information at the end of a record;
receive, by the processor, a DMA write confirmation comprising the echo read portion of the record; and
write the echo read portion to a status area.

### Claim 9 (depends on 8)

The system of claim 8, wherein the hardware DMA engine is configured to:
determine whether the echo read portion of the record received by the processor matches the echo read portion issued to the recipient; and
responsive to determining that the echo read portion of the record received by the processor matches the echo read portion issued to the recipient, update a status field.

### Claim 10 (depends on 9)

The system of claim 9, wherein responsive to determining that the echo read portion of the record received by the processor does not match the echo read portion issued to the recipient, the hardware DMA engine is further configured to read the status area to determine if the synchronous I/O is complete.

### Claim 11 (depends on 8)

The system of claim 8, wherein the echo read portion comprises a predetermined number of bytes at the end of the record.

### Claim 12 (depends on 8)

The system of claim 8, wherein the echo read portion comprises a cyclical redundancy check (CRC) portion and a longitudinal redundancy check (LRC) portion of the record.

### Claim 13 (depends on 8)

The system of claim 8, wherein the DMA write request is 8 bytes in length and aligned on a 256 byte address/cache line boundary.

### Claim 14 (depends on 8)

The system of claim 8, wherein the hardware DMA engine is configured to execute on one or more of a switch operatively connected to the processor and a recipient processor.

### Claim 15

A computer program product for communicating completion of synchronous input/output (I/O) commands between a processor executing an operating system and a recipient, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processor to perform a method comprising:
issuing, by the processor, a Synchronous I/O command to the recipient control unit;
receiving, with the processor, a direct memory access (DMA) read response from the recipient control unit;
converting, with the processor, the DMA read response to a DMA write response in a memory of the recipient control unit;
issuing the DMA read request to the recipient control unit, wherein the DMA read request comprises an echo read portion comprising at least one byte of information at the end of a record;
receiving, by the processor, a DMA write confirmation comprising the echo read portion of the record; and
writing the echo read portion to a status area.

### Claim 16 (depends on 15)

The computer program product of claim 15, further comprising:
determining, with the DMA engine, whether the echo read portion of the record received by the DMA engine matches the echo read portion issued to the recipient; and
responsive to determining that the echo read portion of the record received by the hardware DMA engine matches the echo read portion issued to the recipient, updating a status field.

### Claim 17 (depends on 16)

The computer program product of claim 16, further comprising, responsive to determining that the echo read portion of the record received by the hardware DMA engine does not match the echo read portion issued to the recipient, reading the status area to determine if synchronous I/O is complete.

### Claim 18 (depends on 15)

The computer program product of claim 15, wherein the echo read portion comprises 8 bytes at the end of the record.

### Claim 19 (depends on 15)

The computer program product of claim 15, wherein the echo read portion comprises a cyclical redundancy check (CRC) portion and a longitudinal redundancy check (LRC) portion of the record.

### Claim 20 (depends on 15)

The computer program product of claim 15, wherein the DMA write request is 8 bytes in length and aligned on a 256 byte address/cache line boundary.
