白丝美女被狂躁免费视频网站,500av导航大全精品,yw.193.cnc爆乳尤物未满,97se亚洲综合色区,аⅴ天堂中文在线网官网

Determining tracks to release in a target volume mirrored from a source volume

專利號
US11175827B2
公開日期
2021-11-16
申請人
INTERNATIONAL BUSINESS MACHINES CORPORATION(US NY Armonk)
發(fā)明人
Matthew J. Ward; Joshua J. Crawford; Gregory E. McBride
IPC分類
G06F12/00; G06F3/06
技術(shù)領(lǐng)域
volume,target,copy,tracks,in,source,computer,server,mirror,release
地域: NY NY Armonk

摘要

Provided are a computer program product, system, and method for determining tracks to release in a target volume mirroring tracks from a source volume. Tracks received from the source volume are written to the target volume to form a consistency group of tracks in the source volume at the target volume. A determination is made of tracks available to release from a volume table providing a state of the tracks in the target volume and space allocated to the determined tracks is released. A point-in-time copy of the target volume is crated and complete is returned to forming the consistency group in response to releasing the space and creating the point-in-time copy.

說明書

BACKGROUND OF THE INVENTION 1. Field of the Invention

The present invention relates to a computer program product, system, and method for determining tracks to release in a target volume mirroring tracks from a source volume.

2. Description of the Related Art

Storage volumes may be “thin provisioned”, meaning that extents of storage space are assigned to the volume but not allocated until needed. Additional extents may be allocated to the volume on an extent boundary at a time when an allocated extent is first written. Extents that are allocated but not being used for a “thin provisioned” volume may be released, i.e., unallocated, and available to assign to other thin provisioned volumes.

The data in a thin provisioned volume may be subject to a mirror copy operation, such as an asynchronous copy operation to a secondary volume. Data may be copied in consistency groups to provide the mirroring of changed data consistent as of a consistency group time. Data in the consistency group may comprise data that has been updated in the primary volume prior to a time of a next consistency group.

In current systems, if a space release command is received to release tracks within a consistency group being mirrored to a secondary volume, then the consistency group copy is cancelled to allow the space release command to complete. A new consistency group may be formed to cause the copying of all data prior to the previous consistency group formed.

Described embodiments provide improved technological solutions to optimize computer technology related to determine space to release for tracks a consistency group in-progress of being formed.

SUMMARY

權(quán)利要求

1
What is claimed is:1. A computer program product for releasing space in a target volume to which data is copied from a source volume, wherein the computer program product comprises a computer readable storage medium having program instructions executable by a processor to cause operations, the operations comprising:determining tracks to release in a target volume;releasing space allocated to the determined tracks; andcreating a point-in-time copy of the target volume in response to releasing the space.2. The computer program product of claim 1, wherein the data is copied to the target volume from the source volume to form a consistency group at the target volume, wherein the releasing the space is performed while tracks are copied from the source volume to the target volume to form the consistency group.3. The computer program product of claim 2, wherein a target server has a device adaptor coupled to the target volume, wherein the releasing the space comprises:forming, at the target server, a space release list indicating the determined tracks;constructing, at the target server, space release commands for the tracks in the space release list;sending the space release commands to a device adaptor at the target server coupled to a target storage having the target volume to execute against the target volume to release the space; andreturning complete to forming the consistency group in response to the device adaptor completing executing the space release commands and creating the point-in-time copy of the target volume.4. The computer program product of claim 1, wherein the determining tracks to release comprises determining tracks allocated but not used for a thin provisioned volume.5. The computer program product of claim 1, wherein the operations comprise:receiving a message indicating that a consistency group has been formed in the target volume from copying the data from the source volume, wherein the determining tracks to release in the target volume is performed in response to receiving the message.6. The computer program product of claim 5, wherein the operations further comprise:returning complete to forming the consistency group in response to completing the creating the point-in-time copy of the target volume.7. The computer program product of claim 6, wherein the message is received from a source server managing the source volume, wherein the message is received at a target server managing the target volume, and wherein the target server returns complete to forming the consistency group to the source server.8. A system for releasing space in a target volume to which data is copied from a source volume, comprising:a processor; anda computer readable storage medium having program instructions executable by the processor to cause operations, the operations comprisingdetermining tracks to release in a target volume;releasing space allocated to the determined tracks; andcreating a point-in-time copy of the target volume in response to releasing the space.9. The system of claim 8, wherein the data is copied to the target volume from the source volume to form a consistency group at the target volume, wherein the releasing the space is performed while tracks are copied from the source volume to the target volume to form the consistency group.10. The system of claim 9, further comprising:a device adaptor coupled to the target volume;wherein the operations performed by the processor executing the program instructions further comprise:forming a space release list indicating the determined tracks;constructing space release commands for the tracks in the space release list;sending the space release commands to the device adaptor to execute against the target volume to release the space; andreturning complete to forming the consistency group in response to the device adaptor completing executing the space release commands and creating the point-in-time copy of the target volume.11. The system of claim 8, wherein the determining tracks to release comprises determining tracks allocated but not used for a thin provisioned volume.12. The system of claim 8, wherein the operations comprise:receiving a message indicating that a consistency group has been formed in the target volume from copying the data from the source volume, wherein the determining tracks to release in the target volume is performed in response to receiving the message.13. The system of claim 12, wherein the operations further comprise:returning complete to forming the consistency group in response to completing the creating the point-in-time copy of the target volume.14. The system of claim 13, wherein the message is received from a source server managing the source volume, wherein the complete to forming the consistency group is returned to the source server.15. A method for releasing space in a target volume to which data is copied from a source volume, comprising:determining tracks to release in a target volume;releasing space allocated to the determined tracks; andcreating a point-in-time copy of the target volume in response to releasing the space.16. The method of claim 15, further comprising:receiving a message indicating that a consistency group has been formed in the target volume from copying the data from the source volume, wherein the determining tracks to release in the target volume is performed in response to receiving the message.17. The method of claim 15, wherein the data is copied to the target volume from the source volume to form a consistency group at the target volume, wherein the releasing the space is performed while tracks are copied from the source volume to the target volume to form the consistency group.18. The method of claim 17, wherein a target server has a device adaptor coupled to the target volume, wherein the releasing the space comprises:forming, at the target server, a space release list indicating the determined tracks;constructing, at the target server, space release commands for the tracks in the space release list;sending the space release commands to a device adaptor at the target server coupled to a target storage having the target volume to execute against the target volume to release the space; andreturning complete to forming the consistency group in response to the device adaptor completing executing the space release commands and creating the point-in-time copy of the target volume.19. The method of claim 16, further comprising:returning complete to forming the consistency group in response to completing the creating the point-in-time copy of the target volume.20. The method of claim 19, wherein the message is received from a source server managing the source volume, wherein the message is received at a target server managing the target volume, and wherein the target server returns complete to forming the consistency group to the source server.
微信群二維碼
意見反饋