Efficient cache management of multi-target peer-to-peer remote copy (PPRC) modified sectors bitmap
AssigneeInternational Business Machines Corporation
InventorsMichael T. Benhase, Lokesh M. Gupta, Warren K. Stanley
Life of this patent
Estimating the term…
Abstract
For efficient cache management of multi-target peer-to-peer remote copy (PPRC) modified sectors bitmap in a computing storage environment a multiplicity of PPRC modified sectors bitmaps are dynamically managed by placing the multiplicity of PPRC modified sectors bitmaps into slots of bind segments. One of the multiplicity of PPRC modified sectors bitmaps is set in one of the plurality of slots. Techniques are used depending on whether it is determined that one of the bind segments in the list of bind segments does not contain the free one of the multiplicity of slots.
Claims15
A method for efficient cache management of multi-target peer-to-peer remote copy (PPRC) modified sectors bitmap in a computing storage environment by a processor device, comprising:
- dynamically managing a plurality of PPRC modified sectors bitmaps by placing the plurality of PPRC modified sectors bitmaps into a plurality of slots of bind segments;
- setting one of the plurality of PPRC modified sectors bitmaps in one of the plurality of slots;
- and
- performing at least one of:
- acquiring a track lock,
- using a free one of the plurality of slots if there is one of the bind segments in a list of bind segments with the free one of the plurality of slots, wherein if at least one of the bind segments in the list of bind segments does not contain the free one of the plurality of slots:
- allocating a cache bind segment for setting one of the plurality of PPRC modified sectors bitmaps in one of the plurality of slots,
- pointing the allocated cache bind segment to a first bind segment in a PPRC bind segments control block included in a storage volume, wherein the PPRC bind segments control block includes at least one of the list of bind segments used for the plurality of PPRC modified sectors bitmaps for the storage volume, a list of bind segments with the available one of the plurality of slots, a pointer to both a previous bind segment and a subsequent bind segment, and a pointer to both a previous bind segment with free slots and a subsequent bind segment with free slots, and
- using a first slot in the allocated cache bind segment and adding the allocated cache bind segment to the list of bind segments with the free one of the plurality of slots,
- pointing a track to the first slot in the allocated cache bind segment and setting one of the plurality of PPRC modified sectors bitmaps in the first slot.
A system for efficient cache management of multi-target peer-to-peer remote copy (PPRC) modified sectors bitmap in a computing environment, the system comprising:
- at least one processor device operable in the computing environment, wherein processor device:
- dynamically manages a plurality of PPRC modified sectors bitmaps by placing the plurality of PPRC modified sectors bitmaps into a plurality of slots of bind segments;
- sets one of the plurality of PPRC modified sectors bitmaps in one of the plurality of slots;
- and
- performs at least one of:
- acquiring a track lock,
- using a free one of the plurality of slots if there is one of the bind segments in a list of bind segments with the free one of the plurality of slots, wherein if at least one of the bind segments in the list of bind segments does not contain the free one of the plurality of slots:
- allocating a cache bind segment for setting one of the plurality of PPRC modified sectors bitmaps in one of the plurality of slots,
- pointing the allocated cache bind segment to a first bind segment in a PPRC bind segments control block included in a storage volume, wherein the PPRC bind segments control block includes at least one of the list of bind segments used for the plurality of PPRC modified sectors bitmaps for the storage volume, a list of bind segments with the available one of the plurality of slots, a pointer to both a previous bind segment and a subsequent bind segment, and a pointer to both a previous bind segment with free slots and a subsequent bind segment with free slots, and
- using a first slot in the allocated cache bind segment and adding the allocated cache bind segment to the list of bind segments with the free one of the plurality of slots,
- pointing a track to the first slot in the allocated cache bind segment and setting one of the plurality of PPRC modified sectors bitmaps in the first slot.
A computer program product for efficient cache management of multi-target peer-to-peer remote copy (PPRC) modified sectors bitmap in a computing environment by at least one processor device, the computer program product comprising a non-transitory computer-readable storage medium having computer-readable program code portions stored therein, the computer-readable program code portions comprising:
- an executable portion that dynamically manages a plurality of PPRC modified sectors bitmaps by placing the plurality of PPRC modified sectors bitmaps into a plurality of slots of bind segments;
- an executable portion that sets one of the plurality of PPRC modified sectors bitmaps in one of the plurality of slots;
- and
- an executable portion that performs at least one of:
- acquiring a track lock,
- using a free one of the plurality of slots if there is one of the bind segments in a list of bind segments with the free one of the plurality of slots, wherein if at least one of the bind segments in the list of bind segments does not contain the free one of the plurality of slots:
- allocating a cache bind segment for setting one of the plurality of PPRC modified sectors bitmaps in one of the plurality of slots,
- pointing the allocated cache bind segment to a first bind segment in a PPRC bind segments control block included in a storage volume, wherein the PPRC bind segments control block includes at least one of the list of bind segments used for the plurality of PPRC modified sectors bitmaps for the storage volume, a list of bind segments with the available one of the plurality of slots, a pointer to both a previous bind segment and a subsequent bind segment, and a pointer to both a previous bind segment with free slots and a subsequent bind segment with free slots, and
- using a first slot in the allocated cache bind segment and adding the allocated cache bind segment to the list of bind segments with the free one of the plurality of slots,
- pointing a track to the first slot in the allocated cache bind segment and setting one of the plurality of PPRC modified sectors bitmaps in the first slot.
Dependencies are inferred from the claim text.