Maintaining control information for storage devices
Dynamically managing control information in a storage device, including: querying, by an array management module executing on a storage array controller, the storage device for a location of control information for the storage device, the control information describing the state of one or more memory blocks in the storage device; and issuing, by the array management module in dependence upon the location of the control information for the storage device, a request to retrieve the control information for the storage device.
1. A method comprising:
in response to receiving an alert indicating an updated state for a memory block in a storage device, querying, by a storage controller, the storage device for a location in the storage device identifiable as storing control information; and
updating, by the storage controller, the control information obtained for the storage device stored in the storage device to indicate the updated state for the memory block.
2. The method of claim 1 wherein the storage device includes control information of a plurality of types, and wherein querying the storage device further comprises querying the storage device for the location storing the control information of a predetermined type.
3. The method of claim 1 further comprising querying the storage device for the location storing the control information for the storage device during start-up of the storage controller.
4. The method of claim 1 further comprising causing the storage device to scan a portion of each memory block to identify memory blocks that comprise the control information for the storage device.
5. The method of claim 1 wherein the control information comprises an indication that the memory block contains boot code for the storage controller.
6. The method of claim 1 wherein the control information comprises an indication of a number of program-erase cycles that have been performed on the memory block.
7. The method of claim 1 wherein the control information describes a state of one or more memory blocks that are external to the location storing the control information.
8. An apparatus comprising:
a memory; and
a processor, operatively coupled to the memory, configured to:
in response to receiving an alert indicating an updated state for a memory block in a storage device, query, by a storage controller, the storage device for a location in the storage device identifiable as storing control information; and
update, by the storage controller, the control information obtained for the storage device stored in the storage device to indicate the updated state for the memory block.
9. The apparatus of claim 8 wherein the storage device includes the control information of a plurality of types and wherein the processor is further configured to query the storage device for the location storing the control information for the storage device, further comprising querying the storage device for the location storing the control information of a predetermined type.
10. The apparatus of claim 8 wherein the processor is further configured to query the storage device for the location storing the control information for the storage device during start-up of the storage controller.
11. The apparatus of claim 8 wherein the processor is further configured to scan a portion of each memory block to identify memory blocks that comprise the control information for the storage device.
12. The apparatus of claim 8 wherein the control information comprises an indication that the memory block contains boot code for the storage controller.
13. The apparatus of claim 8 wherein the control information comprises an indication of a number of program-erase cycles that have been performed on the memory block.
14. The apparatus of claim 8 wherein the control information describes the state of one or more memory blocks that are external to the location storing the control information.
15. A non-transitory computer readable storage medium storing instructions, which when executed, cause a processor to:
in response to receiving an alert indicating an updated state for a memory block in a storage device, query, by a storage controller, the storage device for a location in the storage device identifiable as storing control information; and
update, by the storage controller, the control information obtained for the storage device stored in the storage device to indicate the updated state for the memory block.
16. The computer readable storage medium of claim 15 wherein the storage device includes control information of a plurality of types, and wherein the processor is further configured to:
query the storage device for the location storing the control information for the storage device further comprising querying the storage device for the location storing the control information storing a predetermined type.
17. The computer readable storage medium of claim 15 wherein the processor is further configured to:
query the storage device for the location storing the control information for the storage device during start-up of the storage controller.
18. The computer readable storage medium of claim 15 wherein the processor is further configured to scan a portion of each memory block to identify memory blocks that comprise the control information for the storage device.
19. The computer readable storage medium of claim 15 wherein the control information comprises an indication that the memory block contains boot code for the storage controller.
20. The computer readable storage medium of claim 15 wherein the control information comprises an indication of a number of program-erase cycles that have been performed on the memory block.