Method, system, and program for managing requests to tracks subject to a relationship
First Claim
1. A computer implemented method for managing data, comprising:
- receiving a data request to a target track in a copy relationship, wherein the copy relationship associates a source track with the target track, wherein the source and target tracks are maintained in at least one storage medium;
submitting a destage request to destage the source track in response to the data request to the target track, wherein executing the data request to the target track is conditioned on receiving a complete response to the destage request;
if the source track is not in a cache, returning the complete response to the destage request, wherein the cache is implemented in at least one computer readable medium;
if the source track was in the cache when the copy relationship was established, adding the destage request to an Input/Output (I/O) queue for the source track; and
after the source track is destaged in response to processing the destage request in the I/O queue, returning the complete response to the destage request.
2 Assignments
0 Petitions
Accused Products
Abstract
Provided are a method, system, and program for managing data. A data request is received to a target track in a relationship, wherein the relationship associates a source track with the target track. A destage request to destage the source track is submitted in response to the data request to the target track, wherein executing the data request to the target track is conditioned on receiving a completion response to the destage request. If the source track is not in cache, then a complete response is returned to the destage request. If the source track was in cache when the relationship was established, then the destage request is added to an Input/Output (I/O) queue for the source track. After the source track is destaged in response to processing the destage request in the I/O queue, the complete response is returned to the destage request.
46 Citations
33 Claims
-
1. A computer implemented method for managing data, comprising:
-
receiving a data request to a target track in a copy relationship, wherein the copy relationship associates a source track with the target track, wherein the source and target tracks are maintained in at least one storage medium; submitting a destage request to destage the source track in response to the data request to the target track, wherein executing the data request to the target track is conditioned on receiving a complete response to the destage request; if the source track is not in a cache, returning the complete response to the destage request, wherein the cache is implemented in at least one computer readable medium; if the source track was in the cache when the copy relationship was established, adding the destage request to an Input/Output (I/O) queue for the source track; and after the source track is destaged in response to processing the destage request in the I/O queue, returning the complete response to the destage request. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A system for managing data, comprising:
-
a source storage including source tracks; a target storage including target tracks, wherein the source and target tracks are implemented in at least one storage medium; a cache implemented in at least one computer readable medium; means for receiving a data request to one target track in a copy relationship, wherein the copy relationship associates one source track with the target track; means for submitting a destage request to destage the source track in response to the data request to the target track, wherein executing the data request to the target track is conditioned on receiving a complete response to the destage request; means for returning the complete response to the destage request if the source track is not in the cache; means for adding the destage request to an Input/Output (I/O) queue for the source track if the source track was in the cache when the copy relationship was established; and means for returning the complete response to the destage request after the source track is destaged in response to processing the destage request in the I/O queue. - View Dependent Claims (15, 16, 17, 18, 19)
-
-
20. A device implementing code for managing data in source and target tracks and in a cache implemented in at least one computer readable medium, wherein the source and target tracks are implemented in at least one storage medium, and wherein the code causes computer implemented operations to be performed, the operations comprising:
-
receiving a data request to one target track in a copy relationship, wherein the copy relationship associates one source track with the target track; submitting a destage request to destage the source track in response to the data request to the target track, wherein executing the data request to the target track is conditioned on receiving a complete response to the destage request; if the source track is not in the cache, returning the complete response to the destage request; if the source track was in the cache when the copy relationship was established, adding the destage request to an Input/Output (I/O) queue for the source track; and after the source track is destaged in response to processing the destage request in the I/O queue, returning the complete response to the destage request. - View Dependent Claims (21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33)
-
Specification