Logical region allocation with immediate availability
First Claim
1. A method, comprising:
- receiving, by a processor, a request to allocate one or more logical regions to a logical volume;
verifying, in response to the request, an availability on one or more storage devices of a number of physical regions corresponding to the one or more requested logical regions;
in response to the verification, activating the one or more logical regions for write operations; and
subsequent to activating the one or more logical regions, allocating, to the logical volume, one or more actual physical regions;
wherein verifying the number of the physical regions comprises calculating the number of physical regions corresponding to the one or more logical regions, and reserving the calculated number of physical regions on the one or more storage devices, and the one or more logical regions correspond to actual physical regions positioned on more than one of the storage devices, and wherein allocating the physical regions comprises serially allocating the actual physical regions on each of the storage devices.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods, apparatus and computer program products implement embodiments of the present invention that enable a computer to receive a request to allocate one or more logical regions to a logical volume, and to verify, in response to the request, an availability on one or more storage devices of a number of physical regions corresponding to the one or more requested logical regions. In response to the verification, the one or more logical regions can be activated for write operations to a cache, so that any data written to the logical regions is stored to the cache. Subsequent to activating the one or more logical regions, one or more actual physical regions can be allocated to the logical volume. Upon allocating the one or more actual physical regions, any data stored in the cache can be destaged to the one or more actual physical regions.
76 Citations
15 Claims
-
1. A method, comprising:
-
receiving, by a processor, a request to allocate one or more logical regions to a logical volume; verifying, in response to the request, an availability on one or more storage devices of a number of physical regions corresponding to the one or more requested logical regions; in response to the verification, activating the one or more logical regions for write operations; and subsequent to activating the one or more logical regions, allocating, to the logical volume, one or more actual physical regions; wherein verifying the number of the physical regions comprises calculating the number of physical regions corresponding to the one or more logical regions, and reserving the calculated number of physical regions on the one or more storage devices, and the one or more logical regions correspond to actual physical regions positioned on more than one of the storage devices, and wherein allocating the physical regions comprises serially allocating the actual physical regions on each of the storage devices. - View Dependent Claims (2, 3, 4, 5)
-
-
6. An apparatus, comprising:
-
one or more storage devices; and a processor configured to receive a request to allocate one or more logical regions to a logical volume, to verify, in response to the request, an availability on the one or more storage devices of a number of physical regions corresponding to the one or more requested logical regions, to activate, in response to the verification, the one or more logical regions for write operations, and to allocate to the logical volume, subsequent to activating the one or more logical regions, one or more actual physical regions;
wherein the processor is configured to verify the number of the physical regions by calculating the number of physical regions corresponding to the one or more logical regions, and reserving the calculated number of physical regions on the one or more storage devices, and the one or more logical regions correspond to actual physical regions positioned on more than one of the storage devices, and wherein the processor is configured to allocate the physical regions by serially allocating the actual physical regions on each of the storage devices. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A computer program product, the computer program product comprising:
-
a non-transitory computer readable storage medium having computer readable program code embodied therewith, the computer readable program code comprising; computer readable program code configured to receive a request to allocate one or more logical regions to a logical volume; computer readable program code configured to verify, in response to the request, an availability on one or more storage devices of a number of physical regions corresponding to the one or more requested logical regions; computer readable program code configured to activate, in response to the verification, the one or more logical regions for write operations; and computer readable program code configured to allocate to the logical volume, subsequent to activating the one or more logical regions, one or more actual physical regions; wherein the computer readable program code is configured to verify the number of the physical regions by calculating the number of physical regions corresponding to the one or more logical regions, and reserving the calculated number of physical regions on the one or more storage devices, and the one or more logical regions correspond to actual physical regions positioned on more than one of the storage devices, and wherein the processor is configured to allocate the physical regions by serially allocating the actual physical regions on each of the storage devices. - View Dependent Claims (12, 13, 14, 15)
-
Specification