×

Storage management method, electronic device and computer readable medium

  • US 10,789,170 B2
  • Filed: 11/20/2018
  • Issued: 09/29/2020
  • Est. Priority Date: 04/28/2018
  • Status: Active Grant
First Claim
Patent Images

1. In electronic equipment, a storage management method, comprising:

  • maintaining a set of on-disk indicators and a cache indicator for a group of storage blocks in a disk, the on-disk indicators including per-block mapping indicators each indicating a mapping state of a respective storage block of the group, the cache indicator indicating an overall mapping state for the group of storage blocks, the overall mapping state selected from (1) an all-mapped state when all the storage blocks of the group are mapped, (2) an all-unmapped state when all the storage blocks of the group are unmapped, and (3) a hybrid state when some of the storage blocks of the group are mapped and others of the storage blocks of the group are unmapped;

    receiving a request for a target storage block of the group of storage blocks;

    obtaining, from a cache, the cache indicator indicating the state of the group of storage blocks including the target storage block; and

    responding to the request based on the cache indicator, by (1) when the cache indicator indicates the all-mapped state and when it indicates the all-unmapped state, then responding to the request without accessing the per-block mapping indicator for the target block, and (2) when the cache indicator indicates the hybrid state, then first obtaining the per-block mapping indicator for the target block and then responding to the request based on the per-block mapping indicator.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×