摘要 |
The storage devices of a storage device set (e.g., a RAID array) may generate a nonvolatile representation of the configuration of the storage device set, including logical disks, spaces, storage pools, and layout and provisioning plans, on the physical media of the storage devices. A computer accessing the storage device set may also generate a volatile memory representation of the storage device set to use while accessing the storage devices; however, the nonvolatile representation may not be performant due to its different usage and characteristics. Presented herein are techniques for accessing the storage device set according to a volatile memory representation comprising a hierarchy of logical disks, slabs, and extents, and an accessory comprising a provisioning component that handles slab accesses while applying provisioning plans, and that interfaces with a lower-level layout component that translates slab accesses into storage device accesses while applying layout plans to the storage device set. |
主权项 |
1. A method of allocating, on a device having a processor, capacity for logical disks on a storage device set comprising at least one storage device, the method comprising:
executing on the processor instructions configured to:
upon receiving an allocation request to allocate capacity for a logical disk:
generate at least one slab specifying a layout plan and that together satisfy the capacity of the allocation request, andfor respective slabs, allocate extents on the storage devices that together satisfy the layout plan; andupon receiving an access request to access at least one location of a logical disk:
identify at least one slab comprising respective locations of the layout access request; andfor respective slabs:
identify the layout plan of the slab; andaccess the extents of the slab according to the layout plan. |