Using a migration cache to cache tracks during migration
First Claim
1. 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 based on an access characteristic of the tracks in the extent;
determining a second set of tracks in the extent, wherein the second set of tracks have the access characteristic to a lesser extent than the first set of tracks;
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;
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.
0 Assignments
0 Petitions
Accused Products
Abstract
Provided are a method, system, and computer program product for using a migration cache to cache tracks during migration. In response to a migration operation, a determination is made of a first set of tracks in the source storage indicated in an extent list and 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. 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.
-
Citations
10 Claims
-
1. 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 based on an access characteristic of the tracks in the extent; determining a second set of tracks in the extent, wherein the second set of tracks have the access characteristic to a lesser extent than the first set of tracks; 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; 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)
-
Specification