Granting access to a storage device based on reservations
A method includes, responsive to receiving a modified first reservation command from a storage controller, identifying, by a storage drive, a first range of storage based on a first range identifier of the modified reservation command. The method also includes granting, by the storage drive, a reservation for access to the storage drive on behalf of a first host controller by associating the reservation for the first range with a second range of storage.
1. A storage enclosure comprising:
a plurality of multi-ported solid state storage devices presenting a first storage protocol; and
a plurality of storage controllers, operatively coupled to the plurality of multi-ported solid state storage devices, the plurality of storage controllers configured to:
present the plurality of multi-ported solid state storage devices as solid state storage devices presenting a second storage protocol that is different than the first storage protocol; and
modify a reservation request using the second storage protocol from a host to replace a host identifier related to the reservation request with a logical identifier using the first storage protocol, the logical identifier representing the requesting host.
2. The storage enclosure of claim 1 , wherein the first storage protocol is Non-volatile Memory Express (NVMe) over Peripheral Component Interconnect Express (PCIe).
3. The storage enclosure of claim 1 , wherein the second storage protocol is Non-volatile Memory Express (NVMe) over fabric.
4. The storage enclosure of claim 3 , wherein the second storage protocol is NVMe over Transmission Control Protocol (TCP).
5. The storage enclosure of claim 3 , wherein the second storage protocol is NVMe over Remote Direct Memory Access (RDMA).
6. The storage enclosure of claim 1 , wherein each of the plurality of storage controllers replace a same host identifier with a same logical identifier.
7. The storage enclosure of claim 1 , wherein the plurality of multi-ported solid state storage devices has erase blocks that are directly mapped.
8. A method comprising:
presenting, by a processing device of a storage controller, a plurality of multi-ported solid state storage devices presenting a first storage protocol as solid state storage devices presenting a second storage protocol that is different than the first storage protocol; and
modifying a reservation request using the second storage protocol from a host to replace a host identifier related to the reservation request with a logical identifier using the first storage protocol, the logical identifier representing the requesting host.
9. The method of claim 8 , wherein the first storage protocol is Non-volatile Memory Express (NVMe) over Peripheral Component Interconnect Express (PCIe).
10. The method of claim 8 , wherein the second storage protocol is Non-volatile Memory Express (NVMe) over fabric.
11. The method of claim 10 , wherein the second storage protocol is NVMe over Transmission Control Protocol (TCP).
12. The method of claim 10 , wherein the second storage protocol is NVMe over Remote Direct Memory Access (RDMA).
13. The method of claim 8 , wherein each of the plurality of storage controllers replace a same host identifier with a same logical identifier.
14. The method of claim 8 , wherein the plurality of multi-ported solid state storage devices has erase blocks that are directly mapped.
15. A non-transitory computer readable storage medium storing instructions which, when executed, cause a processing device of a storage controller to:
present a plurality of multi-ported solid state storage devices presenting a first storage protocol as solid state storage devices presenting a second storage protocol that is different than the first storage protocol; and
modify a reservation request using the second storage protocol from a host to replace a host identifier related to the reservation request with a logical identifier using the first storage protocol, the logical identifier representing the requesting host.
16. The non-transitory computer readable storage medium of claim 15 , wherein the first storage protocol is Non-volatile Memory Express (NVMe) over Peripheral Component Interconnect Express (PCIe).
17. The non-transitory computer readable storage medium of claim 15 , wherein the second storage protocol is Non-volatile Memory Express (NVMe) over fabric.
18. The non-transitory computer readable storage medium of claim 17 , wherein the second storage protocol is NVMe over Transmission Control Protocol (TCP).
19. The non-transitory computer readable storage medium of claim 17 , wherein the second storage protocol is NVMe over Remote Direct Memory Access (RDMA).
20. The non-transitory computer readable storage medium of claim 15 , wherein each of the plurality of storage controllers replace a same host identifier with a same logical identifier.