WO2005104727A2 - Gestion proactive de ressources pretes au transfert dans des reseaux de stockage - Google Patents

Gestion proactive de ressources pretes au transfert dans des reseaux de stockage Download PDF

Info

Publication number
WO2005104727A2
WO2005104727A2 PCT/US2005/014307 US2005014307W WO2005104727A2 WO 2005104727 A2 WO2005104727 A2 WO 2005104727A2 US 2005014307 W US2005014307 W US 2005014307W WO 2005104727 A2 WO2005104727 A2 WO 2005104727A2
Authority
WO
WIPO (PCT)
Prior art keywords
target
processing unit
transfer ready
physical
available
Prior art date
Application number
PCT/US2005/014307
Other languages
English (en)
Other versions
WO2005104727A3 (fr
Inventor
Robert Tower Frey
Chao Zhang
Original Assignee
Emc Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US10/833,457 external-priority patent/US7484058B2/en
Priority claimed from US10/833,438 external-priority patent/US20050262309A1/en
Application filed by Emc Corporation filed Critical Emc Corporation
Publication of WO2005104727A2 publication Critical patent/WO2005104727A2/fr
Publication of WO2005104727A3 publication Critical patent/WO2005104727A3/fr

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
    • G06F11/2053Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where persistent mass storage functionality or persistent mass storage control functionality is redundant
    • G06F11/2056Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where persistent mass storage functionality or persistent mass storage control functionality is redundant by mirroring
    • G06F11/2058Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where persistent mass storage functionality or persistent mass storage control functionality is redundant by mirroring using more than 2 mirrored copies
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
    • G06F11/2053Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where persistent mass storage functionality or persistent mass storage control functionality is redundant
    • G06F11/2056Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where persistent mass storage functionality or persistent mass storage control functionality is redundant by mirroring
    • G06F11/2069Management of state, configuration or failover
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
    • G06F11/2053Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where persistent mass storage functionality or persistent mass storage control functionality is redundant
    • G06F11/2056Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where persistent mass storage functionality or persistent mass storage control functionality is redundant by mirroring
    • G06F11/2071Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where persistent mass storage functionality or persistent mass storage control functionality is redundant by mirroring using a plurality of controllers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Definitions

  • the present invention relates generally to storage area networks.
  • SAN storage area networks
  • a SAN can generally be considered a network whose primary purpose is the transfer of data between computer systems and storage elements and among storage elements.
  • a SAN can form an essentially independent network that does not have the same bandwidth limitations as many of its direct-connect counterparts including storage devices connected directly to servers (e.g., with a SCSI connection) and storage devices added directly to a local area network (LAN) using traditional Ethernet interfaces, for example.
  • servers e.g., with a SCSI connection
  • LAN local area network
  • targets which can include storage devices (e.g., tape drives and RAID arrays) and other devices capable of storing data
  • initiators which can included servers, personal computing devices, and other devices capable of providing write commands and requests
  • switches and appliances are usually Fibre Channel.
  • This structure generally allows for any initiator on the SAN to communicate with any target and vice versa. It also provides alternative paths from initiator to target. In other words, if a particular initiator is slow or completely unavailable, another initiator on the
  • a SAN can provide access to the target.
  • a SAN also makes it possible to mirror data, making multiple copies available and thus creating more reliability in the availability of data.
  • additional storage devices can be added to the SAN without the need to be connected to a specific initiator, rather, the new devices can simply be added to the storage network and can be accessed from any point.
  • Some SAN's utilize appliances to perform storage management for the SAN.
  • a typical appliance may receive and store data within the appliance, then, with an internal processor for example, analyze and operate on the data in order to forward the data to the appropriate target(s).
  • Such store-and-forward processing can slow down data access, including the times for reading data from and writing data to the storage device(s).
  • switches are often used to connect initiators with appliances, given the large number of initiators and small number of ports included in many appliances.
  • switches have replaced certain functionality previously preformed by appliances such that appliances are not necessary and can be eliminated from the systems.
  • SANs typically through switches and/or appliances, perform virtualization functions to allocate space of one or more physical targets to a particular user with the physical space remaining unknown to the user.
  • a company may utilize a SAN to provide data storage that employees access for data storage and retrieval.
  • a engineering department for example, may have storage allocated as "engineering storage space.” The employees may see and interact with the virtual space as they would see or interact with a physical storage device such as an attached hard disk drive. Nevertheless, the space may actually be divided over multiple physical storage devices and even be fragmented within single storage devices.
  • a switch or appliance can receive a request for a virtual space, and block number(s) and determine the device(s) and portions thereof that physically correlate to the virtual space requested in order to direct the data accordingly.
  • More recent storage area network switches are capable of routing data between initiators and targets without buffering the data as required by earlier appliances used in SAN's. For example, some storage switches can route data packets without introducing more latency to the packets than would be introduced by a typical network switch. Such unbuffered data transfer between initiators and targets must be handled reliably and efficiently by the switch performing the interconnection.
  • An example of a storage switch can be found in co-pending U.S. Patent Application No. 10/051,396, entitled VIRTUALIZATION IN A STORAGE SYSTEM, filed January 18, 2002.
  • an important feature of SANs is the ability to reliably and efficiently store data in multiple targets or within multiple logical units of one or more targets through so called mirroring or use of a mirrored virtual target.
  • Some networks may include a storage area (or virtual target) that maintains multiple copies of data in one or more physical locations for increased reliability of data storage. Accordingly, a switch in such a network may route data to two storage devices, for example, in response to a request to write data to the storage area.
  • physical targets are only able to handle a limited number of transfer requests at a given time.
  • a switch can receive a write command for a virtual target and simply route it to the appropriate physical device(s) without first determining the availability of a transfer ready resource. Since the data is buffered in the switch, it can be routed to the individual physical devices as they return a transfer ready signal.
  • Unbuffered data transfer between servers and targets can present further obstacles to the switches routing such data. If not properly managed, a network or portion thereof can become deadlocked while attempting to write the data.
  • data packets are not maintained or buffered at the connecting device when routing data in operations such as mirroring operations. Accordingly, each target for which data is destined must be available to receive the data before the data is requested or sent from the initiating device. For example, a connecting device may wait to receive transfer ready signals from each target before issuing a transfer ready signal to the initiating device. Because of each target's limited ability to issue transfer ready signals, the switch and targets can become deadlocked waiting for either transfer ready resources or data packets.
  • a switch may issue a first write command (e.g., write A) to a first and second target and a second write command (e.g., write B) to the same first and second target.
  • a first write command e.g., write A
  • a second write command e.g., write B
  • the switch and targets can become deadlocked.
  • the first target can only issue a transfer ready signal for the write B command after receiving data for the write A command (since its only resource is allocated to the write A command).
  • the second target can only issue a transfer ready signal for the write A command after receiving data for the write B command.
  • Each target will not receive data in response to its issued transfer ready signal and thus, will not issue a transfer ready signal for the remaining command.
  • the switch can not provide a transfer ready signal to the initiator for the write A command until it receives a transfer ready signal for the write A command from the second target. Additionally, the switch can not provide a transfer ready signal for the write B command to the initiator until it receives a transfer ready signal for the write B command. Thus, the initiator won't provide data for the write A or write B command to the switch and no data will be routed to the targets. Thus, the switch and targets will become deadlocked. Each target will wait for data packets in response to its issued transfer ready signal and the switch will wait for a transfer ready signal from each target.
  • systems and methods are provided to manage transfer ready resources of one or more physical targets to avoid deadlock of a storage switch or storage area network when attempting to write data to a mirrored virtual target.
  • a storage switch determines the availability of a transfer ready resource from a physical target prior to issuing a mirrored write command to the target. In this manner, the switch can ensure that the target will be available to issue a transfer ready signal when a write command is provided to the target, thus alleviating potential deadlock situations.
  • a resource table can be used to store an indication of the availability of transfer ready resources from one or more targets.
  • the resource table can be updated as transfer ready resources are allocated to incoming commands.
  • a resource table for a physical device connected to an egress port of a storage switch is stored in memory accessible to the egress port.
  • the ingress port can send a request to the egress ports connected to the physical devices of the virtual target.
  • the egress port can determine the availability of resources from the target and issue a response to the ingress port indicating the availability.
  • the ingress port will wait until the availability of resources from each target is confirmed before issuing the write command to the egress ports, and consequently the physical devices. In this manner, the physical devices will not have transfer ready resources allocated while the switch waits on resources from the other targets. Accordingly, deadlock caused by a switch waiting for a transfer ready signal from one or more targets while one or more targets are waiting for write data frames in response to previously issued transfer ready signals can be alleviated.
  • a resource table can maintain an indication of the available transfer ready resources per port of a physical device and an indication of the available transfer ready resources per logical unit number of the physical device.
  • a circular first in/first out buffer can be used to queue information relating to write commands for mirrored virtual targets.
  • a write command (or information relating thereto) can remain in the buffer and be retried until the ingress port receiving the command receives an indication that each physical target has an available resource.
  • the amount of time between retries of queued commands is random in order to decrease the probability that two or more ports or switches will subsequently request the same resources at the same time.
  • a method of writing data to multiple target includes determining whether at least one transfer ready resource is available from at least one target, and providing a write command to the at least one target only if the at least one transfer ready resource is available from the at least one target.
  • a storage switch includes a memory adapted to maintain information indicating an availability of transfer ready resources of at least one target, and at least one processing unit in communication with the memory, wherein the at least one processing unit determines from the memory the availability of the transfer ready resources before the storage switch provides a write command to the at least one target.
  • Figure 1 is a generalized functional block diagram of a storage switch in accordance with one embodiment
  • Figures 2a-2c are generalized functional block diagrams of a storage area network illustrating an exemplary provisioning of virtual targets
  • Figure 3 is a generalized functional block diagram of a storage switch in accordance with one embodiment
  • Figure 4 is a generalized functional block diagram of a linecard used in a storage switch in accordance with one embodiment
  • Figure 5 is a is a flowchart illustrating a virtualization process in the ingress direction for command packets or frames, in accordance with one embodiment
  • Figure 6 is a flowchart illustrating a virtualization process in the egress direction for command packets or frames, in accordance with one embodiment
  • Figure 7 is a flowchart illustrating a virtualization process in the ingress direction for R2T or XFER_RDY packets or frames, in accordance with one embodiment
  • Figure 8 is a flowchart illustrating a virtualization process in the egress direction for R2T or XFER_RDY packets or frames, in accordance with one embodiment
  • Figure 9 is a flowchart illustrating a virtualization process in the ingress direction for write data packets or frames, in accordance with one embodiment
  • Figure 10 is a flowchart illustrating a virtualization process in the egress direction for write data packets or frames, in accordance with one embodiment
  • Figures l la-l lb depict a functional block diagram of a storage area network and a communication flow for an exemplary mirroring operation
  • Figures 12a- 12b depict a functional block diagram of a storage area network and a communication flow for an exemplary mirroring operation
  • Figures 13a-13d depict a functional block diagram of a storage area network and a communication flow for an exemplary mirroring operation in accordance with one embodiment
  • Figure 14 is flowchart illustrating a mirroring operation in accordance with one embodiment
  • Figures 15a-15f depict a functional block diagram of a storage area network and a communication flow for an exemplary mirroring operation in accordance with one embodiment
  • Figure 16 is a flowchart illustrating a mirroring operation in accordance with one embodiment.
  • System 100 can include a plurality of initiating devices such as servers 102. It will be appreciated that more or fewer servers can be used and that embodiments can include any suitable physical initiator in addition to or in place of servers 102. Although not shown, the servers could also be coupled to a LAN. As shown, each server 102 is connected to a storage switch 104. In other embodiments, however, each server 102 may be connected to fewer than all of the storage switches 104 present.
  • the connections formed between the servers and switches can utilize any protocol, although in one embodiment the connections are Fibre Channel or Gigabit Ethernet (carrying packets in accordance with the iSCSI protocol). Other embodiments may use the Infiniband protocol, defined by Intel Inc., or other protocols or connections.
  • one or more switches 104 are each coupled to a Metropolitan Area Network (MAN) or Wide Area Network (WAN) 108, such as the Internet.
  • MAN Metropolitan Area Network
  • WAN Wide Area Network
  • IP Internet Protocol
  • management stations 110 are connected to each storage switch 104, to each server 102, and to each storage device 106. Although management stations are illustrated as distinct computers, it is to be understood that the software to manage each type of device could collectively be on a single computer.
  • Such a storage switch 104 in addition to its switching function, can provide virtualization and storage services (e.g., mirroring). Such services can include those that would typically be provided by appliances in conventional architectures.
  • the intelligence of a storage switch in accordance with an embodiment of the invention is distributed to every switch port.
  • This distributed intelligence allows for system scalability and availability.
  • the distributed intelligence allows a switch in accordance with an embodiment to process data at "wire speed," meaning that a storage switch 104 introduces no more latency to a data packet than would be introduced by a typical network switch.
  • "wire speed" for the switch is measured by the connection to the particular port.
  • the storage switch can keep up with an OC-48 speed (2.5 bits per ns).
  • a two Kilobyte packet (with 10 bits per byte) moving at OC-48 speed can take as little as eight microseconds coming into the switch.
  • a one Kilobyte packet can take as little as four microseconds.
  • a minimum packet of 100 bytes can only elapse a mere 400 ns.
  • FIG. 1 More information on various storage area networks, including a network as illustrated in FIG. 1 can be found in U.S. Patent Application No. 10/051,396, entitled VIRTUALIZATION IN A STORAGE SYSTEM, filed January 18, 2002 and U.S. Patent Application No. 10/051,321, entitled STORAGE SWITCH FOR STORAGE AREA NETWORK, filed January 18, 2002.
  • Virtualization generally refers to the mapping of a virtual target space subscribed to by a user to a space on one or more physical storage target devices.
  • the terms “virtual” and “virtual target” come from the fact that storage space allocated per subscription can be anywhere on one or more physical storage target devices connecting to a storage switch 104.
  • the physical space can be provisioned as a “virtual target” which may include one or more "logical units” (LUs).
  • LUs logical units
  • Each virtual target consists of one or more LUs identified with one or more LU numbers (LUNs), which are frequently used in the iSCSI and FC protocols.
  • Each logical unit is generally comprised of one or more extents - a contiguous slice of storage space on a physical device.
  • a virtual target may occupy a whole storage device (one extent), a part of a single storage device (one or more extents), or parts of multiple storage devices (multiple extents).
  • the physical devices, the LUs, the number of extents, and their exact locations are immaterial and invisible to a subscriber user.
  • Storage space may come from a number of different physical devices, with each virtual target belonging to one or more "pools" in various embodiments, sometimes referred to herein as "domains.” Only users of the same domain are allowed to share the virtual targets in their domain in one embodiment. Domain-sets can also be formed that include several domains as members.
  • domain-sets can ease the management of users of multiple domains, e.g., if one company has five domains but elects to discontinue service, only one action need be taken to disable the domain-set as a whole.
  • the members of a domain-set can be members of other domains as well.
  • FIGs. 2a-2c illustrate one example of provisioning virtual targets in a storage area network.
  • the system of FIG. 2 includes three physical devices 106 ⁇ , 106 2 , and 106 3 , having a total of 6 LUs — LU1, LU2, LU3, LU4, LU5, LU6.
  • each physical device is coupled to a switch and placed in a pool accessible to two initiators X and Y, the "X-Y User Pool.”
  • the LUs are provisioned to form virtual targets VTl and VT2, where VTl includes as extents LUs 1-3 and VT2 includes as extents LUs 4-6 as depicted in FIG. 2b.
  • VTl is placed in the server X user domain and VT2 is placed in the server Y user domain. Initiator X will have access to VTl but no VT2, while initiator Y will have access to VT2 but not VTl .
  • VTl and VT2 can be created as members of the virtual target M.
  • VTl and VT2 can be placed in the switch's No Domain (a domain where the physical targets are not directly accessible to users) while M is made accessible to Y, as shown in FIG. 2c.
  • VTl and VT2 will not be independently accessible.
  • VTl is comprised of a LUs 1-3 (physical device 1060
  • VT2 is comprised of LUs 4-6 (physical devices 106 2 and 106 3 ).
  • switch 104 will route the incoming data to both VTl (physical device 1060 and NT2 (physical device 106 and/orl06 3 ), thus storing the data in at least two physical locations.
  • FIG. 3 illustrates a functional block diagram of a storage switch 104 in accordance with an embodiment of the invention. More information regarding the details of a storage switch such as storage switch 104 and its operation can be found in U.S. Patent Application No. 10/051,321, entitled STORAGE SWITCH FOR STORAGE AREA NETWORK, filed January 18, 2002.
  • the storage switch 104 includes a plurality of linecards 302, 304, and 306, a plurality of fabric cards 308, and two system control cards 310, each of which will be described in further detail below.
  • an exemplary storage switch is illustrated, it will be appreciated that numerous other implementations and configurations can be used in accordance with various embodiments.
  • Each of the two System Control Cards (SCCs) 310 connects to every line card 302, 304, 306.
  • such connections are formed by I 2 C signals, which are well known in the art, and through an Ethernet connection with the SCC.
  • the SCC controls power up and monitors individual linecards, as well as the fabric cards, with the I 2 C connections.
  • the SCC uses inter-card communication over the ethernet connections, the SCC also initiates various storage services, e.g., snapshot and replicate.
  • the SCC maintains a database 312 that tracks configuration information for the storage switch as well as all virtual targets and physical devices attached to the switch, e.g., servers and storage devices.
  • the database keeps information regarding usage, error and access data, as well as information regarding different domains and domain sets of virtual targets and users.
  • the records of the database may be referred to herein as "objects.”
  • Each initiator (e.g., a server) and target (e.g., a storage device) has a World Wide Unique Identifier (WWUI), which are known in the art.
  • WWUI World Wide Unique Identifier
  • the database is maintained in a memory device within the SCC, which in one embodiment is formed from flash memory, although other memory devices can be used in various embodiments.
  • the storage switch 104 can be reached by a management station 110 through the SCC 310 using an ethernet connection. Accordingly, the SCC also includes an additional Ethernet port for connection to a management station. An administrator at the management station can discover the addition or removal of storage devices or virtual targets, as well as query and update virtually any object stored in the SCC database 312.
  • Fabric Cards In one embodiment of switch 104, there are three fabric cards 308, although other embodiments could have more or fewer fabric cards. Each fabric card 308 is coupled to each of the linecards 302, 304, 306 in one embodiment and serves to connect all of the linecards together. In one embodiment, the fabric cards 308 can each handle maximum traffic when all linecards are populated. Such traffic loads handled by each linecard are up to 160 Gbps in one embodiment although other embodiments could handle higher or lower maximum traffic volumes. If one fabric card 308 fails, the two surviving cards still have enough bandwidth for the maximum possible switch traffic: in one embodiment, each linecard generates 20 Gbps of traffic, 10 Gbps ingress and 10 Gbps egress. However, under normal circumstances, all three fabric cards are active at the same time. From each linecard, the data traffic is sent to any one of the three fabric cards that can accommodate the data.
  • Linecards form connections to servers and to storage devices.
  • storage switch 104 supports up to sixteen linecards although other embodiments could support a different number.
  • three different types of linecards are utilized: Gigabit Ethernet (GigE) cards 302, Fibre Channel (FC) cards 304, and WAN cards 306.
  • GigE Gigabit Ethernet
  • FC Fibre Channel
  • Other embodiments may include more or fewer types of linecards.
  • the GigE cards 302 are for Ethernet connections, connecting in one embodiment to either iSCSI servers or iSCSI storage devices (or other Ethernet based devices).
  • the FC cards 304 are for Fibre Channel connections, connecting to either Fibre Channel Protocol (FCP) servers or FCP storage devices.
  • the WAN cards 306 are for connecting to a MAN or WAN.
  • FIG. 4 illustrates a functional block diagram of a generic line card 400 used in a storage switch 104 in accordance with one embodiment.
  • Line card 400 is presented for exemplary purposes only. Other line cards and designs can be used in accordance with embodiments. The illustration shows those components that are common among all types of linecards, e.g., GigE 302, FC 304, or WAN 306. In other embodiments other types of linecards can be utilized to connect to devices using other protocols, such as Infmiband.
  • Each line card 400 includes a plurality of ports 402.
  • the ports form the linecard' s connections to either servers or storage devices. Eight ports are shown in the embodiment illustrated, but more or fewer could be used in other embodiments.
  • each GigE card can support up to eight 1Gb Ethernet ports
  • each FC card can support up to either eight 1Gb FC ports or four 2Gb FC ports
  • each WAN card can support up to four OC-48 ports or two OC-192 ports.
  • the maximum possible connections are 128 ports per switch 104.
  • the ports of each linecard are full duplex in one embodiment, and connect to either a server or other client, and/or to a storage device or subsystem.
  • each port 402 has an associated memory 403. Although only one memory device is shown connected to one port, it is to be understood that each port may have its own memory device or the ports may all be coupled to a single memory device. Only one memory device is shown here coupled to one port for clarity of illustration.
  • each port is associated with a Storage Processor Unit (SPU) 401.
  • the SPU rapidly processes the data traffic allowing for wire-speed operations.
  • each SPU includes several elements: a Packet Aggregation and Classification Engine (PACE) 404, a Packet Processing Unit (PPU) 406, an SRAM 405, and a CAM 407.
  • PACE Packet Aggregation and Classification Engine
  • PPU Packet Processing Unit
  • SRAM 405 SRAM
  • CAM 407 CAM
  • Still other embodiments may use more or fewer elements or could combine elements to obtain the same functionality. For instance, some embodiments may include a PACE and a PPU in the SPU, but the SPU may share memory elements with other SPUs.
  • PACE Packet Aggregation and Classification Engine
  • PACE Packet Aggregation and Classification Engine
  • the PACE 404 aggregates two ports into a single data channel having twice the bandwidth. For instance, the PACE 404 aggregates two 1Gb ports into a single 2Gb data channel.
  • the PACE can classify each received packet into a control packet or a data packet. Control packets are sent to the CPU 414 for processing, via bridge 416. Data packets are sent to a Packet Processing Unit (PPU) 406, discussed below, with a local header added. In one embodiment the local header is sixteen bytes resulting in a data "cell" of 64 bytes (16 bytes of header and 48 bytes of payload).
  • PPU Packet Processing Unit
  • the local header is used to carry information and used internally by switch 104.
  • the local header is removed before the packet leaves the switch.
  • a "cell" can be a transport unit used locally in the switch that includes a local header and the original packet (in some embodiments, the original TCP/IP headers are also stripped from the original packet). Nonetheless, not all embodiments of the invention will create a local header or have "internal packets" (cells) that differ from external packets. Accordingly, the term "packet” as used herein can refer to either “internal” or "external” packets.
  • the classification function helps to enable a switch to perform storage virtualization and protocol translation functions at wire speed without using a store-and-forward model of conventional systems.
  • Each PACE has a dedicated path to a PPU, e.g. PPU 406 ls while all four PACEs in the illustrated embodiment share a path to the CPU 414, which in one embodiment is a 104MHz/32 (3.2 Gbps) bit data path.
  • PPU Packet Processing Unit
  • Each PPU such as PPU 406 ⁇ performs virtualization and protocol translation on-the-fly, meaning that cells are not buffered for such processing. It also implements other switch-based storage service functions, described later.
  • the PPU is capable, in one embodiment, of moving cells at OC-48 speed or 2.5 Gbps for both the ingress and egress directions, while in other embodiments it can move cells at OC-192 speeds or 10 Gbps.
  • the PPU in one embodiment includes an ingress PPU 406 n and an egress PPU 406 ⁇ e , which both run concurrently.
  • the ingress PPU 406n receives incoming data from PACE 404 ⁇ and sends data to the Traffic Manager 408; while the egress PPU 406 ⁇ e receives data from Traffic Manager 408 e and sends data to a PACE 404 ⁇ .
  • the egress PPU 406 ⁇ e receives data from Traffic Manager 408 e and sends data to a PACE 404 ⁇ .
  • all PPUs 406 will include both an ingress and an egress PPU and that only one PPU is shown in FIG. 4 with both ingress and egress PPUs for clarity of illustration.
  • a large number of storage connections can be established concurrently at each port. Nonetheless, each connection is unique to a virtual target and can be uniquely identified by a TCP Control Block Index (in the case of iSCSI connections) and a port number.
  • the CPU 414 of the linecard 400 informs a PPU 406 of an active virtual target by sending it a Virtual Target Descriptor (VTD) for the connection.
  • VTD includes all relevant information regarding the connection and virtual target that the PPU will need to properly operate on the data, e.g., perform virtualization, translation, and various storage services.
  • the VTD is derived from an object in the SCC database and usually contains a subset of information that is stored in the associated object in the SCC database.
  • Physical Target Descriptors PTDs are utilized in an embodiment of the invention. PTDs describe the actual physical devices, their
  • the PTD is derived from an object in the SCC database.
  • the PPUs such as PPU 406i are connected to an SRAM 405 1 and CAM 407 ⁇ .
  • SRAM 405i can store a VTD and PTD database.
  • VTD IDs VTD Identifiers
  • PTD IDs PTD Identifiers
  • the VTD IDs are indexed (mapped) using a TCP Control Block Index and a LUN.
  • the PTD IDs are indexed using a VTD ID.
  • the CAM 407 i contains a route table, which is updated by the CPU when routes are added or removed.
  • each PPU will be connected with its own CAM and SRAM device as illustrated, or the PPUs will all be connected to a single CAM and/or SRAM (not illustrated).
  • a task control block is established in the PPU SRAM 407 to track the status of the request.
  • ITCBs ingress task control blocks
  • ETCBs egress task control blocks
  • Traffic Manager There are two traffic managers (TMs) 408 on each linecard 400: one TM 408j for ingress traffic and one TM 408 e for egress traffic.
  • the ingress TM receives cells from all four SPUs, in the form of 64- byte data cells, in one embodiment. In such an embodiment, each data cell has 16 bytes of local header and 48 bytes of payload.
  • the header contains a FlowID that tells the TM the destination port of the cell.
  • the SPU may also attach a TM header to the cell prior to forwarding the cell to the TM. Either the TM or the SPU can also subdivide the cell into smaller cells for transmission through the fabric cards in some embodiments.
  • the ingress TM sends data cells to the fabric cards via a 128-bit 104 Mhz interface 410 in one embodiment. Other embodiments may operate at 125 Mhz or other speeds.
  • the egress TM receives the data cells from the fabric cards and delivers them to the four SPUs.
  • Both ingress and egress TMs have a large buffer 412 to queue cells for delivery.
  • Both buffers 412 for the ingress and egress TMs are 64MB, which can queue a large number of packets for internal flow control within the switch.
  • the cells are not buffered as in cached or buffered switch implementations. There is no transport level acknowledgement as in these systems.
  • the cells are only temporarily buffered to maintain flow control within the switch.
  • the cells maintain their original order and there is no level high level processing of the cells at the TM
  • the SPUs can normally send cells to the ingress TM quickly as the outgoing flow of the fabric cards is as fast as the incoming flow. Hence, the cells are moving to the egress TM quickly.
  • an egress TM may be backed up because the outgoing port is jammed or being fed by multiple ingress linecards. In such a case, a flag is set in the header of the outgoing cells to inform the egress SPU to take actions quickly.
  • the egress TM also sends a request to the ingress SPU to activate a flow control function used in providing Quality of Service for Storage access. It is worth noting that, unlike communications traffic over the Internet, for storage traffic dropping a packet or cell is unacceptable. Therefore, as soon as the amount of cells in the buffer exceeds a specified threshold, the SPU can activate its flow control function to slow down the incoming traffic to avoid buffer overflow.
  • the fabric connection 410 converts the 256-bit parallel signals of the TM (128 bits ingress and 128 bits egress, respectively), into a 16-bit serial interface (8-bit ingress and 8-bit egress) to the backplane at 160 Gbps.
  • the backplane is running at one sixteenth of the pins but sixteen times faster in speed. This conversion enables the construction of a high availability backplane at a reasonable cost without thousands of connecting pins and wires.
  • there are three fabric cards in one embodiment there are three high-speed connectors on each linecard in one embodiment, wherein the connectors each respectively connect the 8-bit signals to a respective one of the three fabric cards. Of course, other embodiments may not require three fabric connections 410.
  • CPU On every linecard there is a processor (CPU) 614, which in one embodiment is a PowerPC 750 Cxe.
  • CPU 414 connects to each PACE with a 3.2 Gb bus, via a bus controller 415 and a bridge 416.
  • CPU 414 also connects to each PPU, CAM and TM, however, in some embodiments this connection is slower at 40 Mbps.
  • Both the 3.2 Gb and 40 Mb paths allow the CPU to communicate with most devices in the linecard as well as to read and write the internal registers of every device on the linecard, download microcode, and send and receive control packets.
  • the CPU on each linecard is responsible to initialize every chip at power up and to download microcode to the SPUs and each port wherever the microcode is needed. Once the linecard is in running state, the CPU processes the control traffic. For information needed to establish a virtual target connection, the CPU requests the information from the SCC, which in turn gets the information from an appropriate object in the .SCC database.
  • each type of linecard e.g., GigE, FC, or WAN are distinct as each linecard supports one type of port in one embodiment.
  • other linecard ports could be designed to support other protocols,. such as Infiniband.
  • a gigabit Ethernet port connects to iSCSI servers and storage devices. While the GigE port carries all kinds of Ethernet traffic, the only network traffic generally to be processed by a storage switch 104 at wire speed in accordance with one embodiment of the invention is an iSCSI Packet Data Unit (PDU) inside a TCP/IP packet. Nonetheless, in other embodiments packets in accordance with other protocols (like Network File System (NFS)) carried over Ethernet connections may be received at the GigE Port and processed by the SPU and/or CPU.
  • PDU iSCSI Packet Data Unit
  • NFS Network File System
  • the GigE port receives and transmits TCP/IP segments for virtual targets or iSCSI devices.
  • TCP connection For a virtual target, both the linecard CPU 414 and the SCC 310 are involved.
  • a TCP control block is created and stored in the GigE port memory 403.
  • a VTD is also retrieved from an object of the SCC database and stored in the CPU SDRAM 405 for the purpose of authenticating the connection and understanding the configuration of the virtual target.
  • the TCP Control Block identifies a particular TCP session or iSCSI connection to which the packet belongs, and contains in one embodiment, TCP segment numbers, states, window size, and potentially other information about the connection.
  • TCP Control Block is identified by an index, referred to herein as the "TCP Control Block Index.”
  • a VTD for the connection can be created and stored in the SPU SRAM 405.
  • the CPU creates the VTD by retrieving the VTD information stored in its SDRAM and originally obtained from the SCC database.
  • a VTD ID is established in a list of VTD IDs in the SPU CAM 407 for quick reference to the VTD.
  • the VTD ID is affiliated with and indexed by the TCP Control Block Index.
  • the port When the port receives iSCSI PDUs, it serves essentially as a termination point for the connection, but then the switch initiates a new connection with the target. After receiving a packet on the ingress side, the port delivers the iSCSI PDU to the PACE with a TCP Control Block Index, identifying a specific TCP connection. For a non-TCP packet or a TCP packet not containing an iSCSI PDU, the port receives and transmits the packet without acting as a termination point for the connection. Typically, the port 402 communicates with the PACE 404 that an iSCSI packet is received or sent by using a TCP Control Block Index. When the TCP Control Block Index of a packet is -1, it identifies a non-iSCSI packet.
  • FC Port An FC port connects to servers and FC storage devices.
  • the FC port appears as a fibre channel storage subsystem (i.e., a target) to the connecting servers, meaning, it presents a large pool of virtual target devices that allow the initiators (e.g., servers) to perform a Process Login (PLOGI or PRLI), as are understood in the art, to establish a connection.
  • the FC port accepts the GID extended link services (ELSs) and returns a list of target devices available for access by that initiator (e.g., server).
  • GID extended link services ELSs
  • the port When connecting to fibre channel storage devices, the port appears as a fibre channel F-port, meaning, it accepts a Fabric Login, as is known in the art, from the storage devices and provides name service functions by accepting and processing the GID requests — in other words, the port will appear as an initiator to storage devices.
  • an FC port can connect to another existing SAN network, appearing in such instances as a target with many LUs to the other network.
  • the linecard CPU can go through both sending Fabric Logins, Process Logins, and GIDs as well as receive the same.
  • the SCC supports an application to convert FC ELS's to iSNS requests and responses.
  • the same database in the SCC keeps track of both the FC initiators (e.g., servers) and targets (e.g., storage devices) as if they were iSCSI initiators and targets.
  • FC port When establishing an FC connection, unlike for a GigE port, an FC port does not need to create TCP control blocks or their equivalent; all the necessary information is available from the FC header. But, a VTD (indexed by a D_ID which identifies the destination of a frame) will still need to be established in a manner similar to that described for the GigE port.
  • An FC port can be configured for 1Gb or 2Gb.
  • a 1Gb port two ports are connected to a single PACE as illustrated in FIG. 4; but in an embodiment where it is configured as a 2Gb port, port traffic and traffic that can be accommodated by the SPU should match to avoid congestion at the SPU.
  • the port connects to the PACE with a POS/PHY interface in one embodiment.
  • Each port can be configured separately, i.e. one PACE may have two 1 Gb ports and another PACE has a single 2 Gb port.
  • WAN Ports In embodiments that include a WAN linecard, the WAN linecard supports OC-48 and OC-192 connections in one embodiment. Accordingly, there are two types of WAN ports: OC-48 and OC-192. For OC- 48, there is one port for each SPU. There is no aggregation function in the PACE, although there still is the classification function.
  • a WAN port connects to SONET and works like a GigE port as it transmits and receives network packets such as ICMP, RIP, BPG, IP and TCP.
  • a WAN port in one embodiment supports network security with VPN and IPSec that requires additional hardware components.
  • the PPU can perform virtualization for data packets without data buffering. For each packet received, the PPU determines the type of packet (e.g., command, R2T/XFER_RDY, Write Data, Read Data, Response, Task Management/ Abort) and then performs either an ingress (where the packet enters the switch) or an egress (where the packet leaves the switch) algorithm to translate the virtual target to a physical target or vice versa.
  • the type of packet e.g., command, R2T/XFER_RDY, Write Data, Read Data, Response, Task Management/ Abort
  • the virtualization function is distributed amongst ingress and egress ports.
  • virtual descriptors are used in conjunction with a CAM, to map the request location to the access location.
  • the virtual target to which the packet is destined may be spaced over several noncontiguous, extents, may be mirrored, or both.
  • a SCSI command is sent by an iSCSI or FC initiator in an iSCSI PDU or FCP IU, respectively.
  • the PPU CAM is next checked to determine if a valid VTD ID exists, using the TCP Control Block Index and the logical unit number (LUN), in the case of an iSCSI initiator, or the S_ID (an identification of the source of the frame) and the LUN, in the case of an FC initiator, step 504.
  • the LUNs in each case are found in the respective iSCSI PDU or FCP IU.
  • a response packet is sent back to the initiator, step 506. If a valid VTD is found, then a check is made for invalid parameters, step 508. If invalid parameters exists, a response packet is sent back to the iSCSI or FC initiator, step 506.
  • a Task Index is allocated along with an Ingress Task Control Block (ITCB), step 510.
  • the Task Index points to or identifies the ITCB.
  • the ITCB stores the FlowID (obtained from the VTD), the VTD ID, command sequence number or CmdSN (from the iSCSI packet itself), as well as an initiator (originator) identification (e.g., the initiator_task_tag sent in the iSCSI PDU or the OX_ID in the FCP frame header).
  • the OX_ID is the originator (initiator) identification of the exchange.
  • the ITCB is stored in the PPU SRAM. Of course there may be many commands in progress at any given time, so the PPU may store a number of ITCBs at any particular time. Each ITCB will be referenced by its respective Task Index.
  • the VTD tracks the number of outstanding commands to a particular virtual target, so when a new ITCB is established, it increments the number of outstanding commands, step 512.
  • VTDs establish a maximum number of commands that may be outstanding to any one particular virtual target.
  • the FlowID, the VTD ID, and the Task Index are all copied into the local header, step 514.
  • the FlowID tells the traffic manager the destination linecards and ports. Later, the Task Index will be returned by the egress port to identify a particular task of a packet. Finally, the packet is sent to the traffic manager and then the routing fabric, so that it ultimately reaches an egress PPU, step 516.
  • FlowID determines the destination/egress port. If a read command crosses an extent boundary, meaning that the command specifies a starting block address in a first extent and an ending block address in a second extent, then after reading the appropriate data from the first extent, the PPU repeats the command to the second extent to read the remaining blocks.
  • the PPU duplicates the command to both extents and manages the order of the write data.
  • a read command crosses an extent boundary, there will be two read commands to two extents.
  • the second read command is sent only after completing the first to ensure the data are returned sequentially to the initiator.
  • a command PDU or IU after a command PDU or IU has passed through the switch fabric, it will arrive at an PPU, destined for an egress port, step 602.
  • the PPU attempts to identify the physical device(s) that the packet is destined for, step 604.
  • the VTD ID from the local header is used to search the PPU CAM for a PTD ID (Physical Target Descriptor Identifier).
  • the VTD ID is affiliated with and indexes a particular PTD ID associated with the particular egress PPU.
  • PTDs are stored in the PPU SRAM, like VTDs, and also contain information similar to that found in a VTD.
  • the search is unsuccessful, it is assumed that this is a command packet sent directly by the CPU and no additional processing is required by the PPU, causing the PPU to pass the packet to the proper egress port based on the FlowID in the local header. If the search is successful, the PTD ID will identify the physical target (including extent) to which the virtual target is mapped and which is in communication with the particular egress linecard currently processing the packet.
  • the PPU next allocates a Task Index together with an egress task control block (ETCB), step 606.
  • the Task Index used for egress is the same as that used for ingress.
  • the Task Index also identifies the ETCB.
  • the ETCB also stores any other control information necessary for the command, including CmdSN of an iSCSI PDU or an exchange sequence for an FCP IU.
  • the PPU uses the contents of the PTD to convert the SCSI block address from a virtual target to the block address of a physical device, step 608. Adding the block address of the virtual target to the beginning block offset of the extent can provide this conversion. For instance, if the virtual target block sought to be accessed is 1990 and the starting offset of the corresponding first extent is 3000, then the block address of the extent to be accessed is 4990.
  • the PPU generates proper iSCSI CmdSN or FCP sequence ID, step 610 and places them in the iSCSI PDU or FCP frame header.
  • the PPU also constructs the FCP frame header if necessary (in some embodiments, after the ingress PPU reads the necessary information from the FCP header, it will remove it, although other embodiments will leave it intact and merely update or change the necessary fields at this step) or for a packet being sent to an iSCSI target, the TCP Control Block Index is copied into the local header from the PTD, step 612.
  • the PPU provides any flags or other variables needed for the iSCSI or FCP headers.
  • the completed iSCSI PDU or FCP frame are then sent to the PACE, step 614, which in turn strips the local header, step 616, and passes the packet to appropriate port, step 618.
  • R2T or XFER RDY - Ingress [00109] Referring to FIG. 7, after a command has been sent to a target storage device as described above, and the command is a write command, an R2T PDU or an XFER_RDY IU will be received from a storage device when it is ready to accept write data, step 702.
  • the PPU identifies the corresponding ETCB, step 704, by using the initiator_task_tag or OX_ID inside the packet.
  • the initiator_task_tag or OX_ID of the packet is the same as the Task Index, which identifies the ETCB.
  • the packet is discarded. Otherwise, once the ETCB is identified, the PPU retrieves the Ingress Task Index (if different from the Egress Task Index) and the VTD ID from the ETCB, step 1061. The PPU also retrieves the FlowID from the PTD, which is also identified in the ETCB by the PTD ID. The FlowID indicates to the traffic manager the linecard of the original initiator (ingress) port. The FlowID, the VTD ID, and the Task Index are copied into the local header of the packet, step 1062. Finally the packet is sent to the traffic manager and the switch fabric, step 710.
  • the R2T or XFER_RDY packet emerges from the switch fabric, it is received by a PPU, step 802, on its way to be passed back to the initiator (the device that initiated the original command for the particular task).
  • the Task Index identifies the ITCB to the PPU, step 804, from which ITCB the original initiator_task_tag and the VTD ID can be obtained.
  • the R2T/XFER_RDY Desired Data Transfer Length or BURST_LEN field is stored in the ITCB, step 806.
  • the local header is updated with the FCP D_ID or the TCP Control Block Index for the TCP connection, step 808. Note that the stored S_ID from the original packet, which is stored in the ITCB, becomes the D_ID.
  • an FCP frame header is constructed or its fields are updated, step 810.
  • the destination port number is specified in the local header in place of the FlowID, step 812, and placed along with the initiator_task_tag in the SCSI PDU or, for an FC connection, the RX_ID and OX_ID are placed in the FCP frame.
  • the RXJOD field is the responder (target) identification of the exchange.
  • the PPU also places any other flags or variables that need to be placed in the PDU or FCP headers.
  • the packet is forwarded to the PACE, step 814, which identifies the outgoing port from the local header.
  • the local header is then stripped, step 816 and forwarded to the proper port for transmission, step 818.
  • the PPU In the event that the command is split over two or more extents, e.g., the command starts in one extent and ends in another, then the PPU must hold the R2T or XFER_RDY of the second extent until the data transfer is complete to the first extent, thus ensuring a sequential data transfer from the initiator. In addition, the data offset of the R2T or XFER_RDY of the second extent will need to be modified by adding the amount of data transferred to the first extent.
  • an initiator After an initiator receives an R2T or XFER_RDY packet it returns a write-data packet.
  • the ITCB to which the packet belongs must be identified, step 904.
  • the ITCB can be identified using the RX_ID or the target_task_tag, which is the same as the Task Index in some embodiments.
  • the SPU further identifies that received packets are in order. In some circumstances, however, the initiator will transfer unsolicited data: data that is sent prior to receiving an R2T or XFER_RDY.
  • the PPU must find the ITCB by a search through the outstanding tasks of a particular virtual target. But if the ITCB is not found, then the packet is discarded. If the ITCB is found, the total amount of data to be transferred is updated in the ITCB, step 906. The FlowID and Task Index are added to the local header of the packet, step 908. The packet is then forwarded to the traffic manager and ultimately to the switch fabric, step 910. [00115] Write Data Packet - Egress
  • the ETCB for the packet needs to be identified, step 1004.
  • the ETCB can be identified using the Task Index in the local header.
  • the PPU uses the information inside the ETCB to generate proper iSCSI DataSN or FCP sequence ID, step 1006, along with any other flags and variables, e.g, data offset, for the PDU or FCP frame header.
  • the local header is updated with the TCP Control Block Index or the FCP D_ID from the PTD, step 1008.
  • the port number is also added to the local header.
  • the finished iSCSI PDU or FCP frame is sent to the PACE, step 1010, which removes the local header, step 1012, and forwards the packet to the appropriate port, 1014.
  • a potential deadlock situation can occur when a storage switch performs a mirroring operation (routing data to a mirrored virtual target) to make data available from multiple physical locations.
  • a mirroring operation can include receiving a request to write data to a virtual target and routing the data from an initiator to multiple physical targets.
  • a storage switch can simultaneously or synchronously multicast data to multiple targets without buffering the data within the storage switch. In this manner, a storage switch can route data between an initiator and multiple targets without introducing any more latency into the operation than would be introduced by a typical network switch.
  • a storage switch can encounter a potential deadlock situation caused in part by the limited ability of targets to receive data from initiators.
  • targets For example, most physical targets only include a limited number of transfer ready resources. That is, most physical targets can only accept a limited number of requests or commands to write data at a given time. Accordingly, these targets typically manage their limited ability to receive data by issuing transfer ready signals to initiating devices to indicate their availability to receive data. For example, devices using a fibre channel protocol typically issue XFER_RDY frames to initiating devices in response to write commands to indicate the target's availability to receive data. Similarly, devices using the iSCSI protocol typically issue R2T frames to initiating devices to indicate availability.
  • FIGs. l la-llb depict a functional block diagram of a storage area network including a communication flow for an exemplary synchronous mirroring operation.
  • the simplified storage area network of FIGs. lla-l lb includes an initiator 102, a storage switch 104, and two physical targets 106 ⁇ and 106 2 .
  • Physical targets 106 ⁇ and 106 2 can represent individual storage devices or separate LUs of one or more storage devices.
  • storage switch 104 can multicast data frames simultaneously from physical initiators, such as initiator 102, to physical targets 106 ⁇ and 106 2 .
  • storage switch 104 waits for a XFER_RDY frame (or other suitable indication under another protocol) from each of the physical targets involved in the mirroring write operation before issuing a XFER_RDY frame to the physical initiator. After receiving XFER_RDY frames from each of the physical targets, storage switch 104 sends a XFER_RDY frame to the physical initiator, thus indicating to the initiator to begin sending data packets.
  • a write operation to a mirrored virtual target can begin with physical initiator 102 issuing a write command to storage switch 104.
  • Switch 104 can determine, from a VTD including a FLOW ID for the virtual target, the physical targets corresponding to the virtual target.
  • the storage switch After receiving the command, the storage switch will route the write command from the ingress port to each of the egress ports connected to the physical targets associated with the write command.
  • Each egress port then issues a write command to its respective physical target.
  • a processing unit associated with the port may be involved in or perform such functionality.
  • a command may be received at a port and be processed by a PPU.
  • the PPU may initiate a task relating to the command and provide various signals to other ports and PPUs.
  • Storage switch 104 will not issue a XFER_RDY frame to physical initiator 102 until it receives a XFER_RDY frame from each of the physical targets. In this manner, storage switch 104 ensures that data can be multicast to each of the physical targets without temporarily copying or buffering data received from the initiator. As illustrated in FIG. 1 lb, a XFER_RDY 1 frame is received from the first physical target and a XFER_RDY 2 frame is received from the second physical target. After receiving each of these XFER_RDY frames, storage switch 104 issues a XFER_RDY frame to physical initiator 102.
  • FIGs. 12a- 12b illustrate a situation in which two write commands to a mirrored virtual target are processed by storage switch 104. Initiator 102 ⁇ issues a write A command to storage switch 104 and initiator 102 2 issues a write B command to storage switch 104.
  • the individual write commands are received on one or more ingress ports of storage switch 104 and multicast to each of the physical targets for the virtual target. As illustrated, storage switch 104 issues write Al to physical target 106 ⁇ and write A2 to physical target 106 2 after receiving write A. After receiving a write B command for the same virtual target, storage switch 104 issues write Bl to physical target 106 ⁇ and write B2 to physical target 106 2 .
  • write Al arrives at target 1 prior to write Bl
  • write B2 arrives at target 2 prior to write A2. If it is assumed that each target can only issue one XFER_RDY frame at a time, target 1 will only return XFER_RDY Al and target 2 will only return XFER_RDY B2, as illustrated in FIG. 12b. It will be understood that reference to an ability to issue only one resource or signal is exemplary and that devices capable of issuing any number of transfer ready resources or signals can be used in accordance with various embodiments. As previously described, storage switch 104 will not issue a XFER_RDY frame to the physical initiator until it receives a XFER_RDY frame from each of the physical targets associated with the write command.
  • storage switch 104 will not return a XFER_RDY to physical initiator 102 ⁇ because it has not received XFER_RDY A2 from physical 106 2 .
  • storage switch 104 will not return a XFER_RDY B signal to physical initiator 102 2 because it will not receive a XFER_RDY Bl signal from physical target 106 ⁇ .
  • This scenario will cause both the write A and write B commands to fail. Such a scenario causes a deadlock situation within the storage switch.
  • target 106i In addition to the deadlock associated with storage switch 104, physical target 106i will be in a deadlock situation because it will have issued XFER_RDY Al, but will not receive write data from storage switch 104 or physical initiator 102 ⁇ in response to the XFER_RDY signal. Because target 106 ⁇ does not receive data in response to its issued transfer ready signal, it is effectively deadlocked and is not free to issue a transfer ready signal in response to subsequent commands. Target 2 will be in a similar deadlock situation, waiting to receive data in response to its issued transfer ready signal, XFER_RDY B2.
  • a deadlock situation can be detected by a storage switch and managed in order to maintain performance of the switch and network for a mirrored write operation.
  • Abort commands can be utilized to free resources allocated by the physical targets and to clear the state of the pending command.
  • a queue depth for the requested virtual target can be lowered to decrease the number of requests the switch will process for the virtual target and consequently, the number of requests issued to the physical targets of the requested virtual target.
  • FIGs. 13a-13d depict a functional block diagram of a storage area network including a storage switch 104 in accordance with one embodiment.
  • FIG. 14 is a flowchart for performing a synchronous mirroring operation that can include the use of a storage switch 104.
  • Operation of a synchronous mirroring operation can begin when the storage switch receives a command, step 1402, such as the write A command depicted in FIG. 13a.
  • the write command can be received at an ingress port of the switch (e.g., port 402 ⁇ a depicted in FIGs. 13a-d and FIG. 4).
  • a write A command is issued to each physical target of the virtual target, step 1404.
  • the storage switch can multicast the write command to the physical targets specified in the VTD for the mirrored target.
  • the write command is routed to the physical targets via the egress ports (e.g., 402 3a and 402 4a ) connected to the physical targets.
  • the example presented with respect to FIGs. 13a-13d includes a virtual target having two corresponding physical targets, it will be appreciated that in accordance with various embodiments, any number of physical targets can be used.
  • FIG. 13a-d shows each target and the initiator connected to an individual port of the switch, other embodiments may have one or more targets and/or initiators connected to the same port.
  • a target and initiator or multiple targets can be connected to the same port through a typical level 2 networking switch.
  • various processing described hereinafter as distributed amongst multiple ports can be performed at a single port.
  • the switch checks the status of the pending commands to determine if all the targets have returned a signal to indicate the availability of a transfer ready resource, step 1406. If each physical target returns a transfer ready signal, the switch will provide a transfer ready signal to the initiator from the ingress port, step 1416. At step 1418, the initiator will provide one or more data packets to the switch in accordance with the transfer ready signal. The data packets are then routed and multicast by the switch to each of the physical targets of the mirrored virtual target.
  • a timeout period is implemented at step 1406 to detect any actual or potential deadlock occurrences.
  • a timer is initiated at the ingress port receiving the write command.
  • PPU 406 may initiate a timer when a command is received at port 402 ⁇ a .
  • the storage switch can check the status of the write commands provided to the physical targets to determine if all the transfer ready signals have been returned within a predetermined amount of time after issuing the commands.
  • Various timeout periods may be appropriate and used in individual implementations depending upon various design considerations. For example, different physical targets and different configurations for a network can lead to different times in which a target can be expected to return a resource if the there is no deadlock.
  • a timeout period can be chosen given these considerations as well as others. In one exemplary embodiment, a timeout period of five seconds can be used, although it will be understood that periods of less or more than five seconds can be used. In the scenario depicted in FIG. 13b, a transfer ready signal is returned by target 1 but not by target 2, within the timeout period. If more than two physical targets correspond to the virtual target, the switch will determine at step 1406 if a transfer ready signal is received from each of the physical targets.
  • an abort command is sent to abort the pending write request at each physical target, step 1408.
  • an abort command is first issued from the ingress port (e.g., 402 la ) to the egress port(s) (e.g., 402 3a and 402 4a ) connected to the physical targets of the virtual target, as illustrated in FIG. 13 c.
  • a PPU associated with the ingress port can provide the abort command to the PPUs of the egress ports connected with the physical targets.
  • the status of the write command can be updated, such as by updating the status of an ETCB allocated for the pending write request at each egress port.
  • the status can be updated to indicate that the command has been aborted.
  • the physical targets After receiving an abort command, the physical targets will clear the request and free any allocated transfer ready resources.
  • the physical targets will then return responses confirming acceptance of the abort command to the egress ports, as illustrated in FIG. 13d.
  • the egress ports receive the responses and clear the state of the command at the port, step 1410.
  • PPU 406 3 of egress port 402 3a can free an ETCB allocated and stored in SRAM 405 3 .
  • the egress ports each then return a response to the ingress port where the state of the ITCB for the command is updated so that the write command will be retried, step 1412.
  • the queue depth for the requested virtual target is lowered, step 1414.
  • the queue depth is the maximum number of commands or maximum count of requests the storage switch (or a port of the storage switch) will process for a virtual target.
  • the queue depth is lowered to a value of one at step 1408, such that the switch only processes one request for the virtual target.
  • the queue depth can be lowered to values other than one. For example, if the number of transfer ready resources each of the targets can issue is known, the queue depth can be lowered to the lowest maximum number available from a target. Any number of values can be used in accordance with various embodiments according to the desired characteristics of a particular implementation.
  • various queue depths can be used in accordance with embodiments to manage the requests from one or more initiators.
  • a mirrored virtual logic unit VLU
  • VLU mirrored virtual logic unit
  • the queue depth for that NLU can be lowered to reduce the number of commands the switch will process for the NLU from that server. If multiple servers are connected at a single ingress port or through multiple ports at a single processing unit in a clustered configuration, for example, the queue depth can be lowered to reduce the number of commands the switch will process for the NLU from any of the servers connected at that port.
  • a queue depth can be established at the switch level to reduce the number of commands the switch will process at all ports for a given NLU.
  • the same virtual target may be accessible to multiple initiators connected at multiple ports. Multiple instances of the virtual target may be provisioned at each ingress port through which an initiator accesses the virtual target.
  • a queue depth for the number of commands the switch will process for all instances of the target can be used to limit the total number of requests the switch will process for the target.
  • the write Al and write A2 commands can be re-issued to the egress ports which forward the commands to the physical targets, as illustrated in FIG. 13 a.
  • the write commands pending before a deadlock situation is detected are re-issued without checking to determine if the queue depth will be exceeded. The queue depth will only be checked for newly received commands, thus allowing the pending requests to be more quickly executed.
  • Various techniques can be used in accordance with embodiments to process new requests received for the mirrored virtual target that are above the maximum command count (queue depth).
  • the storage switch simply returns a busy or task set full status to the initiating device. The initiator can then re-send the write request and the switch will again check to determine if the maximum command count is met.
  • the storage switch can handle the new requests internally to avoid sending failure responses to the initiator.
  • the new requests are maintained within a loop and retried. As new requests are received, the command count is checked. If the count will be exceeded by the addition of the new request, the request can remain in a process loop.
  • the request can be routed from the ingress port through a traffic manager into the switch fabric.
  • the request can then be routed back to the ingress port where the command will be reprocessed.
  • the queue depth will be checked after each loop through the switch fabric and back to the ingress port until the maximum command count is not exceeded.
  • incoming commands can be maintained in a queue (e.g., within SRAM 405 of the ingress port), and retried in the order in which they were received. When the number of commands being processed drops below the queue depth, the command at the head of the queue is dequeued and the write command routed to the physical devices.
  • the queue depth for a virtual target is gradually increased after being lowered to increase the performance of a switch following deadlock detection.
  • a timer can be started when the deadlock is detected (e.g., when a target fails to return a XFER_RDY within a timeout period). If no subsequent deadlocks are detected within a certain time period, the queue depth is increased.
  • the queue depth can continue to be increased at prescribed intervals. In one embodiment, for example, an initial time period of 15 minutes is established. If no deadlocks are detected for a 15 minute period following deadlock detection, the queue depth is increased by one. After another minute, if no deadlocks are detected, the queue depth is again increased by one (and so on).
  • a maximum command count to which the queue depth will be increased can be established in one embodiment. In one embodiment, the maximum command count can be established at or near a value used when a deadlock was detected.
  • a physical target's ability to provide transfer ready signals is effectively managed to avoid deadlock situations such as that depicted in FIGS. 12a- 12b.
  • a physical target's ability to return a transfer ready signal is ensured prior to issuing a write command to the target.
  • a storage switch in accordance with one embodiment can manage a physical target's ability to issue XFER_RDY frames or another suitable signal in order to only issue write commands to physical targets when the target's ability to respond with a XFER_RD Y frame is insured. In this manner, deadlock situations can be avoided or alleviated altogether.
  • a storage switch can provision or maintain an indication of a physical target's ability to issue transfer ready signals.
  • the storage switch can maintain a value indicating the available number of XFER_RDY or R2T frames a physical target can issue.
  • the management of transfer ready resources to avoid deadlock can be used in conjunction with techniques to detect and alleviate deadlock as described with respect to FIGs. 13 and 14. In other embodiments, a single technique can be implemented to either detect and alleviate deadlock or to avoid deadlock.
  • FIGs. 15a-15f depict a functional block diagram of a SAN including a storage switch 104 in accordance with one embodiment.
  • Storage switch 104 is implemented in accordance with an embodiment to effectively manage transfer ready resources of physical targets such as target 106 ⁇ and 106 to avoid deadlock situations.
  • a communication flow depicted in FIGs. 15a-15f illustrates an exemplary operation of storage switch 104 in accordance with one embodiment.
  • FIGs. 15a-15f depict a network including two targets corresponding to a virtual target, it will be appreciated that embodiments can be implemented using any number of physical targets corresponding to a virtual target.
  • a mirrored virtual target can include three, four, or more physical targets.
  • 15a-f shows each target and the initiator connected to an individual port of the switch, other embodiments may have one or more targets and/or initiators connected to the same port. In such embodiments, various processing described hereinafter as distributed amongst multiple ports can be performed at a single port.
  • Physical initiator 102 first issues a write A command to storage switch 104 (FIG. 15a).
  • the write A command can be received on an ingress port 402 la of storage switch 104 (see FIG. 4).
  • storage switch 104 issues request signals Al and A2 to the egress ports connected to the targets associated with the virtual target of the write A command (e.g., egress ports 402 3a and 402 4a ).
  • Each egress port receiving a request signal checks the transfer ready resources associated with the respective physical target connected to the port to determine if a XFER_RDY frame, for example, is available.
  • PPU 402 3a can check a resource table stored in SRAM 405 3 to determine the availability of a XFER_RDY frame from a target connected to egress port 402 3a .
  • a value indicating the availability of a XFER_RDY frame from a physical target coupled with an egress port can be maintained in a memory associated with the egress port.
  • a resource table indicating the availability of transfer ready signals from physical target 106 ls connected to egress port 402 3a can be maintained in SRAM 405 3
  • a resource table indicating the availability of transfer ready resources from physical target 106 2 , connected to egress port 402 a can be maintained in
  • a memory associated with a particular port is used to maintain a resource table for physical devices connected to that port.
  • a resource table for devices connected to port 402 3a may be maintained in SRAM 405 3 while a resource table for devices connected to port 402 4a may be maintained in SRAM 405 4 .
  • one or more resource tables for one or more physical devices connected to a switch can be maintained in a single memory accessible to each port of the switch.
  • the egress port via an associated packet processing unit for example, can decrement the value from the resource table and send a success response back to the ingress port issuing the request command.
  • a success command can be issued from port 402 3 , via storage processing unit 401 3 , to storage processing unit 401 1 to indicate availability of a XFER_RDY frame from physical target 106 1 .
  • success responses are issued by egress ports 402 3a and 402 a to ingress port 402 ⁇ a .
  • each egress port connected to a physical target of the virtual target will return a success (or failure) response to the ingress port.
  • each of the egress ports was able to confirm the availability of a transfer ready resource from their respective physical target 106 ⁇ or 106 2 .
  • ingress port 402 2a multicasts (via traffic managers and the switch fabric, for example) write commands (write Al and write A2) to each of the egress ports as illustrated in FIG. 15c.
  • the egress ports then issue the write commands to the physical targets.
  • each of the physical targets will return a XFER_RDY frame to the egress ports, as illustrated in FIG. 15d.
  • the egress ports will return the XFER_RDY signals to ingress port 402 ⁇ a .
  • a XFER_RDY frame is returned to the physical initiator.
  • the physical initiator can provide one or more data frames to storage switch 104.
  • the XFER_RDY signal specifies the maximum number of packets the initiator should issue, the number being the lowest number returned by a physical target.
  • Storage switch 104 can then multicast the data to physical targets 106 ⁇ and 106 , through egress ports 402 3a and 402 a , without buffering the data in the storage switch.
  • FIG. 15e illustrates a scenario where a transfer ready resource is not available from a physical target.
  • Egress port 402 3a is able to confirm that a XFER_RDY frame is available from target 1, such as by checking a resource table stored in SRAM 405 3 .
  • Egress port 402 4a is unable to confirm the availability of a XFER_RDY frame from physical target 106 2 . Accordingly, egress port 402 3a returns a success response Al to ingress port 402 ⁇ a , while egress port 402 4a returns a failure response A2 to ingress port 402 la .
  • FIG. 15f illustrates ingress port 402 2a issuing an abort Al command to egress port 402 3a .
  • egress port 402 3a can increment the transfer ready resource value associated with physical target 106 1 to indicate the availability of the previously allocated resource. In this manner, egress port 402 a can determine that physical target 106 ⁇ is available to receive a further command in response to a subsequent request and issue a XFER_RDY frame.
  • a resource table is established that indicates the number of transfer ready resources a target has available.
  • the total number of transfer ready resources a target can issue can be determined from device specifications in one embodiment and provided to storage switch 104 through a management station.
  • the total number can be determined dynamically during a discovery process. For example, during a discovery process with no outstanding commands pending at a target, a switch can dynamically determine the total number of resources a target can issue. The. switch can issue a command to the target and determine if a fransfer ready signal is returned.
  • the switch Without responding to the target to release the resource, the switch can issue another command and determine if a transfer ready signal is returned.
  • the switch can determine the total number of requests a target can issue by issuing commands until no resource is returned. This total number of resources can be provisioned to the resource table.
  • a default value of 1 is used for a target.
  • reliability of the determination of the availability of a resource from a target can be guaranteed without actually knowing the maximum number of resources the target can issue.
  • all targets can issue one transfer ready signal.
  • the value can be set to 0, for example, to indicate that no transfer ready resources are available from the target.
  • the number of transfer ready signals a target can issue per LUN is provisioned in addition to or in place of the number of signals the target can issue per port.
  • Figure 2 depicts a physical device 107 ⁇ having three logical units: LUl, LU2, and LU3.
  • An entry in a table for this target may indicate that the physical device can issue 3 transfer ready signals per port and 2 transfer ready signals per LUN.
  • an egress port can determine if a target can issue the needed transfer ready signals at the port and/or LUN level.
  • a write command to a virtual target may include writing data to LUl of target 107 ⁇ .
  • the egress port connected to device 107 1 may determine that one resource is available for the port of the target but that no resources are available for LUl. Accordingly, the egress port can return a failure response to the requesting ingress port.
  • a circular first in/first out (FIFO) buffer can be used to maintain information relating to write commands to mirrored virtual targets.
  • the FIFO is a circular software FIFO maintained in memory for an ingress port (e.g., SRAM 405 1 for ingress port 402 i a ).
  • an ingress port e.g., SRAM 405 1 for ingress port 402 i a
  • information relating to the write command can be enqueued into the circular FIFO for processing.
  • a . , . ,-
  • FIFO is established for each ingress port (or for each processing unit in embodiments where a single processing unit is dedicated to more than one port as depicted in FIG. 4). In other embodiments, a FIFO can be used for multiple ports or for an entire switch.
  • the information queued in the write FIFO buffer is a pointer to an ingress task control block (ITCB) for an incoming write command.
  • ITCB ingress task control block
  • an ITCB can be allocated and placed into memory accessible to the ingress port.
  • the ITCB can specify such information as the FlowID, VTD ID, CmdSN, and
  • the FIFO can reference the write command by its ITCB in order to queue, track, and execute the command.
  • the FIFO can directly include such information as a task index, flow ID (multicast flow ID), mirroring information (location of targets), target status (returned success or returned failure), and the
  • request messages can be multicast
  • the ingress port can maintain the write command in the FIFO and continue to process other incoming commands. After a random amount of time, such as between 0 milliseconds and 1 millisecond, the ingress port can check the head of the FIFO and retry the requests associated with the command at the head entry. If the ingress port receives success responses from each of the egress ports, the write command is issued to each of the egress ports and dequeued from the FIFO. The egress ports will transfer the write commands to the physical targets.
  • the write command will be maintained in the FIFO and retried after another random amount of time.
  • the amount of time is the same between retries. In another embodiment, the amount of time is random and changes between retries.
  • the time period between accesses to the head of the FIFO can be varied, or random, to decrease the probability that event(s) causing multiple and simultaneous (or near simultaneous) requests of transfer ready resources from the same targets will reoccur.
  • a FIFO may be established for each ingress port of a switch and write commands received at each port individually processed. Additionally, multiple switches may be connected to the same physical targets. Because multiple switches and/or ingress ports may request the same transfer ready resources of targets at a single time, a random amount of time can be used between accesses to the FIFO head for a particular ingress port to decrease the probability that the multiple ports and/or switches will again simultaneously request the same resources.
  • ingress port 402 ⁇ a and 402 2a may simultaneously request the only transfer ready resource of target 106 ⁇ and the only transfer ready resource of target 106 2 .
  • Ingress port 402 ⁇ a may receive a success from the egress port connected to target 106 ⁇ and a failure from the port of target 106 2
  • ingress port 402 2a may receive a success from the port of target 106 2 and a failure from the port of target 106 If each ingress port subsequently retries its request at the same time, they will again each receive one success and one failure response.
  • a random amount of time between retries of the FIFO head for an ingress port can be used to avoid such a reoccurring situation.
  • a timer is started after a command is received and queued into the FIFO at the ingress port. If an entry into the FIFO is not dequeued by the time the timer expires, the entry is marked retired. If a head entry is retired and the FIFO is checked after the random interval, the check will skip the retired entry and move to the next entry. The FIFO will continue to be checked until a non-retired entry is found. After finding a non-retired entry, request messages are sent to the appropriate egress ports associated with the command. If success responses are received at the ingress port in response to each request, the command is immediately dequeued from the FIFO even though it is not at the FIFO head.
  • the entry will then be marked retired. The next time this entry appears at the FIFO head, the entry can be skipped. After the head of the FIFO moves beyond the retired entry, a newly received command can be queued in place of the retired entry.
  • the command can be rejected by the storage switch.
  • the storage switch can return a busy status or other appropriate command to the physical initiator.
  • FIG. 16 is a flow chart for performing a synchronous mirroring operation (writing to a mirrored virtual target) in accordance with one embodiment.
  • a write command is received at an ingress port of the storage switch.
  • the storage switch queues information relating to the write command in a first in/first out (FIFO) buffer at step 1604.
  • the information e.g., a pointer to an ITCB
  • the ingress port receiving the write command from the initiator issues request messages to each of the egress ports connected with the physical targets associated with the write command.
  • write commands for a virtual target can be associated with any number of physical targets as previously described.
  • each of the egress ports receiving a request message will check to determine whether the physical target connected with the egress port has an available transfer ready resource (e.g., XFER_RDY or R2T) available, such as by checking a resource table associated with the physical target to determine if the resource is available.
  • the table as previously described, may contain a value indicating whether a XFER_RDY signal can be issued by the physical target.
  • a determination is made by the egress port as to whether a XFER_RDY signal is available. If a resource is available, the resource value maintained in the table is decremented at step 1610. After decrementing the resource value, a success response is returned to the ingress port at step 1612.
  • steps 1608 through 1614 are individually performed by each of the egress ports or processing units receiving the request message from an ingress port.
  • the ingress port determines whether success responses were received from each of the egress ports to which a request was sent. If a success response was received from each of the egress ports, the write command is dequeued from the circular FIFO at step 1618, and multicast to each of the egress ports.
  • each of the egress ports receiving the write command will issue a write command to the respective physical target to which the port is connected and receive a XFER_RD Y frame from the physical target indicating its availability to receive data.
  • a XFER_RDY frame is issued to the physical initiator, prompting the transfer of data packets through the switch to the targets.
  • the data packets are multicast to the physical targets from the initiator without buffering the data in the switch.
  • responses will be received from the targets at step 1624 indicating transfer completion.
  • the egress ports will increment the resource value to indicate the availability of a transfer ready resource from the respective target.
  • the storage switch determines whether additional write commands are awaiting execution. If there are additional write commands, the flowchart will proceed to step 1636 to access the write command at the head of the FIFO.
  • step 1616 If at step 1616 the ingress port did not receive success responses from each of the egress ports, abort commands are sent to each of the egress ports that returned a success response at step 1626. The abort commands are sent to ensure that the transfer ready resources of the physical targets are made available for further commands as previously described.
  • egress port(s) receiving an abort command will increment a resource value stored in an associated table to indicate availability of a transfer ready resource from the physical target.
  • the storage switch will delay for a random period of time x (e.g., 0 to 1 ms) before accessing the write command at the head of the FIFO buffer at step 1634.
  • an error recovery scheme is provided by the storage switch to prevent mismanagement of transfer ready resources due to the loss of messages within the switch.
  • the storage switch After the storage switch receives and queues a command, it will send request messages to the egress ports. These request messages may be lost during transfer between the egress and ingress ports. If each of the messages are lost, no transfer ready resources will be allocated for the request at any of the egress ports. The command will receive no responses from the egress ports and will remain in the FIFO.
  • a timer can be started when the command is first enqued at the ingress port. The command will be retired from the FIFO at the expiration of the timer. This command will be skipped if it appears at the FIFO head after being retired. If, however, some messages are lost and some are not, the transfer ready resources will be allocated at the egress ports receiving the request messages causing deadlock at the egress port.
  • a request message may be received at an egress port and a transfer ready resource allocated in response thereto. If a request message is lost on the way to an egress port, the ingress port will not receive responses from every egress port and will wait until the FIFO entry times out and the associated command is retired. An egress port receiving a request and issuing a success response will wait for a command in response to issuance of the success response. Because the ingress port has dropped the command and the egress port is waiting for the command, the ingress and egress ports will have essentially lost communication. Since the transfer ready resource of the physical target was allocated at an egress port, other request messages for the same resource will fail and receive failure responses from the egress port due to allocation of the transfer ready resource to the other task.
  • Using additional timers at the egress port(s) in one embodiment can prevent such a resource depletion situation.
  • the egress port When the egress port receives a request message, it can start a task associated with the message and a timer for the associated task. After issuing a success response to the ingress port, the task can be marked, for example, "resource allocated”. If a failure response is returned and a resource not allocated, the task can be marked, for example, "resource not allocated”.
  • the task timer expires, the task will time out at the egress port, prompting the release of the transfer ready resource if it is marked resource allocated. In this manner, new request messages received at the egress port for the same resource, will be able to acquire the resource.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

Dans ses divers modes de réalisation, la présente invention se rapporte à des systèmes et à des procédés qui permettent de gérer des ressources prêtes au transfert d'une ou plusieurs cibles physiques, afin d'éviter tout interblocage d'un commutateur de stockage ou d'un réseau de stockage lors d'une tentative d'écriture de données sur une cible virtuelle en miroir. Lors de l'écriture de données sur une cible virtuelle en miroir, un commutateur de stockage achemine de manière simultanée ou synchrone des données depuis un appelant vers de multiples emplacements physiques, tels que de multiples cibles physiques. Un commutateur ou un réseau peut être victime d'interblocage lorsqu'il attend la réception d'une ressource prête au transfert de chacune des cibles intervenant dans l'opération. Dans un mode de réalisation, un commutateur de stockage détermine la disponibilité d'une ressource prête au transfert à partir d'une cible physique avant d'émettre une commande d'écriture vers la cible. Ainsi, le commutateur peut s'assurer que la cible sera en mesure d'émettre un signal d'état prêt au transfert lors de l'émission d'une commande d'écriture, ce qui résout les potentielles situations d'interblocage. Dans un mode de réalisation, une table de ressources peut être utilisée pour stocker une indication de la disponibilité de ressources prêtes au transfert à partir d'une ou plusieurs cibles. La table de ressources peut être mise à jour à mesure que les ressources prêtes au transfert sont attribuées à des commandes entrantes. Dans un mode de réalisation, une première mémoire premier entré/premier sorti circulaire peut servir à mettre en file d'attente des données liées à des commandes d'écriture pour des cibles virtuelles en miroir.
PCT/US2005/014307 2004-04-28 2005-04-26 Gestion proactive de ressources pretes au transfert dans des reseaux de stockage WO2005104727A2 (fr)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US10/833,457 US7484058B2 (en) 2004-04-28 2004-04-28 Reactive deadlock management in storage area networks
US10/833,457 2004-04-28
US10/833,438 2004-04-28
US10/833,438 US20050262309A1 (en) 2004-04-28 2004-04-28 Proactive transfer ready resource management in storage area networks

Publications (2)

Publication Number Publication Date
WO2005104727A2 true WO2005104727A2 (fr) 2005-11-10
WO2005104727A3 WO2005104727A3 (fr) 2009-05-28

Family

ID=35242147

Family Applications (2)

Application Number Title Priority Date Filing Date
PCT/US2005/014335 WO2005104731A2 (fr) 2004-04-28 2005-04-26 Gestion reactive d'interblocage dans des reseaux de stockage
PCT/US2005/014307 WO2005104727A2 (fr) 2004-04-28 2005-04-26 Gestion proactive de ressources pretes au transfert dans des reseaux de stockage

Family Applications Before (1)

Application Number Title Priority Date Filing Date
PCT/US2005/014335 WO2005104731A2 (fr) 2004-04-28 2005-04-26 Gestion reactive d'interblocage dans des reseaux de stockage

Country Status (1)

Country Link
WO (2) WO2005104731A2 (fr)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6341315B1 (en) * 1999-02-26 2002-01-22 Crossroads Systems, Inc. Streaming method and system for fiber channel network devices
US20030079018A1 (en) * 2001-09-28 2003-04-24 Lolayekar Santosh C. Load balancing in a storage network

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE69507360T2 (de) * 1994-04-06 1999-06-17 Advanced Micro Devices, Inc., Sunnyvale, Calif. Parallelschlussschnittstellenschaltkreise in Rechnersystemen
US7013336B1 (en) * 1999-03-31 2006-03-14 International Business Machines Corporation Method and structure for efficiently retrieving status for SCSI accessed fault-tolerant enclosure (SAF-TE) systems

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6341315B1 (en) * 1999-02-26 2002-01-22 Crossroads Systems, Inc. Streaming method and system for fiber channel network devices
US20030079018A1 (en) * 2001-09-28 2003-04-24 Lolayekar Santosh C. Load balancing in a storage network

Also Published As

Publication number Publication date
WO2005104731A2 (fr) 2005-11-10
WO2005104727A3 (fr) 2009-05-28
WO2005104731A3 (fr) 2007-05-24

Similar Documents

Publication Publication Date Title
US7484058B2 (en) Reactive deadlock management in storage area networks
US8171170B2 (en) Storage switch task processing synchronization
US7529781B2 (en) Online initial mirror synchronization and mirror synchronization verification in storage area networks
US7617365B2 (en) Systems and methods to avoid deadlock and guarantee mirror consistency during online mirror synchronization and verification
US7516214B2 (en) Rules engine for managing virtual logical units in a storage network
US7773521B2 (en) Storage switch traffic bandwidth control
US7373472B2 (en) Storage switch asynchronous replication
WO2006026708A2 (fr) Solutions de stockage multi-trajet, multi-chassis dans des reseaux de zone de stockage
US20050262309A1 (en) Proactive transfer ready resource management in storage area networks
US7185062B2 (en) Switch-based storage services
US9933946B2 (en) Fibre channel storage array methods for port management
US20030093541A1 (en) Protocol translation in a storage system
US20160217049A1 (en) Fibre Channel Failover Based on Fabric Connectivity
US7864758B1 (en) Virtualization in a storage system
JP2005505814A (ja) 記憶ネットワーク中の負荷平衡
US7818475B2 (en) Storage switch mirrored write sequence count management
US7707304B1 (en) Storage switch for storage area network
WO2006026577A2 (fr) Systemes et procedes d'attribution de taches aux temporisateurs derives de resolutions variees dans des systemes temps reel pour maximiser l'utilisation des temporisateurs
WO2005104727A2 (fr) Gestion proactive de ressources pretes au transfert dans des reseaux de stockage

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A2

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KM KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SM SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A2

Designated state(s): GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LT LU MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

NENP Non-entry into the national phase

Ref country code: DE

WWW Wipo information: withdrawn in national office

Country of ref document: DE

122 Ep: pct application non-entry in european phase