Legal claims defining the scope of protection, as filed with the USPTO.
1. A method, comprising: storing data units on a non-volatile storage device, the data units associated with logical identifiers of a logical address space, wherein storing the data units on the non-volatile storage device comprises, writing data corresponding to the data units on storage locations of the non-volatile storage device, and recording entries in an index, the entries configured to associate the logical identifiers of the data units with storage locations of data corresponding to the data units stored on the non-volatile storage device; determining whether a client request comprising a request to allocate one or more logical identifiers of the logical address space can be satisfied based on the index; and providing a response indicating whether the client request can be satisfied.
2. The method of claim 1 , wherein the client request comprises a request to allocate a particular logical identifier of the logical address space, and wherein determining whether the client request can be satisfied comprises determining whether the index comprises an entry corresponding to the particular logical identifier.
3. The method of claim 1 , wherein recording the entries comprises recording an entry configured to associate a particular logical identifier with a particular storage location, and wherein recording the entry comprises one or more of: creating the entry in the index; storing the entry in volatile memory of a computing device; storing the entry in a portion of the index maintained in the volatile memory of the computing device; storing the entry on the non-volatile storage device; including the entry in a header of a packet stored within the particular storage location, the header configured to associate the particular logical identifier with a data segment of the packet; and writing persistent metadata configured to associate the particular logical identifier with the particular storage location on the non-volatile storage device.
4. The method of claim 1 , further comprising recording allocation entries in the index, each allocation entry representing a contiguous range of one or more logical identifiers of the logical address space that are available for allocation, wherein the client request comprises a request to allocate a specified number of logical identifiers of the logical address space, and wherein determining whether the client request can be satisfied comprises identifying an allocation entry that represents a contiguous range of logical identifiers having a size that is greater than or equal to the specified number.
5. The method of claim 1 , further comprising recording entries in the index representing logical identifiers that are allocated but are not associated with valid data stored on the non-volatile storage device, wherein the client request comprises a request to allocate a particular logical identifier, and wherein determining whether the client request can be satisfied comprises determining whether the index comprises an entry corresponding to the particular logical identifier.
6. The method of claim 5 , further comprising allocating a set of logical identifiers in response to the client request, wherein allocating the set of logical identifiers comprises one or more of: creating one or more entries in the index configured to indicate that the set of logical identifiers are allocated; and updating one or more entries of the index to indicate that the set of logical identifiers are allocated.
7. The method of claim 1 , further comprising: determining an amount of available physical storage capacity on the non-volatile storage device based on an amount of physical storage capacity referenced by the entries recorded in the index, wherein the client request comprises a request to allocate a particular amount of physical storage capacity of the non-volatile storage device, and wherein determining whether the client request can be satisfied comprises comparing the particular amount of physical storage capacity to the determined amount of available physical storage capacity on the non-volatile storage device.
8. The method of claim 1 , further comprising: determining an amount of available physical storage capacity on the non-volatile storage device based on associations between logical identifiers and storage locations recorded in the index; and recording the determined amount of available physical storage capacity in storage metadata pertaining to the non-volatile storage device in response to one or more of one: creating an association between a logical identifier and a storage location of the non-volatile storage device in the index, and invalidating an existing association between a particular logical identifier and a storage location recorded in the index, wherein the existing association is invalidated in response to one or more of deallocation of the particular logical identifier, a TRIM message pertaining to the particular logical identifier, and deletion of the particular logical identifier.
9. The method of claim 1 , wherein the client request comprises a request to write a data unit on the non-volatile storage device, and wherein providing the response to the request comprises one or more of: allocating a logical identifier of the logical address space; storing data corresponding to the data unit of the client request on a particular storage location of the non-volatile storage device; and recording an association between the allocated logical identifier and the particular storage location in an entry of the index.
10. The method of claim 1 , wherein the client request comprises a request to write one or more data units on the non-volatile storage device, the one or more data units corresponding to a particular amount of physical storage capacity, wherein determining whether the client request can be satisfied comprises: determining an amount of available physical storage capacity on the non-volatile storage device; and comparing the determined amount of available physical storage capacity to the particular amount of physical storage capacity.
11. The method of claim 10 , wherein determining the amount of available physical storage capacity on the non-volatile storage device comprises: determining an amount of physical storage capacity that is currently in use to store valid data based on associations between logical identifiers and storage locations of the non-volatile storage device recorded in the index; and subtracting the determined amount of physical storage capacity that is currently in use to store valid data from a storage capacity threshold.
12. A non-transitory storage medium comprising instructions configured to cause a computing device to perform operations, the operations comprising: maintaining storage metadata pertaining to a logical address space comprising a plurality of logical identifiers, wherein maintaining the storage metadata comprises, recording translation metadata configured to associate logical identifiers of the logical address space with data stored on a storage device, and recording allocation metadata configured to identify logical identifiers of the logical address space that are unavailable for allocation; receiving a request to allocate one or more logical identifiers of the logical address space; determining whether the request can be satisfied based on whether the one or more logical identifiers are associated with data stored on the storage device by the translation metadata and/or are identified as unavailable for allocation by the allocation metadata; and providing a response indicating whether the request can be satisfied.
13. The non-transitory storage medium of claim 12 , wherein the storage metadata is maintained within one or more of: volatile memory of a computing system, volatile memory of the storage device, and a non-volatile storage medium of the storage device, wherein the request comprises a request to store a data segment on the storage device in association with a first logical identifier, and wherein providing the response to the request comprises: storing the data segment on the storage device; determining whether the first logical identifier is available for allocation by use of the storage metadata; recording translation metadata configured to associate the first logical identifier with the data segment stored on the storage device responsive to determining that the first logical identifier is available for allocation; and recording translation metadata configured to associate a second logical identifier with the data segment stored on the storage device responsive to determining that the first logical identifier is not available for allocation.
14. An apparatus, comprising: a storage controller configured to store data on a non-volatile storage medium; and a storage driver configured to maintain a logical-to-physical map for the non-volatile storage medium, the logical-to-physical map configured to associate logical identifiers of a logical address space with data stored on the non-volatile storage medium wherein, in response to a storage request comprising a request to allocate one or more logical identifiers of the logical address space, the storage driver is configured to determine whether the storage request can be satisfied based on the logical-to-physical map, and to provide a response indicating whether the storage request can be satisfied.
15. The apparatus of claim 14 , wherein the storage request corresponds to a particular amount of physical storage capacity, and wherein the storage driver is configured to determine whether the storage request can be satisfied based on an amount of data stored on the non-volatile storage medium referenced in the logical-to-physical map.
16. The apparatus of claim 14 , wherein the storage driver maintains at least a portion of the logical-to-physical map in a volatile memory.
17. The apparatus of claim 14 , wherein the storage controller stores data on the non-volatile storage medium together with persistent metadata, the persistent metadata configured to associate the stored data with respective logical identifiers.
18. The apparatus of claim 14 , wherein the storage request comprises a request to allocate a particular logical identifier of the logical address space, and wherein the storage driver is configured to determine whether the storage request can be satisfied based on whether the particular logical identifier is associated with data stored on the non-volatile storage medium by the logical-to-physical map.
19. The apparatus of claim 18 , wherein the storage request comprises a request to allocate a specified logical identifier, and wherein the storage driver determines that the storage request can be satisfied in response to one or more of: determining that the specified logical identifier is not associated with data stored on the non-volatile storage device by the logical-to-physical map, and selecting an alternative logical identifier, different from the specified logical identifier, that is not associated with data stored on the non-volatile storage device by the logical-to-physical map.
20. The apparatus of claim 14 , wherein the storage request comprises a request to write a data unit to a specified logical identifier, and wherein, in response to the storage request, the storage driver is configured to direct the storage controller to store the data unit on the non-volatile storage medium, and to record an association between the data unit stored on the non-volatile storage medium and one of: the specified logical identifier, and an alternative logical identifier that is different from the specified logical identifier.
Unknown
March 28, 2017
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.