Synchronously performing commit records operations

US2019073142A1 · US · A1

Patent metadata
FieldValue
Publication numberUS-2019073142-A1
Application numberUS-201715696052-A
CountryUS
Kind codeA1
Filing dateSep 5, 2017
Priority dateSep 5, 2017
Publication dateMar 7, 2019
Grant date

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Provided are techniques for synchronously performing commit records operations. A local copy of a commit records message is built for a Non-Volatile Storage (NVS) track, with a valid indicator set to indicate that this commit records message is valid and has not been processed yet. A Direct Memory Access (DMA) chain is executed to transfer customer data from a host to real segments and alternate segments of a track buffer and to transfer the local copy of the commit records message to a mail message structure of a mail message array. At DMA completion, an NVS manager is synchronously called to perform a commit records operation with the commit records message in the mail message structure. In response to the commit records operation completing, there is an indication that a new write DMA is allowed to proceed for the NVS track.

First claim

Opening claim text (preview).

What is claimed is: 1 . A computer program product, the computer program product comprising a computer readable storage medium having program code embodied therewith, the program code executable by at least one processor to perform: building a local copy of a commit records message for a Non-Volatile Storage (NVS) track, with a valid indicator set to indicate that this commit records message is valid and has not been processed yet; executing a Direct Memory Access (DMA) chain to transfer customer data from a host to real segments and alternate segments of a track buffer and to transfer the local copy of the commit records message to a mail message structure of a mail message array; at DMA completion, synchronously calling an NVS manager to perform a commit records operation with the commit records message in the mail message structure; and in response to the commit records operation completing, indicating that a new write DMA is allowed to proceed for the NVS track. 2 . The computer program product of claim 1 , wherein the commit records structure comprises: a track identifier, a track buffer, a start sector, an end sector, an end of track sector, the valid indicator, and a use real or alternate segments indicator. 3 . The computer program product of claim 1 , wherein the program code is executable by the at least one processor to perform: building the DMA chain. 4 . The computer program product of claim 1 , wherein the program code is executable by the at least one processor to perform: executing the commit records operation to update a real sector structure and an alternate sector structure indicating whether new data for each record is stored in real segments or alternate segments, reset the valid indicator to indicate that the commit records message has been processed, and synchronously return control. 5 . The computer program product of claim 1 , wherein the program code is executable by the at least one processor to perform: during any of an Initial Microcode Load (IML) and an Error Handling Behavior (EHB), examining the mail message structure to determine whether the commit records message has the valid indicator set to indicate that the mail message structure is to be processed; and in response to determining that the valid indicator is set to indicate that the mail message structure is to be processed, re-processing the commit records message. 6 . The computer program product of claim 1 , wherein the mail message structure is preserved across a power loss and Error Handling Behavior (EHB) in Non-Volatile Storage. 7 . A computer system, comprising: one or more processors, one or more computer-readable memories and one or more computer-readable, tangible storage devices; and program instructions, stored on at least one of the one or more computer-readable, tangible storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, to perform operations comprising: building a local copy of a commit records message for a Non-Volatile Storage (NVS) track, with a valid indicator set to indicate that this commit records message is valid and has not been processed yet; executing a Direct Memory Access (DMA) chain to transfer customer data from a host to real segments and alternate segments of a track buffer and to transfer the local copy of the commit records message to a mail message structure of a mail message array; at DMA completion, synchronously calling an NVS manager to perform a commit records operation with the commit records message in the mail message structure; and in response to the commit records operation completing, indicating that a new write DMA is allowed to proceed for the NVS track. 8 . The computer system of claim 7 , wherein the commit records structure comprises: a track identifier, a track buffer, a start sector, an end sector, an end of track sector, the valid indicator, and a use real or alternate segments indicator. 9 . The computer system of claim 7 , wherein the operations further comprise: building the DMA chain. 10 . The computer system of claim 7 , wherein the operations further comprise: executing the commit records operation to update a real sector structure and an alternate sector structure indicating whether new data for each record is stored in real segments or alternate segments, reset the valid indicator to indicate that the commit records message has been processed, and synchronously return control. 11 . The computer system of claim 7 , wherein the operations further comprise: during any of an Initial Microcode Load (IML) and an Error Handling Behavior (EHB), examining the mail message structure to determine whether the commit records message has the valid indicator set to indicate that the mail message structure is to be processed; and in response to determining that the valid indicator is set to indicate that the mail message structure is to be processed, re-processing the commit records message. 12 . The computer system of claim 7 , wherein the mail message structure is preserved across a power loss and Error Handling Behavior (EHB) in Non-Volatile Storage. 13 . A method, comprising: building, using a processor of a computer, a local copy of a commit records message for a Non-Volatile Storage (NVS) track, with a valid indicator set to indicate that this commit records message is valid and has not been processed yet; executing a Direct Memory Access (DMA) chain to transfer customer data from a host to real segments and alternate segments of a track buffer and to transfer the local copy of the commit records message to a mail message structure of a mail message array; at DMA completion, synchronously calling an NVS manager to perform a commit records operation with the commit records message in the mail message structure; and in response to the commit records operation completing, indicating that a new write DMA is allowed to proceed for the NVS track. 14 . The method of claim 13 , wherein the commit records structure comprises: a track identifier, a track buffer, a start sector, an end sector, an end of track sector, the valid indicator, and a use real or alternate segments indicator. 15 . The method of claim 13 , further comprising: building the DMA chain. 16 . The method of claim 13 , further comprising: executing the commit records operation to update a real sector structure and an alternate sector structure indicating whether new data for each record is stored in real segments or alternate segments, reset the valid indicator to indicate that the commit records message has been processed, and synchronously return control. 17 . The method of claim 13 , further comprising: during any of an Initial Microcode Load (IML) and an Error Handling Behavior (EHB), examining the mail message structure to determine whether the commit records message has the valid indicator set to indicate that the mail message structure is to be processed; and in response to determining that the valid indicator is set to indicate that the mail message structure is to be processed, re-processing the commit records message. 18 . The method of claim 13 , wherein the mail message structure is preserved across a power loss and Error Handling Behavior (EHB) in Non-Volatile Storage.

Assignees

Inventors

Classifications

  • Transaction processing · CPC title

  • on a serial bus, e.g. I2C bus, SPI bus (on daisy chain buses G06F13/4247) · CPC title

  • using switching circuits, e.g. switching matrix, connection or expansion network (G06F13/4009 takes precedence) · CPC title

  • Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP] · CPC title

  • G06F13/28Primary

    using burst mode transfer, e.g. direct memory access {DMA}, cycle steal (G06F13/32 takes precedence) · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US2019073142A1 cover?
Provided are techniques for synchronously performing commit records operations. A local copy of a commit records message is built for a Non-Volatile Storage (NVS) track, with a valid indicator set to indicate that this commit records message is valid and has not been processed yet. A Direct Memory Access (DMA) chain is executed to transfer customer data from a host to real segments and alternat…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F13/28. Mapped technology areas include Physics.
When was this patent published?
Publication date Thu Mar 07 2019 00:00:00 GMT+0000 (Coordinated Universal Time) (A1). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 1 related publication on this page (citations in our corpus or others sharing the same primary CPC).