Embodiments described herein generally relate to a computer product, method, and system to dynamically manage storage devices accessed remotely over a network.
Non-Volatile Memory Express (NVMe) is a logical device interface (http://www.nvmexpress.org) for accessing non-volatile storage media attached via a Peripheral Component Interconnect Express (PCIe) bus. The non-volatile storage media may comprise a flash memory and solid solid-state drives (SSDs). NVMe is designed for accessing low latency storage devices in computer systems, including personal and enterprise computer systems, and is also deployed in data centers requiring scaling of thousands of low latency storage devices. A computer system may communicate read/write requests over a network to a target system managing access to multiple attached storage devices, such as SSDs. The computer system may send communicate the read/write requests using an ANSI Standard Small Computer System Interface (SCSI) read/write command over the network. The receiving target system converts the SCSI read/write request to an NVMe request compatible with the SSD in the target system.
Embodiments are described by way of example, with reference to the accompanying drawings, which are not drawn to scale, in which like reference numerals refer to similar elements.
A target system includes an NVMe subsystem with one or more controllers to manage read/write requests to namespace identifiers (NSID) defining ranges of addresses in the connected storage devices. The hosts may communicate to the NVMe subsystem over a fabric or network or a PCIe bus and port. Each network or PCIe port may connect to one NVMe subsystem, and the NVMe subsystem may communicate with the attached storage devices using a PCIe bus.
Described embodiments provide techniques for virtualizing subsystems, controllers, and namespaces to present to host systems to perform Input/Output (I/O) operations with respect to physical namespaces in storage devices assigned to virtual subsystems and virtual controllers. Host systems are assigned to virtual subsystems and to virtual namespaces that map to physical namespaces in the storage devices. The host transmits a read/write request using a logical device interface protocol, such as NVMe, to a target system in which the virtual subsystems and virtual namespaces are implemented. The target system translates the virtual namespace in the read/write request in the logical device interface protocol to the corresponding physical namespace and sends the read/write request in the same logical device interface protocol, e.g., NVMe, to the storage device to process. For instance, the described embodiments may be deployed in NVMe-over-Fabric environments, where host systems communicate with an NVMe subsystem over a network interface (such as Ethernet, Remote Direct Memory Access (RDMA)-based networks, Fibre Channel based networks). A network port may connect to one NVMe subsystem, and the NVMe subsystem may communicate with the attached storages devices using a Peripheral Component Interconnect Express (PCIe) bus.
Described embodiments improve latency, because a read/write request from a host system that is directed to a storage device is included or encapsulated in a logical device interface protocol that can be processed directly at the storage device without having to be translated or converted from one protocol to another. In environments where the host communicates with the virtual subsystems over a fabric, such as an NVMe-over-Fabrics environment, the host may encapsulate the read/write request in the logical device interface protocol used at the storage device in a fabric packet for transmission through a fabric network. The target system receiving the fabric packet may then extract the read/write request encapsulated in the logical device interface protocol, which is further encapsulated in the fabric packet, and substitute the physical namespace to which the target virtual namespace in the read/write request maps before forwarding to the storage device over a bus, e.g., a PCIe bus. Described embodiments reduce latency in the transmission of the requests to the storage device by avoiding having to convert the read/write request from one protocol to another through the use of a virtual subsystem and virtual namespaces realized in the target system.
In the following description, numerous specific details such as logic implementations, opcodes, means to specify operands, resource partitioning/sharing/duplication implementations, types and interrelationships of system components, and logic partitioning/integration choices are set forth in order to provide a more thorough understanding of the present invention. It will be appreciated, however, by one skilled in the art that the invention may be practiced without such specific details. In other instances, control structures, gate level circuits and full software instruction sequences have not been shown in detail in order not to obscure the invention. Those of ordinary skill in the art, with the included descriptions, will be able to implement appropriate functionality without undue experimentation.
References in the specification to “one embodiment,” “an embodiment,” “an example embodiment,” etc., indicate that the embodiment described may include a particular feature, structure, or characteristic, but every embodiment may not necessarily include the particular feature, structure, or characteristic. Moreover, such phrases are not necessarily referring to the same embodiment. Certain embodiments relate to storage device electronic assemblies. Embodiments include both devices and methods for forming electronic assemblies.
The target system 106 may include a secure tunneling mode module 122 for secure communications from the host nodes 1021 . . . 102n, and one or more fabric layer protocols 124, compatible with the fabric protocol 114 used by the host nodes 1021 . . . 102n. The target system 106 may support multiple fabric layer protocols, such as Fibre Channel 126, Remote Direct Memory Access (RDMA) 128, loopback interface 130, etc. The target system 106 includes an instance of the logical device interface protocol common layer 112c to process the logical device interface protocol communications communicated from the host nodes 1021 . . . 102n. The virtual device layer 132 generates and manages virtualization definitions in a target system memory 136 that provide representations of target hardware and physical namespaces to the host nodes 1021 . . . 102n, including virtual subsystem definitions 200, virtual controller definitions 300, and virtualization namespace definitions 400. The target system 106 further includes a bus interface protocol 138 to transmit logical device interface protocol read/write requests to the storage devices 1041 . . . 104m.
In one embodiment, the logical device interface protocol 112a, 112b, 112c may comprise the Non-Volatile Memory Express (NVMe) protocol and the bus 110 and bus interface protocol 138 may comprise a Peripheral Component Interconnect Express (PCIe) bus. With described embodiments, a same NVMe read/write request may be transmitted from the host nodes 1021 . . . 102n to the storage devices 1041 . . . 104m without the need for conversion from one protocol to another. This use of the same logical device protocol request, e.g., NVMe, reduces latency in transmissions between the host nodes 1021 . . . 102n and storage devices 1041 . . . 104m.
The address space of each of the namespaces in the storage devices 1041 . . . 104m may be divided into one or more namespaces partitions, where each partition comprises a subset of addresses in a physical namespace 1201 . . . 120t. The host nodes 1021 . . . 102n may further comprise any type of compute node capable of accessing storage partitions and performing compute operations.
The program components of the target system, such as 122, 124, 114c, 132, 138 may be implemented in a software program executed by a processor of the target system 106, firmware, a hardware device, or in application specific integrated circuit (ASIC) devices, or some combination thereof.
The storage devices 1041, 1042 . . . 104m may comprise electrically erasable and non-volatile memory cells, such as flash storage devices. For instance, the storage devices 1041, 1042 . . . 104m may comprise NAND dies of flash memory cells. In one embodiment, the NAND dies may comprise a multilevel cell (MLC) NAND flash memory that in each cell records two bit values, a lower bit value and an upper bit value. Alternatively, the NAND dies may comprise single level cell (SLC) memories or three bit per cell (TLC) memories. The storage devices 1041, 1042 . . . 104m may also comprise, but not limited to, ferroelectric random-access memory (FeTRAM), nanowire-based non-volatile memory, three-dimensional (3D) cross-point memory, phase change memory (PCM), memory that incorporates memristor technology, Magnetoresistive random-access memory (MRAM), Spin Transfer Torque (STT)-MRAM, a single level cell (SLC) Flash memory and other electrically erasable programmable read only memory (EEPROM) type devices. The storage devices 1041, 1042 . . . 104m may also comprise a magnetic storage media, such as a hard disk drive etc.
The target system memory 136 may comprise a non-volatile or volatile memory type of device known in the art, such as a Flash Memory, a non-volatile dual in-line memory module (NVDIMM), Dynamic Random Access Memories (DRAMs), etc., or may also comprise, but not limited to, ferroelectric random-access memory (FeTRAM), nanowire-based non-volatile memory, three-dimensional (3D) cross-point memory, phase change memory (PCM), memory that incorporates memristor technology, Magnetoresistive random-access memory (MRAM), Spin Transfer Torque (STT)-MRAM, a single level cell (SLC) Flash memory and other electrically erasable programmable read only memory (EEPROM) type devices, such as magnetic storage media, such as a hard disk drive etc. In certain embodiments, the target system memory 136 comprises a persistent, non-volatile storage of the virtual subsystem, virtual controller, and virtual namespace definitions to provide persistent storage over power cycle events.
The virtual device layer 132 may configure the virtual subsystems 200, virtual controllers 300, and virtual namespaces 400 in the target memory 136 to represent to the attached host nodes 1021 . . . 102n.
Additional configurations are possible. For instance, the same defined virtual namespace identifier that maps to one physical namespace may be included in two separate virtual controllers to allow for the sharing of a virtual namespace and the mapped physical namespace. Further, one virtual namespace can map to different physical namespaces or different partitions within a namespace in the same or different storage devices. A virtual namespace mapping to a physical namespace/partition may be included in multiple virtual controllers 300i of one virtual subsystem to allow sharing of the virtual namespace by multiple hosts.
The host nodes 1021 . . . 102n may address a virtual namespace, by including the virtual subsystem (VSS) name, the virtual controller (VC), and the virtual namespace identifier (VNSID) in a combined address, such as VSSname.VCname.VNSID. In this way, virtual namespace IDs in different virtual controllers may have the same number identifier but point to different physical namespaces/partitions. Alternatively, the same virtual namespace IDs in different virtual controllers may point to the same shared physical namespace/partition.
With the operations of
If (at block 904 and 906) the requesting host 102i is authorized to access the virtual subsystem 200i and the virtual namespace 400i in the target namespace path 508, respectively, then the virtual device layer 132 determines (at block 910) the one or more physical namespaces 1201 . . . 120t/partitions 406i to which the requested virtual namespace 400i maps, as indicated in the virtual namespace definition 400i. Control then proceeds to
If (at block 912) the target virtual namespace 508 maps to only one target physical namespace/partition 4061, then the virtual device layer 132 modifies (at block 922) the logic device interface protocol request 504 (e.g., NVMe request) to include the determined physical namespace/partition 406i as the target namespace 508 to replace the target virtual namespace inserted by the host node to produce a modified logical device interface protocol request 504, which is then transmitted (at block 924) using the bus interface protocol 138 to the storage device 104i indicated in field 4081 of the virtual namespace definition 400i for the target VNSID.
With the described embodiments, a single logical device interface protocol request is transferred from the host system, over a fabric, to a target system, where the target virtual namespace in the request is replaced with the physical namespace to which the virtual namespace maps. This modified logical device interface protocol request is then transmitted to the storage device having the target namespace in the request using a bus protocol. With the described embodiments, the request does not need to be converted from one format to another, as the same request logical device protocol is used in the transmitted request. This is accomplished by generating virtual subsystems, virtual controllers, and virtual namespaces to present to the host nodes to communicate with the connected storage devices.
The described operations of the processing components, such as components 112a, 112b, 112c, 114, 124, 132, 138, and other components, may be implemented as a method, apparatus, device, computer product comprising a computer readable storage medium using standard programming and/or engineering techniques to produce software, firmware, hardware, or any combination thereof. The described operations may be implemented as code or logic maintained in a “computer readable storage medium”. The term “code” as used herein refers to software program code, hardware logic, firmware, microcode, etc. The computer readable storage medium, as that term is used herein, includes a tangible element, including at least one of electronic circuitry, storage materials, inorganic materials, organic materials, biological materials, a casing, a housing, a coating, and hardware. A computer readable storage medium may comprise, but is not limited to, a magnetic storage medium (e.g., hard disk drives, floppy disks, tape, etc.), optical storage (CD-ROMs, DVDs, optical disks, etc.), volatile and non-volatile memory devices (e.g., EEPROMs, ROMs, PROMs, RAMs, DRAMs, SRAMs, Flash Memory, firmware, programmable logic, etc.), Solid State Devices (SSD), computer encoded and readable punch cards, etc. The computer readable storage medium may further comprise a hardware device implementing firmware, microcode, etc., such as in an integrated circuit chip, a programmable logic device, a Programmable Gate Array (PGA), field-programmable gate array (FPGA), Application Specific Integrated Circuit (ASIC), etc. Still further, the code implementing the described operations may be implemented in “transmission signals”, where transmission signals may propagate through space or through a transmission media, such as an optical fiber, copper wire, etc. The transmission signals in which the code or logic is encoded may further comprise a wireless signal, satellite transmission, radio waves, infrared signals, Bluetooth, etc. The program code embedded on a computer readable storage medium may be transmitted as transmission signals from a transmitting station or computer to a receiving station or computer. A computer readable storage medium is not comprised solely of transmission signals, but includes physical and tangible components. Those skilled in the art will recognize that many modifications may be made to this configuration without departing from the scope of the present invention, and that the article of manufacture may comprise suitable information bearing medium known in the art.
In certain embodiments, the computer node architecture 1000 may comprise a personal computer, server, mobile device or embedded compute device. In a silicon-on-chip (SOC) implementation, the architecture 1000 may be implemented in an integrated circuit die. In certain implementations, the architecture 1000 may not include a PCIe bus to connect to NVMe storage devices, and instead include a network adaptor to connect to a fabric or network and send communications using the NVMe interface to communicate with the target system 106 to access underlying storage devices 1041 . . . 104m.
The reference characters used herein, such as i, j, m, n, p, and t are used to denote a variable number of instances of an element, which may represent the same or different values, and may represent the same or different value when used with different or the same elements in different described instances.
The terms “an embodiment”, “embodiment”, “embodiments”, “the embodiment”, “the embodiments”, “one or more embodiments”, “some embodiments”, and “one embodiment” mean “one or more (but not all) embodiments of the present invention(s)” unless expressly specified otherwise.
The terms “including”, “comprising”, “having” and variations thereof mean “including but not limited to”, unless expressly specified otherwise.
The enumerated listing of items does not imply that any or all of the items are mutually exclusive, unless expressly specified otherwise.
The terms “a”, “an” and “the” mean “one or more”, unless expressly specified otherwise.
Devices that are in communication with each other need not be in continuous communication with each other, unless expressly specified otherwise. In addition, devices that are in communication with each other may communicate directly or indirectly through one or more intermediaries.
A description of an embodiment with several components in communication with each other does not imply that all such components are required. On the contrary a variety of optional components are described to illustrate the wide variety of possible embodiments of the present invention.
When a single device or article is described herein, it will be readily apparent that more than one device/article (whether or not they cooperate) may be used in place of a single device/article. Similarly, where more than one device or article is described herein (whether or not they cooperate), it will be readily apparent that a single device/article may be used in place of the more than one device or article or a different number of devices/articles may be used instead of the shown number of devices or programs. The functionality and/or the features of a device may be alternatively embodied by one or more other devices which are not explicitly described as having such functionality/features. Thus, other embodiments of the present invention need not include the device itself.
The foregoing description of various embodiments of the invention has been presented for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed. Many modifications and variations are possible in light of the above teaching. It is intended that the scope of the invention be limited not by this detailed description, but rather by the claims appended hereto. The above specification, examples and data provide a complete description of the manufacture and use of the composition of the invention. Since many embodiments of the invention can be made without departing from the spirit and scope of the invention, the invention resides in the claims herein after appended.
Example 1 is a computer product including a computer readable storage media deployed in a target system, wherein the target system includes a memory device and communicates with at least one host system and at least one storage device, wherein the computer readable storage media includes code that is executed to: configure, in the memory device, a virtual subsystem to provide a representation of a subsystem presented to the at least one host system, wherein the at least one host system is to communicate with the virtual subsystem to access the at least one storage device; and configure, in the memory device, at least one virtual namespace for the virtual subsystem, wherein each of the at least one virtual namespace maps to at least one physical namespace in at least one storage device, wherein each virtual namespace is assigned to one host system to use to direct read and write requests to the at least one physical namespace of the at least one storage device assigned to the virtual namespace.
In Example 2, the subject matter of Examples 1 and 3-11 can optionally include that one virtual namespace maps to at least two physical namespaces in at least one of the storage devices.
In Example 3, the subject matter of Examples 1, 2 and 4-11 can optionally include that at least two virtual namespaces map to different ranges of addresses within one physical namespace in one of the at least one storage device.
In Example 4, the subject matter of Examples 1-3 and 5-11 can optionally include that two virtual namespaces in the at least one storage device are assigned to different host systems.
In Example 5, the subject matter of Examples 1-4 and 6-11 can optionally include that the code is further executed to: configure, in the memory device, at least one virtual controller in the virtual subsystem, wherein each of the at least one virtual controller is assigned at least virtual namespace.
In Example 6, the subject matter of Examples 1-5 and 7-11 can optionally include that one virtual controller is assigned a first virtual namespace assigned to a first host system and a second virtual namespace assigned to a second host system, wherein the first and second virtual namespaces map to first and second ranges of addresses, respectively, in one of the storage devices.
In Example 7, the subject matter of Examples 1-6 and 8-11 can optionally include that at least two of the virtual controllers are assigned a same virtual namespace assigned to one physical namespace to provide shared access to the physical namespace assigned to the virtual namespace.
In Example 8, the subject matter of Examples 1-7 and 9-11 can optionally include that the code is further executed to: receive from the host system a read or write request directed to a target virtual namespace; determine the physical namespace and a storage device including the physical namespace to which the target virtual namespace maps; and send to the determined storage device the received read or write request directed to the determined physical namespace.
In Example 9, the subject matter of Examples 1-8 and 10-11 can optionally include that the code is further executed to: receive from the host system a read or write request directed to a target virtual namespace that maps to a plurality of physical namespaces; and send the received read or write request directed to at least one storage device having the plurality of physical namespaces to which the target virtual namespace maps.
In Example 10, the subject matter of Examples 1-9 and 11 can optionally include that the target system, the at least one host system, and the at least one storage device implement a logical device interface protocol to communicate read and write requests between the at least one host system and the at least one storage device, wherein the target system communicates with the at least one host system using a fabric protocol and wherein the targets system and the at least one storage device communicate using a bus interface protocol, wherein the code is further executed to: receive from the host system a packet in the fabric protocol encapsulating a read or write request in the logical device interface protocol directed to a target virtual namespace; determine the physical namespace and the storage device including the physical namespace to which the target virtual namespace maps; generate a modified read or write request in the logical device interface protocol directed to the determined physical namespace to perform the received read or write request; and send to the determined storage device, using the bus interface protocol, the modified read or write request directed to the determined physical namespace.
In Example 11, the subject matter of Examples 1-10 can optionally include that the logical device interface protocol comprises a Non-volatile Memory Express (NVMe) protocol and wherein the bus interface protocol comprises a Peripheral Component Interconnect Express (PCIe) protocol.
Example 12 is a system for dynamically managing at least one storage device accessed by at least one host system over a network, comprising: a processor to process received read and write requests directed to the at least one storage device; a memory device; a computer readable storage medium including code that is executed by the processor to: configure, in the memory device, a virtual subsystem to provide a representation of a subsystem presented to the at least one host system, wherein the at least one host system is to communicate with the virtual subsystem to access the at least one storage device; and configure, in the memory device, at least one virtual namespace for the virtual subsystem, wherein each of the at least one virtual namespace maps to at least one physical namespace in at least one storage device, wherein each virtual namespace is assigned to one host system to use to direct read and write requests to the at least one physical namespace of the at least one storage device assigned to the virtual namespace.
In Example 13, the subject matter of Examples 12 and 14-18 can optionally include that one virtual namespace maps to at least two physical namespaces in at least one of the storage devices.
In Example 14, the subject matter of Examples 12, 13 and 15-18 can optionally include that the code is further executed to: configure, in the memory device, at least one virtual controller in the virtual subsystem, wherein each of the at least one virtual controller is assigned at least virtual namespace.
In Example 15, the subject matter of Examples 12-14 and 16-18 can optionally include that one virtual controller is assigned a first virtual namespace assigned to a first host system and a second virtual namespace assigned to a second host system, wherein the first and second virtual namespaces map to first and second ranges of addresses, respectively, in one of the storage devices.
In Example 16, the subject matter of Examples 12-15, 17, and 18 can optionally include that the code is further executed to: receive from the host system a read or write request directed to a target virtual namespace; determine the physical namespace and a storage device including the physical namespace to which the target virtual namespace maps; and send to the determined storage device the received read or write request directed to the determined physical namespace.
In Example 17, the subject matter of Examples 12-16 and 18 can optionally include that the code is further executed to: receive from the host system a read or write request directed to a target virtual namespace that maps to a plurality of physical namespaces; and send the received read or write request directed to at least one storage device having the plurality of physical namespaces to which the target virtual namespace maps.
In Example 18, the subject matter of Examples 12-17 can optionally include that the target system, the at least one host system, and the at least one storage device implement a logical device interface protocol to communicate read and write requests between the at least one host system and the at least one storage device, wherein the target system communicates with the at least one host system using a fabric protocol and wherein the targets system and the at least one storage device communicate using a bus interface protocol, wherein the code is further executed to: receive from the host system a packet in the fabric protocol encapsulating a read or write request in the logical device interface protocol directed to a target virtual namespace; determine the physical namespace and the storage device including the physical namespace to which the target virtual namespace maps; generate a modified read or write request in the logical device interface protocol directed to the determined physical namespace to perform the received read or write request; and send to the determined storage device, using the bus interface protocol, the modified read or write request directed to the determined physical namespace.
Example 19 is a method for dynamically managing at least one storage device accessed by at least one host system over a network, comprising: configuring, in a memory device, a virtual subsystem to provide a representation of a subsystem presented to at least one host system, wherein the at least one host system is to communicate with the virtual subsystem to access at least one storage device; and configuring, in the memory device, at least one virtual namespace for the virtual subsystem, wherein each of the at least one virtual namespace maps to at least one physical namespace in at least one storage device, wherein each virtual namespace is assigned to one host system to use to direct read and write requests to the at least one physical namespace of the at least one storage device assigned to the virtual namespace.
In Example 20, the subject matter of Examples 19 and 21-25 can optionally include that one virtual namespace maps to at least two physical namespaces in at least one of the storage devices.
In Example 21, the subject matter of Examples 19, 20 and 22-25 can optionally include configuring, in the memory device, at least one virtual controller in the virtual subsystem, wherein each of the at least one virtual controller is assigned at least virtual namespace.
In Example 22, the subject matter of Examples 19-21 and 23-25 can optionally include that one virtual controller is assigned a first virtual namespace assigned to a first host system and a second virtual namespace assigned to a second host system, wherein the first and second virtual namespaces map to first and second ranges of addresses, respectively, in one of the storage devices.
In Example 23, the subject matter of Examples 19-22 and 24-25 can optionally include receiving from the host system a read or write request directed to a target virtual namespace; determining the physical namespace and a storage device including the physical namespace to which the target virtual namespace maps; and sending to the determined storage device the received read or write request directed to the determined physical namespace.
In Example 24, the subject matter of Examples 19-23 and 25 can optionally include receiving from the host system a read or write request directed to a target virtual namespace that maps to a plurality of physical namespaces; and sending the received read or write request directed to at least one storage device having the plurality of physical namespaces to which the target virtual namespace maps.
In Example 25, the subject matter of Examples 19-24 can optionally include that the target system, the at least one host system, and the at least one storage device implement a logical device interface protocol to communicate read and write requests between the at least one host system and the at least one storage device, wherein the target system communicates with the at least one host system using a fabric protocol and wherein the targets system and the at least one storage device communicate using a bus interface protocol, further comprising: receiving from the host system a packet in the fabric protocol encapsulating a read or write request in the logical device interface protocol directed to a target virtual namespace; determining the physical namespace and the storage device including the physical namespace to which the target virtual namespace maps; generating a modified read or write request in the logical device interface protocol directed to the determined physical namespace to perform the received read or write request; and sending to the determined storage device, using the bus interface protocol, the modified read or write request directed to the determined physical namespace.
In Example 26, the subject matter of Examples 19 can optionally include the at least any one of:
(1) wherein one virtual namespace maps to at least two physical namespaces in at least one of the storage devices; and/or
(2) wherein at least two virtual namespaces map to different ranges of addresses within one physical namespace in one of the at least one storage device; and/or
(3) wherein two virtual namespaces in the at least one storage device are assigned to different host systems; and/or
(4) configuring, in the memory device, at least one virtual controller in the virtual subsystem, wherein each of the at least one virtual controller is assigned at least virtual namespace; and/or
(5) wherein one virtual controller is assigned a first virtual namespace assigned to a first host system and a second virtual namespace assigned to a second host system, wherein the first and second virtual namespaces map to first and second ranges of addresses, respectively, in one of the storage devices; and/or.
(6) wherein at least two of the virtual controllers are assigned a same virtual namespace assigned to one physical namespace to provide shared access to the physical namespace assigned to the virtual namespace; and/or
(7) receiving from the host system a read or write request directed to a target virtual namespace; determining the physical namespace and a storage device including the physical namespace to which the target virtual namespace maps; and sending to the determined storage device the received read or write request directed to the determined physical namespace; and/or
(8) receiving from the host system a read or write request directed to a target virtual namespace that maps to a plurality of physical namespaces; and sending the received read or write request directed to at least one storage device having the plurality of physical namespaces to which the target virtual namespace maps; and/or
(9) wherein the target system, the at least one host system, and the at least one storage device implement a logical device interface protocol to communicate read and write requests between the at least one host system and the at least one storage device, wherein the target system communicates with the at least one host system using a fabric protocol and wherein the targets system and the at least one storage device communicate using a bus interface protocol, further comprising: receiving from the host system a packet in the fabric protocol encapsulating a read or write request in the logical device interface protocol directed to a target virtual namespace; determining the physical namespace and the storage device including the physical namespace to which the target virtual namespace maps; generating a modified read or write request in the logical device interface protocol directed to the determined physical namespace to perform the received read or write request; and sending to the determined storage device, using the bus interface protocol, the modified read or write request directed to the determined physical namespace; and/or
(10) wherein the logical device interface protocol comprises a Non-volatile Memory Express (NVMe) protocol and wherein the bus interface protocol comprises a Peripheral Component Interconnect Express (PCIe) protocol.
Example 27 is an apparatus for dynamically managing at least one storage device accessed by at least one host system over a network, having computer program code executed to: configure, in the memory device, a virtual subsystem to provide a representation of a subsystem presented to the at least one host system, wherein the at least one host system is to communicate with the virtual subsystem to access the at least one storage device; and configure, in the memory device, at least one virtual namespace for the virtual subsystem, wherein each of the at least one virtual namespace maps to at least one physical namespace in at least one storage device, wherein each virtual namespace is assigned to one host system to use to direct read and write requests to the at least one physical namespace of the at least one storage device assigned to the virtual namespace.
In Example 28, the subject matter of Examples 27 and 29-37 can optionally include that one virtual namespace maps to at least two physical namespaces in at least one of the storage devices.
In Example 29, the subject matter of Examples 27, 28 and 30-37 can optionally include that at least two virtual namespaces map to different ranges of addresses within one physical namespace in one of the at least one storage device.
In Example 30, the subject matter of Examples 27-29 and 31-37 can optionally include that two virtual namespaces in the at least one storage device are assigned to different host systems.
In Example 31, the subject matter of Examples 27-30 and 32-37 can optionally include configure, in the memory device, at least one virtual controller in the virtual subsystem, wherein each of the at least one virtual controller is assigned at least virtual namespace.
In Example 32, the subject matter of Examples 27-31 and 33-37 can optionally include that one virtual controller is assigned a first virtual namespace assigned to a first host system and a second virtual namespace assigned to a second host system, wherein the first and second virtual namespaces map to first and second ranges of addresses, respectively, in one of the storage devices.
In Example 33, the subject matter of Examples 27-32 and 34-36 can optionally include that at least two of the virtual controllers are assigned a same virtual namespace assigned to one physical namespace to provide shared access to the physical namespace assigned to the virtual namespace.
In Example 34, the subject matter of Examples 27-34 and 35-36 can optionally receive from the host system a read or write request directed to a target virtual namespace; determine the physical namespace and a storage device including the physical namespace to which the target virtual namespace maps; and send to the determined storage device the received read or write request directed to the determined physical namespace.
In Example 35, the subject matter of Examples 27-34 and 36-37 can optionally include receive from the host system a read or write request directed to a target virtual namespace that maps to a plurality of physical namespaces; and send the received read or write request directed to at least one storage device having the plurality of physical namespaces to which the target virtual namespace maps.
In Example 36, the subject matter of Examples 27-35 and 37 can optionally include that the target system, the at least one host system, and the at least one storage device implement a logical device interface protocol to communicate read and write requests between the at least one host system and the at least one storage device, wherein the target system communicates with the at least one host system using a fabric protocol and wherein the targets system and the at least one storage device communicate using a bus interface protocol, wherein the code is further executed to: receive from the host system a packet in the fabric protocol encapsulating a read or write request in the logical device interface protocol directed to a target virtual namespace; determine the physical namespace and the storage device including the physical namespace to which the target virtual namespace maps; generate a modified read or write request in the logical device interface protocol directed to the determined physical namespace to perform the received read or write request; and send to the determined storage device, using the bus interface protocol, the modified read or write request directed to the determined physical namespace.
In Example 37, the subject matter of Examples 27-35 can optionally include that the logical device interface protocol comprises a Non-volatile Memory Express (NVMe) protocol and wherein the bus interface protocol comprises a Peripheral Component Interconnect Express (PCIe) protocol.
Example 38 is an apparatus for dynamically managing at least one storage device accessed by at least one host system over a network, comprising: means for configuring, in a memory device, a virtual subsystem to provide a representation of a subsystem presented to at least one host system, wherein the at least one host system is to communicate with the virtual subsystem to access at least one storage device; and means for configuring, in the memory device, at least one virtual namespace for the virtual subsystem, wherein each of the at least one virtual namespace maps to at least one physical namespace in at least one storage device, wherein each virtual namespace is assigned to one host system to use to direct read and write requests to the at least one physical namespace of the at least one storage device assigned to the virtual namespace.
Example 39 is an apparatus comprising means to perform a method as claimed in any preceding claim.
Example 40 is a machine-readable storage including machine-readable instructions, when executed, to implement a method or realize an apparatus as claimed in any preceding claim.
This application is a continuation of U.S. patent application Ser. No. 15/167,908, filed May 27, 2016, which application is incorporated herein by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | 15167908 | May 2016 | US |
Child | 16847095 | US |