STORAGE APPARATUS AND METHOD OF CONTROLLING THE SAME
First Claim
1. A storage apparatus configured to provide a data storage area to an external apparatus, comprising:
- a storage drive configured to provide a physical storage area for the data storage area; and
a storage control unit configured to manage the data storage area as an un-compression storage area that is a logical storage area for storing data in the external apparatus in an uncompressed form and as a compression storage area that is a logical storage area for storing data in the external apparatus in a compressed form, and to control each of data write processing and data read processing on the storage drive according to a data input-output request from the external apparatus,whereinthe compression storage area and the un-compression storage area each include a set of unit physical storage areas formed by dividing the physical storage area,the storage control unit includes an un-compression cache area that is a temporary memory area for storing uncompressed data, a compression cache area that is a temporary memory area for storing compressed data, and a read cache area that is a temporary memory area for storing data read from the compression storage area,when reading data from the compression storage area in response to a data read request from the external apparatus, the storage control unit decompresses the read data and stores the decompressed data to the read cache area,in a case where the storage control unit receives a data read request from the external apparatus and where read target data of the data read request is stored in the compression storage area, the storage control unit judges whether or not the read target data is stored in the read cache area,when judging that the data is stored in the read cache area, the storage control unit transfers the data stored in the read cache area to the external apparatus, andwhen judging that the data is not stored in the read cache area, the storage control unit reads the read target data from the compression storage area, decompresses the data, and then transfers the decompressed data to the external apparatus.
1 Assignment
0 Petitions
Accused Products
Abstract
Provided is a storage apparatus to provide a data storage area to an external apparatus. The storage apparatus includes a storage drive to provide a physical storage area for the data storage area; and a storage control unit to manage the data storage area as an un-compression storage area that is a logical storage area for storing data in the external apparatus in an uncompressed form and as a compression storage area that is a logical storage area for storing data in the external apparatus in a compressed form, and to control each of data write processing and data read processing on the storage drive according to a data input-output request from the external apparatus. The compression storage area and the un-compression storage area each include a set of unit physical storage areas formed by dividing the physical storage area. The storage control unit includes an un-compression cache area that is a temporary memory area for storing un-compressed data, a compression cache area that is a temporary memory area for storing compressed data, and a read cache area that is a temporary memory area for storing data read from the compression storage area. When reading data from the compression storage area in response to a data read request from the external apparatus, the storage control unit decompresses the read data and stores the decompressed data to the read cache area. In a case where the storage control unit receives a data read request from the external apparatus and where read target data of the data read request is stored in the compression storage area, the storage control unit judges whether or not the read target data is stored in the read cache area. When judging that the data is stored in the read cache area, the storage control unit transfers the data stored in the read cache area to the external apparatus. When judging that the data is not stored in the read cache area, the storage control unit reads the read target data from the compression storage area, decompresses the data, and then transfers the decompressed data to the external apparatus.
-
Citations
12 Claims
-
1. A storage apparatus configured to provide a data storage area to an external apparatus, comprising:
-
a storage drive configured to provide a physical storage area for the data storage area; and a storage control unit configured to manage the data storage area as an un-compression storage area that is a logical storage area for storing data in the external apparatus in an uncompressed form and as a compression storage area that is a logical storage area for storing data in the external apparatus in a compressed form, and to control each of data write processing and data read processing on the storage drive according to a data input-output request from the external apparatus, wherein the compression storage area and the un-compression storage area each include a set of unit physical storage areas formed by dividing the physical storage area, the storage control unit includes an un-compression cache area that is a temporary memory area for storing uncompressed data, a compression cache area that is a temporary memory area for storing compressed data, and a read cache area that is a temporary memory area for storing data read from the compression storage area, when reading data from the compression storage area in response to a data read request from the external apparatus, the storage control unit decompresses the read data and stores the decompressed data to the read cache area, in a case where the storage control unit receives a data read request from the external apparatus and where read target data of the data read request is stored in the compression storage area, the storage control unit judges whether or not the read target data is stored in the read cache area, when judging that the data is stored in the read cache area, the storage control unit transfers the data stored in the read cache area to the external apparatus, and when judging that the data is not stored in the read cache area, the storage control unit reads the read target data from the compression storage area, decompresses the data, and then transfers the decompressed data to the external apparatus. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method of controlling a storage apparatus configured to provide a data storage area to an external apparatus, the storage apparatus including
a storage drive configured to provide a physical storage area for the data storage area; - and
a storage control unit configured to manage the data storage area as an un-compression storage area that is a logical storage area for storing data in the external apparatus in an un-compressed form and as a compression storage area that is a logical storage area for storing data in the external apparatus in a compressed form, and to control each of data write processing and data read processing on the storage drive according to a data input-output request from the external apparatus, the compression storage area and the un-compression storage area each including a set of unit physical storage areas formed by dividing the physical storage area, the storage control unit including an uncompression cache area that is a temporary memory area for storing uncompressed data, a compression cache area that is a temporary memory area for storing compressed data, and a read cache area that is a temporary memory area for storing data read from the compression storage area, the method comprising; when reading data from the compression storage area in response to a data read request from the external apparatus, decompressing, by the storage control unit, the read data and store the decompressed data to the read cache area; in a case where the storage control unit receives a data read request from the external apparatus and where read target data of the data read request is stored in the compression storage area, judging, by the storage control unit, whether or not the read target data is stored in the read cache area; when judging that the data is stored in the read cache area, transferring, by the storage control unit, the data stored in the read cache area to the external apparatus; and when judging that the data is not stored in the read cache area, by the storage control unit, reading the read target data from the compression storage area, decompressing the data, and then transferring the decompressed data to the external apparatus. - View Dependent Claims (8, 9, 10, 11, 12)
- and
Specification