Patent ID: 9058113
Filing Date: 2015-06-16
Classification: G06F,G11B

Abstract:
1. A storage region providing device configured to provide a physical region that is a physical storage region of a storage device as a logical region that is a virtual storage region, the storage region providing device comprising: hardware, including a processor and a computer-readable medium storing a computer program; a writing request acceptance unit configured to accept a writing request including data and partial logical region specification information for specifying a partial logical region that is part of the logical region; an allocation determination unit configured to determine whether part of the physical region is already allocated to the partial logical region specified by the partial logical region specification information included in the accepted writing request; an initial allocation unit configured to, in a case that part of the physical region is not yet allocated to the partial logical region specified by the partial logical region specification information included in the accepted writing request, allocate at least part of an initial allocation region of the physical region to the partial logical region; a data writing unit configured to store the data included in the accepted writing request into a partial physical region that is part of the physical region and is allocated to the partial logical region specified by the partial logical region specification information included in the writing request; a reallocation unit configured to move data stored in the partial physical region included in the initial allocation region to a movement destination region that is at least part of a reallocation region that is other than the initial allocation region of the physical region, and reallocate the movement destination region to the partial logical region with the partial physical region allocated; and a retrieval request acceptance unit configured to accept a retrieval request including partial logical region specification information for specifying a partial logical region that is part of the logical region and is a continuous region in the logical region, wherein the reallocation unit is configured to, in a case that a partial physical region, which is part of the physical region and allocated to the partial logical region specified by the partial logical region specification information included in the accepted retrieval request, is included in the initial allocation region, acquire a size of the partial logical region and determine the movement destination region so that the movement destination region is continuous over the acquired size, wherein functionality of each unit is realized by execution of the computer program by the processor.