Determining whether data written to source storage locations according to a write order is copied to corresponding target storage locations in the write order
AssigneeInternational Business Machines Corporation
InventorJoshua Marshall Rhoades
Life of this patent
Estimating the term…
Abstract
Provided are a method, system, and article of manufacture for determining whether data written to source storage locations according to a write order is copied to corresponding target storage locations in the write order. Values are written to indicated source storage locations in a write order. The values written to the source storage locations are copied to corresponding target storage locations. The values at the target storage locations are read and a determination is made from the read values whether the values were written to the target storage locations in the write order.
Claims18
An article of manufacture comprising a computer readable storage media having code that when executed communicates with a mirroring program, a source storage, and a target storage, wherein the code is further executed to perform:
- writing values to source storage locations in the source storage in a write order, wherein the mirroring program copies the values written to the source storage locations to corresponding target storage locations in a target storage, and wherein the written values indicate the write order in which they are written to the source storage locations;
- reading the values at the target storage locations copied by the mirroring program;
- and
- comparing the read values, which comprise the copied written values indicating the write order in which the values were written to the source storage locations, to determine whether the read values were written to the target storage locations in the write order to determine whether the mirroring program is copying the values to the target storage locations in the write order in which the values are written to the source storage locations to maintain data consistency, wherein the operations of writing the values in the write order to the source storage locations, reading the values from the target storage locations, and determining from the read values whether the data was written to the target storage locations in the write order are performed repeatedly and concurrently.
A system in communication with a mirroring program, a source storage and a target storage, comprising:
- a processor;
- a computer readable storage medium including code executed by the processor, the code including:
- a writer for writing values to source storage locations in the source storage in a write order, wherein the mirroring program copies the values written to the source storage locations to corresponding target storage locations in the target storage, and wherein the written values indicate the write order in which they are written to the source storage locations;
- and
- concurrently executing readers for reading the values at the target storage locations copied by the mirroring program and comparing the read values, which comprise the copied written values indicating the write order in which the values were written to the source storage locations, to determine whether the values were written to the target storage locations in the write order to determine whether the mirroring program is copying the values to the target storage locations in the write order in which the values are written to the source storage locations to maintain data consistency.
A method, comprising:
- writing values to source storage locations in a write order, wherein the written values indicate the write order in which they are written to the source storage locations;
- copying the values written to the source storage locations to corresponding target storage locations;
- reading the values at the target storage locations copied by the mirroring program;
- and
- comparing the read values, which comprise the copied written values indicating the write order in which the values were written to the source storage locations, to determine whether the values were written to the target storage locations in the write order to determine whether the values are copied to the target storage locations in the write order in which they are written to the source storage locations to maintain data consistency, wherein there are multiple concurrent read operations reading values from the target storage locations corresponding to the source storage locations and determining from the read values whether the data was written to the target storage locations in the write order for one write operation writing values to the source storage locations.
Dependencies are inferred from the claim text.