# US 2004/0107300 A1 · Virtual host controller interface with multipath input/output

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2004/0107300 A1
- Document ID: US20040107300A1
- Status: Published application
- Kind: A1
- Application number: 10/473,286
- Filed: 2003-09-26
- Published: 2004-06-03
- Earliest claimed: 2003-09-26
- Assignees: Sun Microsystems, Inc.
- Inventors: Seetharaman Padmanabhan; Chitrank Seshadri; John H Danielson
- Web page: https://patentgrep.com/patent/US20040107300A1

## CPC

- G06F 3/0617: {in relation to availability}
- G06F 3/0635: {by changing the path, e.g. traffic rerouting, path reconfiguration}
- G06F 3/0664: {at device level, e.g. emulation of a storage device or system}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 9/545: {where tasks reside in different layers, e.g. user- and kernel-space}
- G06F 11/2007: {using redundant communication media}
- H04L 69/32: Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
- G06F 11/2005: {using redundant communication controllers}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A processor-based system (200) with a multipath I/O architecture, including a virtual host controller interface (vHCI) layer (280) between a common architecture layer (270) and a physical host controller interface layer (290), which may include convential host bus adapters (HBAs) coupled to target decives such as storage devices (240, 250) in a storage area network (SAN). Target drivers send I/O requests to a common architecture layer, which forwards them to the vHCI layer (280), which then sends them to HBAs for sending to the target devices (240, 250). A multipathing driver interface (MPXIO) layer (310) resides beneath the vHCI layer (280), and determines target device path information for the vHCI layer (280). Positioning the MPXIO layer (310) beneath the vHCI layer avoids the need for multipathing target drivers (360) above the common architecture layer. A failover operations module may be provided for each type of target device to provide the vHCI layer (280) with failover protocol information in the event of a failed path.

## Claims

### Claim 1

A multipathing subsystem in a computer system having a system interface layer and at least one physical host controller interface (pHCI) in a pHCI layer, including:
a virtual host controller interface (vHCI) coupled to and interacting with the system interface layer;
wherein the vHCI layer interacts also with a multipath I/O module and is configured to transporting target driver command packets to an underlying pHCI.

### Claim 2 (depends on 1)

The subsystem of claim 1, where the system includes multiple pHCIs, which provide a physical transport mechanism to transport command packets to target devices.

### Claim 3

A processor-based system, including:
a processor configured to generate input/output (I/O) requests;
a memory in communication with the processor and configured to store program instructions;
at least one target driver module stored in the memory and configured to generate instructions specific to at least one target device in communication with the system, the target device being coupled to the system by at least a first path and a second path;
a virtual host controller interface in communication with the target driver module;
a multipath driver module in communication with the virtual host controller interface; and
at least one physical interface configured to couple the device;
wherein the multipath driver module is configured to generate path information relating to paths to each target device and provide the path information to the virtual host controller interface, and the virtual host controller interface is configured to pass I/O requests to a physical interface associated with a selected target device.

### Claim 4 (depends on 3)

The system of claim 3, wherein the multipath driver module is configured to determine each of a plurality of paths to the target device at a predetermined time.

### Claim 5 (depends on 4)

The system of claim 4, where the predetermined time is at boot-up of the system.

### Claim 6 (depends on 4)

The system of claim 4, wherein the predetermined time is at a user-selected time after boot-up of the system.

### Claim 7 (depends on 3)

The system of claim 3, wherein the virtual host controller interface is further configured, in the event of detection of a failed path, to resend an I/O request to the selected target device by way of another path.

### Claim 8 (depends on 7)

The system of claim 7, further including a common architecture layer between the target driver and the virtual host controller interface, the common architecture layer configured to generate instructions adapted for execution by the at least one physical interface.

### Claim 9 (depends on 8)

The system of claim 8, wherein the common architecture layer is configured to communicate with at least a first target device through the virtual host controller interface and at least a first physical interface, and is coupled directly to at least a second physical interface to communicate with at least a second target device.

### Claim 10 (depends on 1)

The system of claim 1, including a plurality of target driver modules configured to communicate with a plurality of physical interfaces, wherein at least a first target driver module is coupled to a first physical interface through the virtual host controller interface, and at least a second target driver module is coupled directly to a second physical interface.

### Claim 11 (depends on 1)

The system of claim 1, further including at least one failover operations module configured to provide a failover protocol relating to a first target device to the virtual host controller interface.

### Claim 12 (depends on 11)

The system of claim 11, wherein the failover operations module is configured to compile with the virtual host controller interface.

### Claim 13 (depends on 11)

The system of claim 11, wherein the failover operations module is configured to compile separately from the virtual host controller interface.

### Claim 14 (depends on 13)

The system of claim 13, configured to receive a second failover operations module without recompiling the virtual host controller interface.

### Claim 15

A method for multipath input/output (I/O) communication with at least one target device coupled to a processor-based system, including the steps of:
sending a first I/O packet from a first target driver to a virtual host controller interface;
forwarding the I/O packet from the virtual host controller interface to a first physical interface; and
transmitting the I/O packet from the first physical interface to the target device;
wherein the virtual host controller interface includes information relating to a plurality of paths to the target device.

### Claim 16 (depends on 15)

The method of claim 15, further including, before the sending step, the steps of:
locating a number of target devices coupled to the system; and
for each target device, determining at least one path to that device.

### Claim 17 (depends on 16)

The method of claim 16, further including, in the event of a failure of a path between the virtual host controller interface and a first target device, the steps of:
selecting an alternative path to the first target device; and
reforwarding the I/O packet from the virtual host controller interface.

### Claim 18 (depends on 16)

The method of claim 16, wherein the locating and determining steps are carried out at least at a time of boot-up of the system.

### Claim 19 (depends on 16)

The method of claim 16, wherein the locating and determining steps are carried out at least at a time other than boot-up of the system.

### Claim 20 (depends on 16)

The method of claim 16, further including the steps of:
providing failover information to the virtual host controller interface relating to a first target device; and
in the event of a failed path to the first target device, reforwarding the I/O packet from the virtual host controller interface, using the failover information to access another path to the first target device.
