Providing track format information when mirroring updated tracks from a primary storage system to a secondary storage system
First Claim
1. A computer program product for mirroring data from a primary storage system having a primary cache and a primary storage to a secondary storage system having a secondary cache and a secondary storage, the computer program product comprising a computer readable storage medium having computer readable program code executed in the primary and the secondary storage systems to perform operations, the operations comprising:
- determining, by the primary storage system, an updated track in the primary cache to mirror from the primary storage system to the secondary storage system;
determining, by the primary storage system, whether a cache control block, for the updated track includes track format information for the updated track that the primary storage system maintains for caching the updated track, wherein the track format information indicates a format and layout of data in the updated track;
sending, by the primary storage system, the track format information to the secondary storage system, in response to determining that the cache control block includes the track format information;
mirroring, by the primary storage system, the updated track to the secondary storage system; and
using, by the secondary storage system, the track format information for the mirrored updated track in the secondary cache when processing a read or write request to the mirrored updated track.
1 Assignment
0 Petitions
Accused Products
Abstract
Provided are a computer program product, system, and method for providing track format information when mirroring updated tracks from a primary storage system to a secondary storage system. The primary storage system determines a track to mirror to the secondary storage system and determines whether there is track format information for the track to mirror. The track format information indicates a format and layout of data in the track, indicated in track metadata for the track. The primary storage system sends the track format information to the secondary storage system, in response to determining there is the track format information and mirrors the track to mirror to the secondary storage system. The secondary storage system uses the track format information for the track in the secondary cache when processing a read or write request to the mirrored track.
45 Citations
19 Claims
-
1. A computer program product for mirroring data from a primary storage system having a primary cache and a primary storage to a secondary storage system having a secondary cache and a secondary storage, the computer program product comprising a computer readable storage medium having computer readable program code executed in the primary and the secondary storage systems to perform operations, the operations comprising:
-
determining, by the primary storage system, an updated track in the primary cache to mirror from the primary storage system to the secondary storage system; determining, by the primary storage system, whether a cache control block, for the updated track includes track format information for the updated track that the primary storage system maintains for caching the updated track, wherein the track format information indicates a format and layout of data in the updated track; sending, by the primary storage system, the track format information to the secondary storage system, in response to determining that the cache control block includes the track format information; mirroring, by the primary storage system, the updated track to the secondary storage system; and using, by the secondary storage system, the track format information for the mirrored updated track in the secondary cache when processing a read or write request to the mirrored updated track. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A storage environment, including:
-
a primary storage system having a primary cache and a primary storage; a secondary storage system having a secondary cache and a secondary storage; wherein the primary storage system is to execute first computer program instructions to perform operations, the operations comprising; determining an updated track in the primary cache to mirror from the primary storage system to the secondary storage system; determining whether a cache control block, for the updated track includes track format information for the updated track that the primary storage system maintains for caching the updated track wherein the track format information indicates a format and layout of data in the updated track; sending the track format information to the secondary storage system in response to determining that the cache control block includes the track format information; and mirroring the updated track to the secondary storage system; and wherein the secondary storage system is to execute second computer program instructions to perform using the track format information for the mirrored updated track in the secondary cache when processing a read or write request to the mirrored updated track. - View Dependent Claims (11, 12, 13, 14)
-
-
15. A method for mirroring data from a primary storage system to a secondary storage system comprising:
-
determining, by the primary storage system, an updated track in a primary cache to mirror from the primary storage system to the secondary storage system; determining, by the primary storage system, whether a cache control block, for the updated track, includes track format information for the updated track that the primary storage system maintains for caching the updated track, wherein the track format information indicates a format and layout of data in the updated track; sending, by the primary storage system, the track format information to the secondary storage system, in response to determining that the cache control block includes the track format information; mirroring, by the primary storage system, the updated track to the secondary storage system; and using, by the secondary storage system, the track format information for the mirrored updated track in a secondary cache when processing a read or write request to the mirrored updated track. - View Dependent Claims (16, 17, 18, 19)
-
Specification