METHOD, APPARATUS, AND COMPUTER PROGRAM PRODUCT FOR PROVIDING CACHE SERVICE
First Claim
1. A method for providing cache service in a storage system, the storage system comprising a storage cell pool, a cache and an underlying storage system, the storage cell pool comprising multiple storage cells, a storage cell among the multiple storage cells being mapped to a physical address in the underlying storage system via an address mapping of the storage system, the method comprising:
- receiving an access request for target data at a virtual address in the storage cell pool;
determining the type of the access request, the type comprising a read request for reading the target data from the storage system and a write request for writing the target data to the storage system; and
serving the access request with the cache on the basis of the determined type, wherein the cache is used to cache data in at least one part of storage cells in the storage cell pool according to a format of a storage cell in the storage cell pool.
8 Assignments
0 Petitions
Accused Products
Abstract
Techniques provide cache service in a storage system. Such techniques involve a storage cell pool, a cache and an underlying storage system. The storage cell pool includes multiple storage cells, a storage cell among the multiple storage cells being mapped to a physical address in the underlying storage system via an address mapping of the storage system. Specifically, an access request for target data at a virtual address in the storage cell pool is received, and the type of the access request is determined. The access request is served with the cache on the basis of the determined type, where the cache is used to cache data according to a format of a storage cell in the storage cell pool. The cache directly stores data in various storage cells in the pool that is visible to users, so that response speed for the access request may be increased.
1 Citation
21 Claims
-
1. A method for providing cache service in a storage system, the storage system comprising a storage cell pool, a cache and an underlying storage system, the storage cell pool comprising multiple storage cells, a storage cell among the multiple storage cells being mapped to a physical address in the underlying storage system via an address mapping of the storage system, the method comprising:
-
receiving an access request for target data at a virtual address in the storage cell pool; determining the type of the access request, the type comprising a read request for reading the target data from the storage system and a write request for writing the target data to the storage system; and serving the access request with the cache on the basis of the determined type, wherein the cache is used to cache data in at least one part of storage cells in the storage cell pool according to a format of a storage cell in the storage cell pool. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. An apparatus for providing cache service in a storage system, the storage system comprising a storage cell pool, a cache and an underlying storage system, the storage cell pool comprising multiple storage cells, a storage cell among the multiple storage cells being mapped to a physical address in the underlying storage system via an address mapping of the storage system, the apparatus comprising:
-
at least one processor; a volatile memory; and a memory coupled to the at least one processor and having instructions stored thereon, the instructions, when executed by the at least one processor, causing the apparatus to perform acts comprising; receiving an access request for target data at a virtual address in the storage cell pool; determining the type of the access request, the type comprising a read request for reading the target data from the storage system and a write request for writing the target data to the storage system; and serving the access request with the cache on the basis of the determined type, wherein the cache is used to cache data in at least one part of storage cells in the storage cell pool according to a format of a storage cell in the storage cell pool. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
-
21. A computer program product having a non-transitory computer readable medium which stores a set of instructions to provide cache service in a storage system which includes a storage cell pool, a cache and an underlying storage system, the storage cell pool including multiple storage cells, a storage cell among the multiple storage cells being mapped to a physical address in the underlying storage system via an address mapping of the storage system;
- the set of instructions, when carried out by computerized circuitry, causing the computerized circuitry to perform a method of;
receiving an access request for target data at a virtual address in the storage cell pool; determining the type of the access request, the type comprising a read request for reading the target data from the storage system and a write request for writing the target data to the storage system; and serving the access request with the cache on the basis of the determined type, wherein the cache is used to cache data in at least one part of storage cells in the storage cell pool according to a format of a storage cell in the storage cell pool.
- the set of instructions, when carried out by computerized circuitry, causing the computerized circuitry to perform a method of;
Specification