USING A MIGRATION CACHE TO CACHE TRACKS DURING MIGRATION
First Claim
1. A computer program product for migrating data from a source storage to a destination storage, the computer program product comprising a computer readable storage medium having computer readable program code embodied therein that executes to perform operations, the operations comprising:
- indicating in an extent list tracks in an extent in the source storage subject to Input/Output (I/O) requests;
initiating a migration operation to migrate the extent from the source storage to the destination storage;
in response to initiating the migration operation, performing;
determining a first set of tracks in the extent in the source storage indicated in the extent list;
determining a second set of tracks in the extent;
copying the tracks in the source storage in the first set to a migration cache, wherein updates to the tracks in the migration cache during the migration operation are applied to the migration cache; and
copying the tracks in the second set directly from the source storage to the destination storage without buffering in the migration cache;
copying the tracks in the first set from the migration cache to the destination storage; and
completing the migration operation in response to copying the first set of tracks from the migration cache to the destination storage and copying the second set of tracks from the source storage to the destination storage, wherein after the migration the tracks in the extent are located in the destination storage.
1 Assignment
0 Petitions
Accused Products
Abstract
Provided are a method, system, and computer program product for using a migration cache to cache tracks during migration. Indication is made in an extent list of tracks in an extent in a source storage subject to Input/Output (I/O) requests. A migration operation is initiated to migrate the extent from the source storage to a destination storage. In response to initiating the migration operation, a determination is made of a first set of tracks in the extent in the source storage indicated in the extent list. A determination is also made of a second set of tracks in the extent. The tracks in the source storage in the first set are copied to a migration cache, wherein updates to the tracks in the migration cache during the migration operation are applied to the migration cache. The tracks in the second set are copied directly from the source storage to the destination storage without buffering in the migration cache. The tracks in the first set are copied from the migration cache to the destination storage. The migration operation is completed in response to copying the first set of tracks from the migration cache to the destination storage and copying the second set of tracks from the source storage to the destination storage, wherein after the migration the tracks in the extent are located in the destination storage.
60 Citations
22 Claims
-
1. A computer program product for migrating data from a source storage to a destination storage, the computer program product comprising a computer readable storage medium having computer readable program code embodied therein that executes to perform operations, the operations comprising:
-
indicating in an extent list tracks in an extent in the source storage subject to Input/Output (I/O) requests; initiating a migration operation to migrate the extent from the source storage to the destination storage; in response to initiating the migration operation, performing; determining a first set of tracks in the extent in the source storage indicated in the extent list; determining a second set of tracks in the extent; copying the tracks in the source storage in the first set to a migration cache, wherein updates to the tracks in the migration cache during the migration operation are applied to the migration cache; and copying the tracks in the second set directly from the source storage to the destination storage without buffering in the migration cache; copying the tracks in the first set from the migration cache to the destination storage; and completing the migration operation in response to copying the first set of tracks from the migration cache to the destination storage and copying the second set of tracks from the source storage to the destination storage, wherein after the migration the tracks in the extent are located in the destination storage. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A method, comprising:
-
indicating in an extent list tracks in an extent in a source storage subject to Input/Output (I/O) requests; initiating a migration operation to migrate the extent from the source storage to a destination storage; in response to initiating the migration operation, performing; determining a first set of tracks in the extent in the source storage indicated in the extent list; determining a second set of tracks in the extent; copying the tracks in the source storage in the first set to a migration cache, wherein updates to the tracks in the migration cache during the migration operation are applied to the migration cache; and copying the tracks in the second set directly from the source storage to the destination storage without buffering in the migration cache; copying the tracks in the first set from the migration cache to the destination storage; and completing the migration operation in response to copying the first set of tracks from the migration cache to the destination storage and copying the second set of tracks from the source storage to the destination storage, wherein after the migration the tracks in the extent are located in the destination storage. - View Dependent Claims (12, 13, 14, 15, 16)
-
-
17. A system for migrating data from a source storage to a destination storage, comprising:
-
a computer memory; a migration manager executed to perform operations, the operations comprising; indicating in an extent list in the computer memory tracks in an extent in the source storage subject to Input/Output (I/O) requests; initiating a migration operation to migrate the extent from the source storage to the destination storage; in response to initiating the migration operation, performing; determining a first set of tracks in the extent in the source storage indicated in the extent list; determining a second set of tracks in the extent; copying the tracks in the source storage in the first set to a migration cache in the computer memory, wherein updates to the tracks in the migration cache during the migration operation are applied to the migration cache; and copying the tracks in the second set directly from the source storage to the destination storage without buffering in the migration cache; copying the tracks in the first set from the migration cache to the destination storage; and completing the migration operation in response to copying the first set of tracks from the migration cache to the destination storage and copying the second set of tracks from the source storage to the destination storage, wherein after the migration the tracks in the extent are located in the destination storage. - View Dependent Claims (18, 19, 20, 21, 22)
-
Specification