Selective connection of controller to single-port input / output device
By using passive multiplexers and reset signals to selectively connect multiple controllers to single-port storage devices, the problem of high cost of dual-port storage devices is solved, enabling low-cost multi-controller connections and simplifying The design of hardware infrastructure.
Patent Information
- Application Number
- CN202410113224.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-04-03
- Filing Date
- 2024-01-26
- Publication Date
- 2024-10-15
AI Technical Summary
In systems with a large number of storage devices, using dual-port storage devices results in higher system costs, and connecting multiple controllers to single-port storage devices may require modifications to the hardware infrastructure, increasing development and manufacturing costs.
Optionally connect multiple controllers to a single-port storage device by using passive multiplexers and signals from existing hardware infrastructure, utilizing reset signals to control the multiplexers and avoiding the need to add additional controls signals to simplify the design of hardware infrastructure.
It enables low-cost connection of multiple controllers to single-port storage devices without changing the hardware infrastructure design, reducing system costs and simplifying the implementation process of the storage system.
Smart Images

Figure CN118779158A_ABST
Abstract
Description
Background Art
[0001] A system may include a storage device accessible by a controller. The storage device includes a storage medium for storing data. In some cases, the storage device may be accessed by multiple controllers. For example, in a redundant arrangement, access to the storage device is managed by a primary controller, and in the event of a failure of the primary controller, a backup controller may take over management of access to the storage device. BRIEF DESCRIPTION OF THE DRAWINGS
[0002] Some implementations of the present disclosure are described with respect to the following figures.
[0003] Figure 1 is a block diagram of an arrangement including multiple input / output (I / O) modules and single-ported storage devices connected through a backplane, according to some examples.
[0004] Figure 2 is a block diagram of a device bay with corresponding single-port storage devices and expanders connected to a backplane according to some examples.
[0005] Figure 3 is a block diagram of a universal backplane management (UBM) device including a non-volatile memory for storing reset signal state information according to some examples.
[0006] Figure 4 is a block diagram of an apparatus including an expander according to some examples.
[0007] Figure 5 is a block diagram of a system according to some examples.
[0008] Figure 6 is a flow diagram of a controller according to some examples.
[0009] Throughout the drawings, the same reference numerals denote similar, but not necessarily identical, elements. The drawings are not necessarily to scale, and the size of some components may be exaggerated to more clearly illustrate the examples shown. In addition, the drawings provide examples and / or implementations consistent with the description; however, the description is not limited to the examples and / or implementations provided in the drawings. DETAILED DESCRIPTION
[0010] In some examples, a dual-port storage device can be used to allow access by two controllers, such as in a redundant arrangement, where one of the two controllers is a primary controller and the other of the two controllers is a backup controller. The primary controller manages access to the dual-port storage device, while the backup controller remains invalid for the dual-port storage device. The primary controller can communicate with a first port of the dual-port storage device, and the backup controller can communicate with a second port of the dual-port storage device. In an example, a connection plane (e.g., a backplane, a midplane, etc.) can interconnect the controller to the dual-port storage device.
[0011] The connection plane includes a bus through which the controller is connected to the port of the dual-port storage device. For example, the bus may include a peripheral component interconnect (PCIe) bus. The PCIe bus is a serial expansion bus for connecting electronic components of electronic devices. In other examples, the bus can be operated according to different protocols, whether standardized, open source or proprietary. Examples of other buses that can be used include any one or some combination of the following: Computing Express Link (CXL) bus, InfiniBand bus, HyperTransport bus, etc.
[0012] Compared to a single-port memory device having a single port, a dual-port memory device may be relatively expensive. In a system with a large number of memory devices, using a dual-port memory device may result in a relatively high cost of the system.
[0013] A "single-port storage device" is a storage device with a single port through which the storage device can communicate with another device (such as a controller). Connecting multiple controllers to a single-port storage device may be associated with various challenges that may result in increased costs. For example, modifying the hardware infrastructure of a system (e.g., a connection plane such as a backplane, a midplane, etc.) to support connecting multiple controllers to a single-port storage device may be associated with increased development and manufacturing costs because personnel are involved in redesigning the hardware infrastructure and new components must be sourced to provide the modified hardware infrastructure.
[0014] According to some implementations of the present disclosure, techniques or mechanisms are provided to allow multiple controllers to be selectively connected to a single-port storage device. Techniques or mechanisms according to some examples of the present disclosure allow multiple controllers to be selectively connected to a single-port storage device by using a relatively low-cost passive multiplexer and by utilizing existing signals present in the hardware infrastructure of the system (e.g., a connection plane, such as a backplane, a midplane, etc.), in which there are controllers and single-port storage devices. A "passive" multiplexer is a multiplexer that operates without executing machine-readable instructions on the multiplexer. In some examples, the hardware infrastructure for connecting multiple controllers to a single-port storage device can be a hardware infrastructure designed for a multi-port storage device (such as a dual-port storage device). By utilizing such a hardware infrastructure for connecting a controller to a single-port storage device, it is not necessary to change the design of the hardware infrastructure, which simplifies the implementation of a storage system using a single-port storage device.
[0015] As used herein, a "controller" may refer to one or more hardware processing circuits, which may include any or some combination of a microprocessor, a core of a multi-core microprocessor, a microcontroller, a programmable integrated circuit, a programmable gate array, or another hardware processing circuit. Alternatively, a "controller" may refer to a combination of one or more hardware processing circuits and machine-readable instructions (software and / or firmware) that may be executed on the one or more hardware processing circuits.
[0016] In some examples, an expander is provided to allow different controllers to selectively connect to a single-port storage device. The expander includes a multiplexer to selectively connect different controllers to the single-port storage device based on a control input including multiple reset indications from the corresponding controller. The reset indication may include a reset signal output by the controller, which, when activated, resets the single-port storage device. The reset signal is a signal that has been used and routed to the storage device through the hardware infrastructure. In some examples of the present disclosure, the reset signal from the controller is used for a dual purpose: (1) the reset signal is used to reset the storage device, and (2) the reset signal is used to control a multiplexer in the expander. By utilizing the existing reset signal that also controls the multiplexer in the expander, it is not necessary to add additional control signals for controlling the multiplexer; such additional control signals may change the hardware infrastructure and may result in increased complexity and / or cost. In some examples, the signals (including the reset signal) used in the hardware infrastructure may be based on the Non-Volatile Memory Express (NVMe) standard, which defines an interface for accessing a storage device through a bus (such as a PCIe bus or other bus). Using NVMe signals to selectively control multiplexers in expanders allows the hardware infrastructure over which the signals propagate to comply with the NVMe standard. In other words, it is not necessary to provide non-NVMe signals for controlling multiplexers in expanders—using such non-NVMe signals would result in modifications to the hardware infrastructure, which could result in increased complexity and / or cost.
[0017] Resetting a storage device may refer to placing the storage device in a reset state, wherein the storage device does not respond to an input stimulus including a signal for accessing data of the storage device and / or a signal for performing other operations on the storage device. A reset signal may have an asserted state (e.g., a low level active or a high level active state) and a deasserted state (e.g., a high level inactive or a low level inactive state). When asserted, the reset signal places the storage device in a reset state. When deasserted, the reset signal allows the storage device to exit the reset state and begin operation. More generally, a "reset indication" may refer to a reset signal or any other type of control information, such as a combination of bits that represent an asserted state when set to a first value and a deasserted state when set to a different second value.
[0018] In another example of the present disclosure, in response to multiple reset indications being deasserted simultaneously, an output of a multiplexer in the expander connecting multiple controllers to a single-port memory device is disabled. Multiple reset indications from multiple controllers being deasserted simultaneously is an error condition because the condition indicates that multiple controllers may be attempting to access the single-port memory device simultaneously, which may result in failures or data errors.
[0019] In the subsequent discussion, reference is made to single-port storage devices. More generally, techniques or mechanisms according to some implementations of the present disclosure may be used with single-port input / output (I / O) devices. An I / O device refers to a device that is capable of accepting input operations from another device (e.g., a controller) and / or generating output operations to another device (e.g., a controller).
[0020] Figure 1 1 is a block diagram of an example system 100 including single-port storage devices 102-1 to 102-N (N≥1). System 100 may include one single-port storage device, or alternatively, multiple single-port memory devices. Examples of storage devices may include any or some combination of the following: disk-based storage devices, solid-state drives, etc.
[0021] More generally, single-ported storage devices may be replaced with other types of single-ported I / O devices. In other examples, any or some of the single-ported storage devices 102-1 through 102-N may be replaced with corresponding dual-ported (or more generally, multi-ported) storage devices. In such other examples, only one port of each multi-ported storage device is used—a multi-ported storage device in which only one port is used is actually a single-ported storage device.
[0022] In an example, the system 100 is a storage system to store data accessible by a requesting device (e.g., a computer, a smart phone, a gaming device, a wearable device, an Internet of Things (IoT) device, a vehicle, etc.) In other examples, the system 100 is a computing system such as a server system, a cloud system, etc.
[0023] Each of the single-port storage devices 102-1 to 102-N is supported by a corresponding device bracket. For example, the device bracket 104-1 supports the single-port storage device 102-1, and the device bracket 104-N supports the single-port storage device 102-N. A "device bracket" may refer to any physical support structure on which a single-port storage device, or more generally a single-port I / O device, may be mounted. Examples of device brackets may include a support frame, a base plate, etc.
[0024] According to an example of the present disclosure, each device bay also supports a corresponding expander that allows multiple controllers to connect to a corresponding single-port storage device. For example, device bay 104-1 supports expander 106-1, and device bay 104-N supports expander 106-N. Each expander 106-i (i is equal to 1 to N) includes a multiplexer ( Figure 2 As shown), the multiplexer is controlled to selectively connect the multiple controllers to the corresponding single-port storage devices 102-i.
[0025] Each single-port memory device 102-i includes a corresponding single connector 108-i through which the single-port memory device 102-i communicates with another device. A "connector" includes a collection of connection elements that allow the circuitry of the single-port memory device to be connected to a device external to the single-port memory device. The connection elements may be in the form of electrical pins, pads, contacts, etc.
[0026] Each expander 106-i has a device-side expander connector 110-i that connects to a connector 108-i of a single-port storage device 102-i. For example, expander 106-1 has a device-side expander connector 110-1 that connects to a connector 108-1 of a single-port storage device 102-1, and expander 106-N has a device-side expander connector 110-N that connects to a connector 108-N of a single-port storage device 102-N.
[0027] Each expander 106-i has a backplane-side connector 112-i that connects to a device-side backplane connector 114-i that is part of a backplane 116 of the system 100. Figure 1 As shown, the backplane 116 includes device-side backplane connectors 114-1 through 114-N to connect to corresponding backplane-side connectors 112-1 through 112-N of respective expanders 106-1 through 106-N.
[0028] In some examples of the present disclosure, the backplane 116 is an example of a hardware infrastructure designed for use with dual-port storage devices. According to some examples of the present disclosure, using expanders 106-1 to 106-N, it is not necessary to modify the backplane 116 to support the use of single-port storage devices. In addition, the device-side backplane connectors 114-1 to 114-N do not have to be modified from the design used with dual-port storage devices.
[0029] The backplane-side connector 112-i on the first side of each expander 106-i is connected to a device-side backplane connector 114-i having contact elements designed to send signals to both ports of a dual-port storage device. The device-side expander connector 110-i on the second side of each expander 106-i is connected to a single connector 108-i of a single-port storage device 102-i. In other words, each expander 106-i sits between the single-port storage device 102-i and the backplane connector supporting the dual-port storage device.
[0030] The backplane 116 is an example of a connection plane that includes signal paths for routing signals between the device-side backplane connectors 114-1 through 114-N of the backplane 116 and the module-side backplane connectors 128-A and 128-B of the backplane 116. The signal paths may be in the form of electrical traces or other types of electrical conductors on or in the backplane 116. As an example, the backplane 116 may be in the form of a circuit board that includes the signal traces.
[0031] The backplane 116 may also include additional circuitry, such as in the form of universal backplane management (UBM) devices 118-1 through 118-M. UBM is a backplane standard that allows controllers and storage devices to interoperate. In some examples, each UBM device 118-i is capable of propagating sideband signals from the controller to a corresponding single-port storage device 102-i, and more specifically, in Figure 1 In the context of , it is propagated to the corresponding device bay 104-i supporting the single-port storage device 102-i. Sideband signals (e.g., NVMe signals) include reset signals from the controller, as well as other types of sideband signals. Each UBM device 118-i can perform other functions according to the UBM standard.
[0032] UBM device 118-1 can propagate a reset signal to device bay 104-1, and UBM device 118-N can propagate reset information to device bay 104-N. UBM device "propagating" a reset signal can mean that the UBM device passes the reset signal without modification, or alternatively, the UBM device generates an output reset signal based on the input reset signal according to specified logic.
[0033] In other examples, no UBM devices are employed in the backplane 116. More generally, the backplane 116 includes circuitry for propagating a reset signal from a controller to each device bay 104-i.
[0034] exist Figure 1 In the example of , the controller is in the form of I / O modules 120-A and 120-B. Each I / O module manages access to single-port storage devices 102-1 to 102-N. For example, the I / O module can receive an access request (e.g., a read request or a write request) from a requestor device (not shown), which can be an electronic device connected to the I / O module 120-A or 120-B (such as, through a network or another link). In response to the access request, the I / O module can issue an access command to perform access (e.g., a read access or a write access) to a target single-port storage device, which can be any single-port storage device 102-1 to 102-N.
[0035] exist Figure 1In the example of FIG. 1 , it is assumed that there are two I / O modules 120 -A and 120 -B that are capable of accessing each of the single-ported storage devices 102 - 1 to 102 -N. In other examples, there may be more than two I / O modules.
[0036] exist Figure 1 In the example of , each I / O module includes a corresponding central processing unit (CPU) and a baseboard management controller (BMC). I / O module 120-A includes CPU 122-A and BMC 124-A, and I / O module 120-B includes CPU 122-B and BMC 124-B. Although reference is made to a BMC, more generally, each I / O module 121 or 122 may include a different type of management controller. Example details of the BMC are discussed further below.
[0037] In other examples, the functionality of the CPU and BMC may be combined into a single processor in each I / O module.
[0038] In some examples, each BMC 124-A or 124-B outputs N reset signals that reset the corresponding single-port storage devices 102-1 to 102-N. More specifically, the BMC 124-A outputs the following reset signals: SD1_Reset_A, ..., SDN_Reset_A. When asserted, the reset signal SD1_Reset_A is to reset the single-port storage device 102-1, and when asserted, the reset signal SDN_Reset_A is to reset the single-port storage device 102-N.
[0039] Similarly, BMC 124-B outputs the following N reset signals: SD1_RESET_B, ..., SDN_RESET_B. When asserted, reset signal SDN_RESET_B is to reset single-port memory device 102-1, and when asserted, reset signal SDN_RESET_B is to reset single-port memory device 102-N.
[0040] In some examples, one of the I / O modules 120-A and 120-B is a primary I / O module that actively controls access to the storage devices 102-1 to 102-N, while the other of the I / O modules 120-A and 120-B is a standby I / O module that is in a standby mode and does not actively control access to the storage devices 102-1 to 102-N. If the primary I / O module becomes unavailable for any reason, the standby I / O module can become active.
[0041] The CPU 122-A or 122-B is to manage access to each of the single-port memory devices 102-1 to 102-N. For example, the CPU 122-A or 122-B may issue an access command (e.g., a read command or a write command) to a target single-port memory device to perform access (read or write) of the target single-port memory device. The CPU 122-A or 122-B may issue an access command in response to receiving an access request from a requesting device (not shown).
[0042] I / O module 120-A includes I / O module connector 128-A, and I / O module 120-B includes I / O module connector 128-B. I / O module connectors 128-A and 128-B are connected to corresponding module-side backplane connectors 126-A and 126-B of backplane 116. Signals of CPU 122-A and BMC 124-A are transmitted to I / O module connector 128-A through the signal path of I / O module 120-A. Similarly, signals of CPU 122-B and BMC 124-B are transmitted to I / O module connector 128-B through the signal path of I / O module 120-B.
[0043] Signals of CPU 122-A may communicate with I / O module connector 128-A via PCIe bus 123-A of I / O module 120-A, and signals of CPU 122-B may communicate with I / O module connector 128-B via PCIe bus 123-B of I / O module 120-B.
[0044] The backplane 116 includes a PCIe bus 130-A connected between the module-side backplane connector 126-A and the device-side backplane connectors 114-1 to 114-N. Similarly, the backplane 116 includes a PCIe bus 130-B connected between the module-side backplane connector 126-B and the device-side backplane connectors 114-1 to 114-N. Each PCIe bus 130-A and 130-B is to transmit PCIe signals between the corresponding CPU 122-A or 122-B and the target single-port storage device 102-i.
[0045] Although some of the examples discussed herein use a PCIe bus, in other examples other types of buses may be employed.
[0046] The backplane 116 also includes reset signal paths to route the reset signals of the BMCs 124-A and 124-B to the respective UBM devices 118-1 to 118-N. More specifically, the reset signal path 132-A of the backplane 116 carries the reset signal SD1_RESET_A between the module-side backplane connector 126-A and the UBM device 118-1, and the reset signal path 132-B of the backplane 116 carries the reset signal SD1_RESET_B between the module-side backplane connector 126-B and the UBM device 118-1. Similarly, the reset signal path 134-A of the backplane 116 carries the reset signal SDN_RESET_A between the module-side backplane connector 126-A and the UBM device 118-N, and the reset signal path 134-B of the backplane 116 carries the reset signal SDN_RESET_B between the module-side backplane connector 126-B and the UBM device 118-N.
[0047] Then, the UBM device 118-1 propagates the reset signals SD1_RESET_A and SD1_RESET_B to the device-side backplane connector 114-1 of the backplane 116 through the corresponding reset paths 133-A and 133-B, and the UBM device 118-N propagates the reset signals SDN_RESET_A and SDN_RESET_B to the device-side backplane connector 114-N of the backplane 116 through the corresponding reset paths 135-A and 135-B.
[0048] When expander 106-1 is connected to device-side backplane connector 114-1, PCIe signals on PCIe bus 130-A and reset signals on reset paths 133-A and 133-B communicate with expander 106-1. Similarly, when expander 106-N is connected to device-side backplane connector 114-N, PCIe signals on PCIe bus 130-B and reset signals on reset paths 135-A and 135-B communicate with expander 106-N.
[0049] Figure 2 1 to 106-N. Additional details of each expander in expanders 106-1 to 106-N are depicted in . Expander 106-1 includes multiplexer 202-1, and expander 106-N includes multiplexer 202-N. In other examples, multiplexers 202-1 to 202-N may have other configurations. Multiplexer 202-1 includes channels A and B on a first side of multiplexer 202-1. Channels A and B of multiplexer 202-1 are connected to a backplane-side connector 112-1 of expander 106-1. Multiplexer 202-1 also includes channel C on a second side of multiplexer 202-1. Channel C of multiplexer 202-1 is connected to a device-side connector 110-1 of expander 106-1 via a PCIe bus 210-1 of expander 106-1.
[0050] As used herein, a "channel" of a multiplexer refers to a collection of signals (input signals and output signals) to be routed between the first side and the second side of the multiplexer 202-1. Figure 2 In the example of FIG. 1 , channel A of multiplexer 202-1 is connected to backplane-side connector 112-1 via PCIe bus 204-1-A of expander 106-1, and channel B of multiplexer 202-1 is connected to backplane-side connector 112-1 via PCIe bus 204-1-B of expander 106-1. When device bay 104-1 is connected to device-side backplane connector 114-1 backplane 116, PCIe bus 204-1-A of expander 106-1 is connected to PCIe bus 130-A of backplane 116 via connectors 112-1, 114-1. Similarly, when device bay 104 - 1 is connected to device-side backplane connector 114 - 1 of backplane 116 , PCIe bus 204 - 1 -B of expander 106 - 1 is connected to PCIe bus 130 -B of backplane 116 through connectors 112 - 1 , 114 - 1 .
[0051] The multiplexer 202-1 performs both a multiplexing function and a demultiplexing function. The multiplexing function of the multiplexer 202-1 includes selectively connecting an input signal of channel A or channel B to channel C of the multiplexer 202-1 based on the state of the selection input SEL of the multiplexer 202-1. The demultiplexing function of the multiplexer 202-1 includes selectively connecting an output signal of channel C to channel A or channel B based on the state of the selection input SEL of the multiplexer 202-1. The “input signal” of each of channels A and B is a signal to be provided from the backplane 116 to the single-port memory device 102-1, and the “output signal” of channel C is a signal provided from the single-port memory device 102-1 to the backplane 116.
[0052] The select input SEL of the multiplexer 202-1 is connected to the select control signal 208-1 generated by the port select logic 206-1 in the expander 106-1. In some examples, the port select logic 206-1 can be implemented with a collection of logic gates (e.g., XOR gates, AND gates, inverters, etc.). Alternatively, the port select logic 206-1 can be implemented using an integrated circuit device.
[0053] Port select logic 206-1 receives reset signals SD1_RESET_A and SD1_RESET_B as inputs via connectors 112-1, 114-1. If select control signal 208-1 is asserted (in Figure 2), multiplexer 202-1 selects channel B to connect to channel C. On the other hand, if select control signal 208-1 is deasserted (active low in the example of Figure 2 In the example above, the high level is invalid), then the multiplexer 202-1 selects channel A to connect to channel C.
[0054] The multiplexer 202-1 also includes an output enable input OE that controls whether the output signal of channel C of the multiplexer 202-1 is enabled or disabled. If enabled, the output signal of channel C is driven based on the corresponding signal of channel A or B connected to channel C by the multiplexer 202-1. If disabled, the output signal of channel C remains in a disabled state, wherein the output signal of channel C remains inactive regardless of the state of the corresponding signal of channel B or A connected to channel C by the multiplexer 202-1.
[0055] exist Figure 2 In the example of , the output enable input OE is connected to the OE control signal 209-1 generated by the port selection logic 206-1. The port selection logic 206-1 also generates a device reset signal 212-1, which is provided to the device-side expander connector 110-1 to control the reset of the single-port storage device 102-1.
[0056] Table 1 below summarizes how the various signals (select control signal 208-1, OE control signal 209-1, and device reset signal 212-1) generated by port select logic 206-1 are based on the states of reset signals SD1_RESET_A and SD1_RESET_B.
[0057] Table 1
[0058] SD1_RESET_A SD1_RESET_B Select control signal OE control signal Device reset signal 0 0 x 1 0 0 1 B 0 1 1 0 A 0 1 1 1 x 1 0
[0059] In some examples, the device reset signal 212-1 is a low-level active signal. If the device reset signal 212-1 is low-level active, the single-port storage device 102-1 is kept in a reset state. On the other hand, if the device reset signal 212-1 is high-level inactive, the single-port storage device 102-1 is allowed to exit the reset state and start operation.
[0060] According to Table 1, if only one of the reset signals SD1_RESET_A and SD1_RESET_B is active low and the other of the reset signals SD1_RESET_A and SD1_RESET_B is inactive high, the device reset signal 212-1 is inactive high. If the reset signals SD1_RESET_A and SD1_RESET_B have the same state (i.e., both are active low or both are inactive high), the device reset signal 212-1 is active low.
[0061] According to Table 1, if the reset signal SD1_reset_A signal is active low and the reset signal SD1_reset_B signal is inactive high, the port selection logic 206-1 asserts the selection control signal 208-1 to a low level, which causes the multiplexer 202-1 to select channel B to connect to channel C. If the reset signal SD1_reset_A signal is inactive high and the reset signal SD1_reset_B signal is active low, the port selection logic 206-1 de-asserts the selection control signal 208-1 to a high level, which causes the multiplexer 202-1 to select channel A to connect to channel C.
[0062] although Figure 2 An example is shown in which the multiplexer 202-1 performs a 2-to-1 connection, but more generally, the multiplexer 202-1 can perform an M-to-1 connection (M≥2) to selectively connect M controllers to a single-port storage device. In such an example, the port selection logic 206-1 can receive M reset signals from the backplane 116 to perform control of the multiplexer 202-1 and the device reset signal 212-1.
[0063] Expander 106-N is arranged similarly to expander 06-1, including a multiplexer 202-N and port selection logic 206-N. Port selection logic 206-N receives reset signals SDN_reset_A and SDN_reset_B as inputs, and produces the following outputs: a select control signal 208-N provided to a select input SEL of multiplexer 202-N, an OE control signal 209_N provided to an output enable input OE of multiplexer 202-N, and a device reset signal 212-N provided to a device-side expander connector 110-N to control the reset of the single-port storage device 102-N.
[0064] Each CPU 122-A of an I / O module 120-A, or CPU 122-B of an I / O module 120-B, executes machine-readable instructions (referred to as "controller instructions") to perform tasks for the corresponding I / O module. The controller instructions may include firmware and / or software.
[0065] The port selection logic 206-i of each expander 106-i is configured to cause any I / O module (under the control of controller instructions executed on the corresponding CPU) to de-assert its reset signal gain control to the data path (e.g., as part of a PCIe bus) to the corresponding single-port storage device 102-i. In this way, after the system 100 is powered on, dynamic and real-time allocation of storage devices to I / O modules can be performed simply by controlling the reset signal to the corresponding storage device.
[0066] If both I / O modules 120-A and 120-B de-assert their reset signals to the same single-port memory device 102-i (which may cause bus contention for I / O modules 120-A and 120-B), then OE control signal 209-i is de-asserted high and the output enable input OE to multiplexer 202-i is disabled and multiplexer 202-i effectively disconnects both I / O modules 120-A and 120-B from single-port memory device 102-i to prevent bus contention. By using a reset signal to control the multiplexers in the expander, it is not necessary to modify the hardware infrastructure (e.g., backplane 116) to add additional control signals to control the multiplexers. In some examples, controller instructions on both I / O modules 120-A and 120-B may interact with each other to resolve a condition in which both reset signals are deasserted (e.g., one of I / O modules 120-A and 120-B may assert its reset signal to single-ported storage device 102-i so that the other I / O module may manage access to single-ported storage device 102-i). In other examples, an administrator or another entity may direct one of I / O modules 120-A and 120-B to assert its reset signal to single-ported storage device 102-i to resolve a condition in which both reset signals are deasserted.
[0067] Controller instructions executed by the CPUs 122-A and 122-B of the I / O modules 120-A and 120-B may determine which I / O module is to access which single-ported storage device 102-1 to 102-N at runtime. For example, the controller instructions executed by the CPU 122-A of the I / O module 120-A may determine that the I / O module 120-A is to manage access to a first subset of the single-ported storage devices 102-1 to 102-N, and the controller instructions executed by the CPU 122-B of the I / O module 120-B may determine that the I / O module 120-B is to manage access to a second subset of the single-ported storage devices 102-1 to 102-N. In a specific example, assume that there are 24 single-ported storage devices. In the example, the first subset may include storage devices 1 to 12, and the second subset may include storage devices 13 to 24. In such an example, I / O module 120 -A “owns” a first subset that includes storage devices 1 through 12 , and I / O module 120 -B owns a first subset that includes storage devices 13 through 24 .
[0068] In some examples, the determination of which storage devices a given I / O module owns can be based on any or some combination of the following: (1) configuration information stored in non-volatile memory of the given I / O module, where the configuration information identifies the storage devices to be managed by the given I / O module, (2) rules or other criteria, such as based on workload, bandwidth, and / or other factors governing how the collection of storage devices is to be segmented among the I / O modules, (3) input from a human administrator, and the like.
[0069] Once the controller instructions of a given I / O module determine that the given I / O module owns the corresponding subset of storage devices, the controller instructions of the given I / O module can de-assert the reset signal to the corresponding subset of storage devices. Another I / O module maintains its reset signal to the corresponding subset of storage devices in an asserted state.
[0070] During operation, a first I / O module of I / O modules 120-A and 120-B may experience a fault or failure that prevents the first I / O module from functioning properly. A second I / O module of I / O modules 120-A and 120-B may detect that the first I / O module is no longer functioning. In an example, this may be based on a heartbeat message sent from the first I / O module to the second I / O module. If the second I / O module stops receiving heartbeat messages from the first I / O module, the second I / O module may determine that the first I / O module is no longer functioning. In other examples, other mechanisms may be employed to detect that an I / O module has stopped functioning.
[0071] In response to detecting that the first I / O module has stopped functioning, a failover is performed from the first I / O module to the second I / O module. In the above example, if the first I / O module owned storage devices 1 to 12 before the handover, the second I / O module will own storage devices 1 to 12 after the handover. Before the handover, the second I / O module maintains its reset signal to storage devices 1 to 12 in an asserted state. After the handover, the second I / O module can de-assert its reset signal to storage devices 1 to 12 to cause a multiplexer in the expander connected to storage devices 1 to 12 to connect the second I / O module to storage devices 1 to 12. It is assumed that once the first I / O module is turned off or otherwise disabled, the reset signal of the inoperative first I / O module is asserted.
[0072] If the non-functioning first I / O module is later replaced by a new I / O module, the new I / O module may demand the return of ownership of the storage devices 1 to 12 after the new I / O module establishes communication with the second I / O module and informs the second I / O module that ownership of the storage devices 1 to 12 is to be transferred from the second I / O module to the new I / O module. To perform the transfer, the second I / O module may assert its reset signal to the storage devices 1 to 12, and the new I / O module de-asserts its reset signal to the storage devices 1 to 12.
[0073] In some examples where UBM devices 118 - 1 through 118 -N are used, each UBM device may be used to persistently store a respective state of a reset signal from an I / O module 120 -A, 120 -B to a respective single-port memory device. Figure 3 An example of a UBM device 118-i (i=1 to N) including a non-volatile memory 302-i is shown. The non-volatile memory 302-i stores reset signal status information 304-i, which may include a first bit 306-i indicating the state of the reset signal from the I / O module 120-A and a second bit 308-i indicating the state of the reset information from the I / O module 120-B. Figure 3 In the example of FIG. 1 , assume that the first reset state bit 306-i is set to 0 (which indicates that the reset signal from the I / O module 120-A to the single-ported storage device 102-i is asserted), and the second reset state bit 308-i is set to 1 (which indicates that the reset signal from the I / O module 120-B to the single-ported storage device 102-i is de-asserted). The reset signal state information 304-i can be maintained in the non-volatile memory 302-i across power cycles of the system 100.
[0074] In other examples, the nonvolatile memory 302 - i storing the reset signal state information 304 - i may be included in another device different from the UBM device 118 - i .
[0075] By persistently storing the reset signal status information 304-i in each non-volatile memory 302-i, the I / O modules can access the persistently stored reset signal status information 304-i after each power cycle or restart of the system 100 to determine which I / O module owns which single-port storage device. Figure 3 , the reset signal status information 304-i indicates that the I / O module 120-B owns the single-ported storage device 102-i (because the reset status bit 308-i indicates that the reset signal from the I / O module 120-B is de-asserted).
[0076] The following are several possible scenarios that may be encountered in the system 100. In the first scenario, in response to system startup, a single I / O module is started (i.e., the other I / O modules remain inoperative). In the first scenario, if the controller instructions of the single I / O module detect that there is no peer I / O module, the controller instructions in the single I / O module cause the single I / O module to deassert its reset signal to all single-ported storage devices 102-1 to 102-N so that the single I / O module can manage access to all single-ported storage devices 102-1 to 102-N. In the first scenario, if the controller instructions of the single I / O module detect that there is no peer I / O module, the controller instructions in the single I / O module cause the single I / O module to deassert its reset signal to all single-ported storage devices 102-1 to 102-N so that the single I / O module can manage access to all single-ported storage devices 102-1 to 102-N. Figure 3 In the example of the reset signal status information of 304 - i in FIG. 1 , a single I / O module may rewrite the reset signal status message such as 304 - i to indicate that the single I / O module owns the corresponding single-ported storage device 102 - i.
[0077] In a second scenario, in response to a system startup, both I / O modules 120-A and 120-B are started. If this is the first time both I / O modules 120-A and 120-B are started, such that UBM devices 118-1 to 118-N do not store previous reset signal state information indicating previous storage device assignments to the I / O modules, there may be a time interval while controller instructions in I / O modules 120-A and 120-B boot. During this time interval, UBM devices 118-1 to 118-N may set the reset signal state information stored in the respective UBM devices 118-1 to 118-N to evenly divide the storage devices 102-1 to 102-N between I / O modules 120-A and 120-B. For example, if reset signal state information 304-i was not previously programmed by the I / O modules, UBM device 118-i may set reset signal state information 304-i to a default state. For example, the default state of the reset signal state information in the UBM device 118-1 may be {0,1} to indicate that the reset signal from the I / O module 120-A is asserted and the reset signal from the I / O module 120-B is deasserted. On the other hand, the default state of the reset signal state information in the UBM device 118-N may be {1,0} to indicate that the reset signal from the I / O module 120-A is deasserted and the reset signal from the I / O module 120-B is asserted. The state of the reset signal state information in each UBM device controls which reset signal is asserted and which reset signal is deasserted to the corresponding storage device 102-i. By appropriately configuring the default state of the reset signal state information, an even division of storage devices between the I / O modules 120-A and 120-B may be achieved.
[0078] Subsequently, after I / O modules 120-A and 120-B complete their booting, controller instructions executing in I / O modules 120-A and 120-B may determine the appropriate storage device ownership split and may write reset signal status information to UBM devices 118-1 through 118-N accordingly.
[0079] In a third scenario, the single-port storage device may be unresponsive to the I / O module that owns the single-port storage device. If the I / O module detects that the single-port storage device is unresponsive, the I / O module may assert its reset signal to the single-port storage device and then deassert the reset signal to the single-port storage device. This sequence may cause a multiplexer in the corresponding expander to connect the single-port storage device to the I / O module.
[0080] Alternatively, if the first I / O module detects that a given single-port memory device owned by the first I / O module is unresponsive, the controller instructions of the first I / O module may communicate with the control instructions of the second I / O module to request that the ownership of the given single-port memory device be transferred to the second I / O module. This transfer of ownership will cause the first I / O module to assert its reset signal to the given single-port memory device, and the second I / O module to de-assert its reset signal to the given single-port memory device.
[0081] In some examples, controller instructions of I / O modules 120 -A and 120 -B may intermittently rebalance ownership of storage devices 102 - 1 through 102 -N for workload balancing.
[0082] Figure 4 is a block diagram of an apparatus 400 according to some examples. The apparatus 400 includes an expander 402, which may be Figure 1 Note that apparatus 400 may be expander 402, or alternatively, apparatus 400 may be a larger structure that includes expander 402. In the latter example, apparatus 400 may be a device bay, such as any of device bays 104-1 through 104-N.
[0083] Expander 402 includes a first connector 404 to a single-port I / O device, and a second connector 406 to a connection plane connected to multiple controllers. An example of a connection plane is Figure 1 The backplane 116. Examples of multiple controllers include Figure 1 I / O modules 120-A and 120-B.
[0084] The expander 402 includes a multiplexer 408 to selectively connect different controllers of the plurality of controllers to the single-port I / O device based on control inputs. The control inputs include a plurality of reset indications 410, 412 (e.g., Figure 2 When asserted, each of the multiple reset indications causes a reset of a single port I / O device. The multiple reset indications 410, 412 are also used to reset a single port I / O device, such as by port selection logic (e.g., Figure 2 206-1 to 206-N) to control the multiplexer 408.
[0085] In some examples, in response to multiple reset indications 410 , 412 being simultaneously de-asserted, the output of multiplexer 408 is disabled.
[0086] In some examples, the multiplexer 408 includes an output enable input that, when set to a first state, disables an output of the multiplexer 408. In response to the plurality of reset indications being simultaneously de-asserted, the output enable input is set to the first state.
[0087] In some examples, the apparatus 400 includes port selection logic to generate output signals (eg, Figure 2 208-1, 209-1, 212-1, 208-N, 209-N, 212-N) to control the multiplexer, the port selection logic having inputs connected to multiple reset indications.
[0088] In some examples, the first connector 404 has a reset signal connection element (electrical pin, pad, contact, etc.) to provide a reset signal to the single-port I / O device, wherein the reset signal connection element has a reset signal based on a device reset signal generated by the port selection logic (e.g., Figure 2 The status of 212-1, 212-N).
[0089] In some examples, the second connector 406 has a plurality of reset signal connection elements to receive corresponding reset indications of the plurality of reset indications 410 , 412 .
[0090] In some examples, apparatus 400 includes a device bay that supports an expander, wherein the device bay also includes space to hold a single-port I / O device.
[0091] Figure 5 is a block diagram of a system 500. The system 500 includes a plurality of controllers 502,504 for a single-port I / O device 506. The system 500 includes a connection plane 508 connected to the plurality of controllers 502,504.
[0092] The system 500 also includes an expander 510 to connect the multiple controllers 502, 504 to the single port I / O device 506. The expander 510 has a first connector 512 to the single port I / O device 506, and a second connector 514 to the connection plane 508.
[0093] The expander 510 also includes a multiplexer 516 between the first connector 512 and the second connector 514. The multiplexer 516 selectively connects different ones of the plurality of controllers 502, 504 to the single-port I / O device 506 based on control inputs including a plurality of reset indications 518, 520 from the respective controllers 502, 504. In response to multiple ones of the plurality of reset indications 518, 520 being simultaneously de-asserted, the output of the multiplexer 516 is disabled.
[0094] A first controller of the plurality of controllers 502 , 504 is to determine ownership of the single-port I / O device 506 and to control states of corresponding reset indicators of the plurality of reset indicators 518 , 520 based on the determination of ownership of the single-port I / O device 506 .
[0095] In some examples, the first controller is to determine a first set of single-port I / O devices of which the first controller is an owner, and the first controller is to deassert corresponding reset indications to single-port I / O devices in the first set of single-port I / O devices.
[0096] In some examples, a second controller of the plurality of controllers 502 , 504 is to determine a second set of single-port I / O devices of which the second controller is the owner, and the second controller is to deassert corresponding reset indications to the single-port I / O devices of the second set of single-port I / O devices.
[0097] In some examples, the first controller and the second controller are configured to cooperate during system operation to determine ownership splits among the plurality of single-port I / O devices.
[0098] In some examples, connection plane 508 includes non-volatile memory (e.g., Figure 3 302 - i ) in order to store an indication of which of the plurality of controllers 502 , 504 has ownership of the single-port I / O device 506 .
[0099] In some examples, the non-volatile memory is to store the states of the plurality of reset indications 518 , 520 .
[0100] In some examples, multiplexer 516 includes an output enable input that, when set to a first state, disables an output of multiplexer 516. In response to the plurality of reset indications being simultaneously de-asserted, the output enable input is set to the first state.
[0101] In some examples, in response to a single reset indication of the plurality of reset indications 518 , 520 being de-asserted, the output enable input is set to a different second state while the remainder of the plurality of reset indications 518 , 520 are asserted.
[0102] Figure 6 is a block diagram of a first controller 600 according to some examples. An example of the first controller 600 is Figure 1 The first controller 600 includes a controller processor 602, and a memory 604 that stores machine-readable instructions that can be executed on the controller processor 602 to perform various tasks. The controller processor 602 may include a microprocessor, a core of a multi-core microprocessor, a microcontroller, a programmable integrated circuit, a programmable gate array, or other hardware processing circuits.
[0103] The machine readable instructions include ownership determination instructions 606 to determine whether the first controller 600 is to manage access to the single port I / O device.
[0104] The machine readable instructions include reset indication deassertion instructions 608 to deassert a first reset indication to the single-port I / O device based on determining that the first controller 600 is to manage access to the single-port I / O device. When asserted, the first reset indication is used to place the single-port I / O device in a reset state.
[0105] The machine readable instructions include multiplexer reset indication output instructions 610 to output a deasserted first reset indication to control a multiplexer that selectively connects multiple controllers to a single-port I / O device. The deasserted first reset indication is used to cause the first controller to connect to the single-port I / O device through the multiplexer.
[0106] "BMC" (e.g. Figure 1The BMC 124-A or 124-B) may refer to a dedicated service controller that uses sensors to monitor the physical state of an electronic device (e.g., I / O module 120-A or 120-B) and communicates with a remote management system (remote from the electronic device) through an independent out-of-band connection. The BMC may perform management tasks to manage components of the electronic device. Examples of management tasks that may be performed by the BMC may include any one or some combination of the following: power control for performing power management of an electronic device (such as, in response to a detected event, causing the electronic device to transition between different power consumption states), thermal monitoring and control of an electronic device (such as, monitoring the temperature of the electronic device and controlling the thermal management state of the electronic device), fan control of fans in an electronic device, system health monitoring based on monitoring measurement data from various sensors of the electronic device, remote access to an electronic device (e.g., accessing an electronic device through a network), remote restart of an electronic device (using a remote command to trigger a restart of the electronic device), system settings and deployment of electronic devices, system security for implementing security programs in electronic devices, and the like.
[0107] In some examples, the BMC can provide a so-called "lights-out" function for the electronic device. The lights-out function can allow a user (such as a system administrator) to perform management operations on the electronic device even if the OS is not installed or is not functioning on the electronic device.
[0108] Additionally, in some examples, the BMC can operate on auxiliary power provided by an auxiliary power supply; thus, the electronic device does not have to be powered on to allow the BMC to perform operations of the BMC. The auxiliary power supply is separate from the main power supply that powers other components of the electronic device (e.g., a main processor, memory, input / output (I / O) devices, etc.).
[0109] In the present disclosure, the use of the terms "a", "an" or "the" is also intended to include the plural forms unless the context clearly indicates otherwise. In addition, when used in the present disclosure, the terms "comprises", "including", "containing", "having", "having" or "having" specify the presence of the stated elements, but do not exclude the presence or addition of other elements.
[0110] In the foregoing description, many details are set forth to provide an understanding of the subject matter disclosed herein. However, these implementations may be practiced without some of these details. Other implementations may include modifications and variations to the details discussed above. The appended claims are intended to cover these modifications and variations.
Claims
1. A device comprising: Expanders, including: A first connector to a single port input / output I / O device, to a second connector connected to a connection plane of a plurality of controllers, and a multiplexer to selectively connect different ones of the plurality of controllers to the single-port I / O device based on control inputs including a plurality of reset indications from corresponding ones of the plurality of controllers, wherein each of the plurality of reset indications causes a reset of the single-port I / O device when asserted, and the plurality of reset indications are used to control the multiplexer. 2 . The apparatus of claim 1 , wherein in response to multiple reset indications of the plurality of reset indications being simultaneously de-asserted, the output of the multiplexer is disabled.
3. The apparatus of claim 2, wherein the multiplexer comprises an output enable input that, when set to a first state, disables an output of the multiplexer, and wherein the output enable input is set to the first state in response to the plurality of reset indications being simultaneously deasserted.
4. The apparatus of claim 1, comprising port selection logic to generate an output signal to control the multiplexer, the port selection logic having an input connected to the plurality of reset indications.
5. The apparatus of claim 4 , wherein the first connector has a reset signal connection element for providing a reset signal to the single-port I / O device, wherein the reset signal connection element has a state based on a device reset signal generated by the port selection logic, and wherein the second connector has a plurality of reset signal connection elements for receiving a corresponding reset indication of the plurality of reset indications.
6. The apparatus of claim 1, wherein the plurality of reset indications comprises a reset signal according to a Non-Volatile Memory Express (NVMe) standard.
7. The apparatus of claim 1, wherein the multiplexer comprises a passive multiplexer that operates without machine-readable instructions being executed on the multiplexer.
8. The apparatus of claim 1, wherein the plurality of reset indications being deasserted indicates a condition of bus contention by a plurality of the plurality of controllers for a bus to the single-port I / O device.
9. The apparatus of claim 1, wherein assertion of a reset indication of the plurality of reset indications represents a condition in which a corresponding controller of the plurality of controllers is not ready to use the single-port I / O device.
10. The device according to claim 1, comprising: A device bracket is used to support the expander, and the device bracket also includes a space for holding the single-port I / O device.
11. A system comprising: Multiple controllers for single-port input / output I / O devices; a connection plane connected to the plurality of controllers; as well as Expanders, including: to a first connector of said single-port I / O device, a second connector to the connection plane, and a multiplexer between the first connector and the second connector and to selectively connect different ones of the plurality of controllers to the single-port I / O device based on a control input including a plurality of reset indications from corresponding ones of the plurality of controllers, wherein an output of the multiplexer is disabled in response to multiple ones of the plurality of reset indications being simultaneously deasserted, Wherein a first controller of the plurality of controllers is configured to determine ownership of the single-port I / O device and to control a state of a corresponding reset indication of the plurality of reset indications based on the determination of ownership of the single-port I / O device.
12. The system of claim 11, wherein the first controller is to determine a first set of single-port I / O devices of which the first controller is an owner, and the first controller is to deassert a corresponding reset indication to the single-port I / O device in the first set of single-port I / O devices.
13. The system of claim 11, wherein a second controller of the plurality of controllers is operable to determine a second set of single-port I / O devices of which the second controller is an owner, and the second controller is operable to deassert a corresponding reset indication to the single-port I / O device of the second set of single-port I / O devices.
14. The system of claim 13, wherein the first controller and the second controller are to cooperate during runtime of the system to determine ownership split among a plurality of single-port I / O devices.
15. The system of claim 11, wherein the connection plane includes non-volatile memory to store an indication of which of the plurality of controllers has ownership of the single-port I / O device.
16. The system of claim 15, wherein the non-volatile memory is used to store states of the plurality of reset indications.
17. The system of claim 11, wherein the multiplexer includes an output enable input that disables an output of the multiplexer when set to a first state, and wherein the output enable input is set to the first state in response to the plurality of reset indications being simultaneously deasserted.
18. The system of claim 17, wherein in response to a single reset indication of the plurality of reset indications being de-asserted, the output enable input is set to a different second state while the remainder of the plurality of reset indications are asserted.
19. A first controller, comprising: controller processor; as well as a memory storing instructions executable on the controller processor to: determining whether the first controller is used to manage access to a single-port input / output (I / O) device, and deasserting a first reset indication to the single-port input / output device based on determining that the first controller is to manage access to the single-port I / O device, wherein when asserted, the first reset indication is to place the single-port I / O device in a reset state; as well as The deasserted first reset indication is output to control a multiplexer, the multiplexer being used to selectively connect a plurality of controllers to the single-port I / O device, wherein the deasserted first reset indication is used to cause the first controller to connect to the single-port I / O device through the multiplexer.
20. The first controller of claim 19, wherein the instructions are executable on the controller processor to: Cooperating with a second controller of the plurality of controllers to determine which controller of the first controller and the second controller is to manage access to the single-port I / O device.
Citation Information
Patent Citations
Peripheral device with implicit reset signal
CN115686163A
Integrated circuit having random clock or random delay
US20050210179A1
Dual Port Memory Unit Using a Single Port Memory Core
US20060171239A1
Peripheral component interconnect express device and operating method thereof
US20220382696A1
