Direct mapping of data in a storage system with a flash cache
AssigneeNimble Storage, Inc.
InventorUmesh Maheshwari
Life of this patent
Estimating the term…
Abstract
A storage device made up of multiple storage media is configured such that one such media serves as a cache for data stored on another of such media. The device includes a controller configured to manage the cache by consolidating information concerning obsolete data stored in the cache with information concerning data no longer desired to be stored in the cache, and erase segments of the cache containing one or more of the blocks of obsolete data and the blocks of data that are no longer desired to be stored in the cache to produce reclaimed segments of the cache.
Claims6
A method, comprising:
- receiving, by a controller of a storage system, a request for data stored at a first block address of a disk-based storage unit of the storage system;
- in response to the request, accessing by the controller a direct mapping which maps respective block addresses of the disk-based storage unit with respective physical addresses of a flash memory-based cache of the storage system;
- and
- if an entry for the first block address exists in the direct mapping, (i) translating, by the controller via the direct mapping, the first block address into a first physical address of the flash memory-based cache, and (ii) returning by the controller data stored at the first physical address of the flash memory-based cache;
- otherwise, returning by the controller the data stored at the first block address of the disk-based storage unit.
A storage system, comprising a flash memory-based cache, a disk-based storage unit, and a controller communicatively coupled to the flash memory-based cache and the disk-based storage unit, the controller configured to:
- receive a request for data stored at a first block address of the disk-based storage unit;
- access a direct mapping which maps respective block addresses of the disk-based storage unit with respective physical addresses of the flash memory-based cache;
- and
- if an entry for the first block address exists in the direct mapping, (i) translate via the direct mapping the first block address into a first physical address of the flash memory-based cache, and (ii) return data stored at the first physical address of the flash memory-based cache;
- otherwise, return the data stored at the first block address of the disk-based storage unit.
Dependencies are inferred from the claim text.