×

Storage region assignment method in a logically partitioned environment

  • US 5,592,638 A
  • Filed: 07/13/1993
  • Issued: 01/07/1997
  • Est. Priority Date: 07/14/1992
  • Status: Expired due to Fees
First Claim
Patent Images

1. In a data processor having a storage and a processor, a method of assigning a plurality of regions of said storage to a plurality of virtual machines according to a plurality of activating or non-activating storage region assignment requests, comprising the steps of:

  • (a) preparing, on the basis of said plurality of storage assignment requests each indicative of assignment of at least a storage extent of a storage origin, a reservation storage extent, and the storage extent in the storage regions, a parameter table holding therein the storage origins and the storage extents;

    (b) generating, on the basis of said parameter table, a storage assignment table holding therein said storage origin and said storage extent;

    (c) setting, on the basis of the storage activating assignment request, an activation flag in said storage assignment table;

    (d) setting, on the basis of the designation of the storage origin and the nonactivating storage region assignment request, said activation flag in said storage assignment table to generate a plurality of assignment work tables each having an activation storage origin and an activation storage extent which are the same as said storage origin and said storage extent, wherein a decision is made that, on the basis of the non-activating storage region assignment request, the activation flag is not set in said storage assignment table and zeros are set for the activation storage origin and activation storage extent of said assignment work tables;

    (e) arranging said plurality of assignment work tables in an ascending order of said storage origins;

    (f) generating, on the basis of data of said plurality of assignment work tables, a plurality of remainder work tables each containing a remainder storage origin and a remainder storage extent indicative of a non-assignment region, in said storage origin ascending order;

    (g) rearranging said plurality of remainder work tables in an ascending order of said remainder storage extents in said plurality of remainder work tables;

    (h) determining in said remainder storage extent ascending order, whether or not a request storage size contained in the storage assignment request does not exceed said remainder storage extents of said plurality of remainder work tables; and

    (i) when it is determined that said request storage size does not exceed said remainder storage extents of said plurality of remainder work tables, copying said remainder storage origin and said remainder storage extent in said storage origin and said storage extent of said storage assignment table, respectively.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×