# Patent

## Title
Apparatus and methods for handling network file operations over a fibre channel network

## Abstract

Disclosed are methods and apparatus for facilitating transmission of file access type messages over a Fiber Channel (FC) network. In one embodiment, at a file interposed access protocol layer of a file access client, a file access type operation is received from a file access type layer at the client device. The interposed layer may be interposed between an upper file access layer and an FC layer. The file access type operation specifies a request pertaining to file access. At the interposed file access protocol layer of the client, the file access type operation is modified into one or more sequence of operations so that the operations can be transmitted over an FC network. A sequence of operations are transmitted to an file access server over the FC network.

## Background
CROSS-REFERENCE TO RELATED APPLICATIONS
The present application is a continuation of U.S. patent application Ser. No. 12/641,909, filed on Dec. 18, 2009 and published as U.S. Patent Application Publication No. 2011/0153780 on Jun. 23, 2011, the entire content of which is herein incorporated by reference.


TECHNICAL FIELD
The present disclosure is related to techniques and mechanisms for managing remote storage in a computer network.
BACKGROUND
In recent years, the capacity of storage devices has significantly increased as the demand for storage has also increased. Although various types of storage systems, such as storage area network (SAN) and network attached storage (NAS) are available, improved systems and methods for storing and managing data would be beneficial so as to enhance the performance capabilities of such systems and methods.



BRIEF DESCRIPTION OF THE DRAWINGS
In order to describe the manner in which the above-recited and other advantages and features of the disclosure can be obtained, a more particular description of the principles briefly described above will be rendered by reference to specific embodiments thereof which are illustrated in the appended drawings. Understanding that these drawings depict only exemplary embodiments of the disclosure and are not therefore to be considered to be limiting of its scope, the principles herein are described and explained with additional specificity and detail through the use of the accompanying drawings in which:
FIG. 1A is a diagrammatic representation of a network segment for handling requests within a storage area network (SAN);
FIG. 1B is a diagrammatic representation of a network segment for handling requests within a network attached storage (NAS) system;
FIG. 1C is a diagrammatic representation of a network segment for handling network file (NF) operations over both a Fiber Channel (FC) and IP network in accordance with one embodiment of the present disclosure;
FIG. 2 is a diagrammatic representation of a system with a plurality of communication layers for handling NF operations and replies over a Fibre Channel (FC) network in accordance with a specific implementation of the present disclosure;
FIG. 3 is a flowchart illustrating a procedure for handling an NF operation (except read or write) over a Fibre Channel network in accordance with one embodiment of the present disclosure.
FIG. 4 is a flowchart illustrating a procedure for handling an NF write operation over a Fibre Channel network in accordance with a specific implementation of the present disclosure;
FIG. 5 is a flowchart illustrating a procedure for handling an NF read operation over a Fibre Channel network in accordance with one embodiment of the present disclosure;
FIG. 6 includes a diagrammatic representation of a FC-RPC type message in accordance one example implementation of the present disclosure; and
FIG. 7 illustrates an example switch suitable for implementing embodiments of the present disclosure.



DESCRIPTION OF EXAMPLE EMBODIMENTS
Reference will now be made in detail to specific embodiments of this disclosure. Examples of these embodiments are illustrated in the accompanying drawings. While this disclosure will be described in conjunction with these specific embodiments, it will be understood that they are not intended to limit the disclosure to one embodiment. On the contrary, they are intended to cover alternatives, modifications, and equivalents as may be included within the spirit and scope of this disclosure as defined by the appended claims. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure. The present disclosure may be practiced without some or all of these specific details. In other instances, well known process operations have not been described in detail in order not to unnecessarily obscure the present disclosure.
FIG. 1A is a diagrammatic representation of a network segment 100 for handling requests within a storage area network (SAN). In a SAN system, an iSCSI (Internet Small Computer System Interface) configured host 102a or an FC (Fibre Channel) configured host 102b, by way of examples, may access data blocks on an iSCSI storage device 106a or an FC storage device 106b, respectively, via an IP or FC network 104. In this type of system, a host generally accesses a storage target via a switch (not shown). In a SAN network, SCSI targets, such as storage disks or physical logic units (PLUNs), are directly accessible by SCSI initiators (e.g., hosts). Similarly, even when VLUNs (virtual logical units) are implemented, the VLUNs are visible and accessible to the SCSI initiators. Thus, each initiator will typically identify those PLUNs or VLUNs that are available to it. More specifically, the initiator typically determines which SCSI target ports are available to it. The initiator may then ask each of those SCSI target ports which PLUNs or VLUNs are available via those SCSI target ports. In sum, data is accessed via “data blocks” in a SAN system.
Since protocols for SAN merely allow data to be moved in “blocks”, SAN is associated with poor data management capabilities, as these “blocks” have no semantic representation to the content of the data stored. Even “intelligent services” that are implemented for SAN, such as Snapshots, Replication, Migration, etc., are limited as these services still understand very little about user data, e.g., the semantics of data. Even if a storage device were to store data in sophisticated ways such as file system or a database, the storage would still be exported in the form of blocks. As a result, the hosts may need to add their own volume managers, file systems, etc., in order to be able to store user data.
Network attached storage or NAS allows data to be accessed as file systems or hierarchical namespaces. FIG. 1B is a diagrammatic representation of a network segment 150 for handling requests within a network attached storage (NAS) system. In a NAS system, a NFS (network file system) configured host 152a or a CIFS (Common Internet File System) configured host 152b, by way of examples, may access data on an NFS Server 156a or a CIFS server 156b, respectively, via an IP network 154. In general, an NFS type configuration may implement one or more of the following protocols: NFS (e.g., NFS V3, NFS V4), NLM (Network Lock Manager, NFS-ACL (NFS access control list>>) over RPC (Remote Procedure Call) and XDR (External Data Representation) transport. Similarly, network file access over CIFS may use either UDP or TCP transport protocol.
Although a NAS system can present data in a high level format (e.g., file systems), NAS systems tend to sacrifice performance to do so. For example, upper layer transport protocols, such as TCP or UDP, which are typically utilized to transmit data over an IP network 154 in the NAS system 150, can cause different protocol layers to make copies of the incoming or outgoing data in the form of buffering (e.g., the mode of data transfer can be “unsolicited” at lower layers). One approach includes collapsing all the layers to an offloaded NIC adapter. In an enterprise or datacenter environment, the number of TCP connections can be significant (e.g., numbering in the 10,000's) and is likely to further increase as the capacity and bandwidth of networks expand, the number and size of buffers in the offloaded NIC can also be significant thus making it either impractical or costly.
Certain embodiments of the present disclosure allow NF operations to be transported over an FC network, as well as an IP network, while minimizing the number of data copies that are made at each receiving or sending device. An NF operation generally specifies a request pertaining to file access (e.g., write operation, read operation, access operation, lookup operation, etc.). An NF operation can be implemented in any suitable file access protocol, such as RPC or CIFS. In certain embodiments, files can be accessed over a SAN. Certain embodiments provide access to files whether such access is from an IP network, Fibre Channel, or Data Center Ethernet (DCE). Additionally, there will be no need for a “SAN or NAS” boundary.
FIG. 1C is a diagrammatic representation of a network segment 170 for handling network file (NF) operations over both a Fiber Channel (FC) and IP network in accordance with one embodiment of the present disclosure. As shown, an NFS (network file system) configured host 172a or a CIFS (Common Internet File System) configured host 172b, by way of examples, may access data on an NFS server 176a or a CIFS server 176b, respectively, via an FC Network and IP network 154.
In one embodiment, a newly defined interposed file access protocol allows file access in SAN. The same file can also be shared over IP networking using traditional file access protocols, such as NFS and FCP or CIFS, in NAS. In a specific implementation, a FC-RPC or FC-CIFS layer can be configured between an upper network file access protocol layers (e.g., RPC or CIFS) and an FC layer of a particular device. FIG. 2 is a diagrammatic representation of a system with a plurality of communication layers for handling NF network file operations and replies over a Fibre Channel (FC) network in accordance with a specific implementation of the present disclosure. As shown, upper network file layers may include an NFS layer 202 over an RPC layer 203 and/or may include a CIFS layer 203. The NFS layer 202 may utilize any suitable NFS type protocols, such as NFS V3, NFS V 4, NLM (Network Loadable Module), or NFS ACL (access control list) protocol. The network file layers may also include a XDR (eXternal Data Representation) layer (not shown). The network file layers may utilize other or additional network file access protocols.
An FC-RPC layer 208 may be configured for translating network file operations sent from and to RPC layer 204 into one or more operations that are sent over a FC network via an FC layer, such as FC-2 layer 210. Likewise, FC-CIFS 209 may be configured for translating network file operations sent from and to CIFS layer 203 into one or more operations that are sent over a FC network via an FC layer. In certain embodiments, the FC-RPC layer 208 facilitates the running of native NFS and RPC over native FC, while the FC-CIFS 209 layer facilitates the running of native CIFS over native FC.
Other transport layers, such as TCP (Transmission Control Protocol) layer 206 or RDMA (Remote Direct Memory Access) layer 212 may also be used, independently of the layers 208 and 209, to communicate over any suitable type of network, such as an IP network.
In a specific implementation, the interposed file access protocol layers (FC-RPC or FC-CIFS) are new upper layer protocols that can, for example, encapsulate network file access type operations over FC by using additional protocol specific headers (FC-RPC or FC-CIFS). In a specific FC-RPC example, the FC-RPC layer can exchange all network file operations, other than READ and WRITE operations, as FC_RPC_REQ request and FC_RPC_RESP response messages. These messages (FC_RPC_REQ and FC_RPC_RESP) can carry an additional FC-RPC specific header to identify the type of request or response message, the length of the message, etc. In addition, the FC-RPC layer on the NFS client side, for example, can split a Read or Write operation into the following sequence of messages: 1) an unsolicited command (FC_RPC_REQ) to indicate the type of request (read or write), the amount of data transfer requested, etc. 2) a solicited data transfer (FC_RPC_DATA) to transfer the data between the client and the server and lastly 3) a FC_RPC_RESP message indicating the status of the operation from the server to the client. The following examples are directed towards a FC-RPC layer for handling RPC network file operations. However, similar techniques can be utilized for CIFS operations.
FIG. 3 is a flowchart illustrating a procedure 300 for handling a network file (NF) operation (except a read or write operation) over a Fibre Channel network in accordance with one embodiment of the present disclosure. For example, this procedure 300 pertains to NF operations for performing a look-up (NFSPROC3_LOOKUP), check access permission (NFSPROC3_ACCESS), create file (NFPROC3_CREATE), remove file (NFSPROC3_REMOVE, create directory (NFSPROC3_MKDIR), remover directory (NFSPROC3_RMDIR), rename file or directory (NFSPROC3_RENAME), read directory (NFSPROC3_READDIR), get file system's attributes (NFSPROC3_FSSTAT), etc. Operations that typically may occur on an NFS client are shown on the left portion of the diagram, while operations that typically occur on a NFS server are shown on the right side of the diagram. Initially, the RPC layer of an NFS client sends an NF operation message, which is not read or write, to FC-RPC layer in operation 302. An NF operation generally includes an RPC header for specifying a type of operation or request and a payload for specifying arguments for such operation.
Although the following examples describe receiving an NF operation from RPC and NFS layers, the NF operation can be received from any number and type of file access type layers, in addition to these specific network file layers. Also, alternative embodiments may utilize an alternative network file protocol, instead of RPC and NFS protocols, and in addition to other network file protocols and layers that are configured to generate, handle, or receive network file operations.
In the illustrated example, the receiving FC-RPC layer may encapsulate the NF operation message with a FC-RPC header and send the message to the FC layer in operation 304. In general, the FC-RPC header may include any suitable number and type of fields for identifying the type of message and the length of the message (e.g., including the header and the encapsulated network file message). In other types of messages (e.g., a data transfer ready response), the FC-RPC header may also specify data transfer parameters as further described herein.
The message type can generally indicate the type of message, such as whether the message is a request other than a read or a write request, a response, a write request, a read request, a data transfer ready response, or data transfer. In this example, when the RPC header specifies NF operation type other than a read or write type, the FC-RPC layer can specify the type in the FC-RPC header as a simple request, i.e., a request that excludes a read or a write request. In the illustrated example, the entire RPC message is carried in the payload of the FC-RPC message that is sent to the FC layer.
The receiving FC layer may then encapsulate the FC-RPC message with an FC header and send the message over the FC network in operation 306. In one embodiment, an FC_RPC_REQ message is sent to the NFS server. The FC header can specify that a FC-RPC message is encapsulated. For example, the FC header may include a type field that specifies that an FC-RPC message is being sent for the RPC protocol.
FIG. 6 includes a diagrammatic representation of a FC-RPC type message 600 in accordance one example implementation of the present disclosure. As shown, a FC-RPC type message 600 may include the original RPC arguments or results 602, the original RPC header 604, a new FC-RPC header 606, and an FC header 608. In certain message types, the RPC header 604 and/or the payload 602 may be removed. The new FC-RPC header 606 may include a type field 612, a message length field 614, and one or more flags (not shown) for specifying further protocol extensions, a data offset field 616, a data length field 618, an exchange identifier, etc. The FC header 608 may also include a type field 610, e.g., indicating an “FC-RPC” type of message. A FC-CIFS type message can have similar headers and payload.
After the client sends the FC-RPC request message, an FC layer at the NFS server may then process and remove the FC header and send the message to a FC-RPC layer of the NFS server in operation 308. For example, the FC layer determines that the received message is an FC-RPC type of message based on the type field of the FC header.
The FC-RPC layer may then process the FC-RPC request message by removing the FC-RPC header and sending the decapsulated message to the RPC layer in operation 310. For example, the FC-RPC layer may determine that the received message is a simple request message (not a write or read request type) based on the type field of the FC-RPC header. A simple request (non-write or non-read request) can be merely sent to the RPC layer without further processing by the FC-RPC layer.
The receiving RPC layer (and NFS layer) of the server may then process the NF message and send an NF reply message (e.g., with an RPC header) in operation 312. The FC-RPC layer of the server may then receive and encapsulate the reply message with a FC-RPC header and send the message to the FC layer of the server in operation 314. For example, the FC-RPC header now indicates a response type. The FC layer of the server may then encapsulates the response message with an FC header and send the message to the calling NFS client over the FC network in operation 316. For example, an FC_RPC_RESP message is sent from the NFS server to the NFS client.
An FC layer at the client may then remove the FC header and send the response message to the FC-RPC layer of the NFS client in operation 318. For example, the FC layer determines that the message is a FC-RPC type message based on the type field of the FC header and sends the message without the FC header to the FC-RPC layer of the client.
The FC-RPC layer of the client may then process the FC-RPC response message by removing the FC-RPC header and sending the message to the RPC layer in operation 320. For example, the FC-RPC may determine that the received message is a response type message based on the type field of the FC-RPC header and send a decapsulated RPC message to the RPC layer. The RPC layer (and NFS layer) may then process the reply message in operation 322, for example, according to various RPC and NFS type protocols.
As background, when an NFS client sends unsolicited write network file (NF) messages to an NFS server via an IP network, certain receiving layers (e.g., the TCP, UDP, and/or RPC layers) of the server each typically buffer the received write messages, which each contain the data and an RPC header specifying a file handle, data length, and data offset. These copying operations can utilize significant processing and memory resources.
In certain embodiments, write NF type operations are handled over FC network and processed with minimum copying operations. FIG. 4 is a flowchart illustrating a procedure 400 for handling a network file (NF) write operation over a Fibre Channel network in accordance with a specific implementation of the present disclosure. Initially, an RPC layer at the NFS client sends an NF write operation to the FC-RPC layer in operation 402. For example, the NF write operation can include data and an RPC header that specifies a file handle, file offset, and data length (e.g., number of bytes).
The upper FC-RPC layer processes the write operation by splitting the NF write operation into an unsolicited command and solicited data transfer and sending the unsolicited command over the Fibre Channel network while holding the data in operation 404. For example, an FC_RPC_REQ message having an FC-RPC header that indicates a write request type is sent to the FC layer. The FC layer adds an FC layer indicating an FC-RPC type to the message, which is then sent from the NFS client to the NFS server.
The FC and FC-RPC layers of the NFS server may then process the write request message by removing the FC and FC-RPC headers to obtain and retain the received RPC write header portion in operation 406. For example, the FC layer removes the FC header, while the FC-RPC removes the FC-RPC header and retains the NF write operation's RPC header.
The FC-RPC layer may then allocate a buffer for later receiving the data associated with the received NF write operation and send one or more FC-RPC messages to solicit data transfer in operation 408. For example, without calling the RPC layer, a buffer having a length that is large enough to include the retained NF write operation's RPC header and the data as specified by the NF write operation (e.g., in the data length field 620 of the RPC header 604) is allocated and one or more FC_RPC_XFER_RDY messages may be sent from the NFS server to the NFS client to request that the client send specific data portions to the server.
Each FC_RPC_XFER_RDY message may include an FC header that specifies an FC-RPC type and an FC-RPC header that specifies a data transfer type response (e.g., 612 of FIG. 6), a message length, a data offset (616), a data length (618), and an exchange identifier (620). The exchange identifier was associated with the original exchange identifier that was associated by the client with the original write request message, for example in the request FC-RPC or RPC header. Since the data can be transferred all at once or in chunks, the data length and data offset can indicate how much data and from what offset for each data transfer. For example, if 4 kbytes of data is to be written, a first FC_RPC_XFER_RDY message can specify 1 kbytes length of data at a zero offset, and a second FC_RPC_XFER_RDY message can specify 3 kbytes length at a 1 kbyte offset. The FC_RPC_XFER_RDY message does not have to include an NFS header or payload since such message can be merely processed by the FC and FC-RPC layers of the client.
In response to the FC_RPC_XFER_RDY message, the FC and FC-RPC layers of the NFS client may then send the held data as specified in the received one or more FC-RPC replies in operation 410. For example, data may be sent in the form of FC-RPC-DATA type messages, which does not need to include an NFS header. In one implementation, the FC-RPC-DATA message includes an FC header, an FC-RPC header, and the data. The FC-RPC header may also specify the data length, data offset, and exchange identifier as specified in the XFER-RDY message.
An FC-RPC layer of the NFS server may then receive the solicited data from the NFS client and retain the data in the allocated buffer (along with the retained NF write operation RPC header) in operation 412. After all the data is received, the FC-RPC layer then sends an NF write operation by including the received data in the buffer to the RPC layer (and subsequently to NFS layer) in operation 414.
The NF write operation may also result in the RPC (and NFS) layer sending a reply in operation 414. The FC and FC-RPC layers of the server can then send an FC-RPC response type message to the client in operation 416. For example, an FC_RPC_RESP message may include an FC header that specifies an FC-RPC type, a FC-RPC header that specifies the response type, and the RPC reply. The FC and FC-RPC layers of the NFS client may then remove the FC and FC-RPC header and send the RPC response to the RPC layer in operation 418. The network file layers (e.g., RPC and NFS) may then process the response in operation 420.
In certain implementations, hardware acceleration adapters may be used by any layer to quickly write data to a specified buffer. For example, an FC hardware adapter may be operable to understand the layer (e.g., FC-RPC or FC-CIFS). In this case, the FC adapter hardware with or without the help of microcode/firmware, can parse the incoming transfer ready messages and then start sending the data. In an FCRPC implementation, when the FC-RPC layer at the client makes a write request, the FC-RPC layer can also give a data pointer to the FC adapter for the data so that the FC adapter can quickly access the to-be sent data as soon as it receives a transfer ready message from the server without involving any software, such as interrupting the operating system. Likewise, on the server side an FC adapter may be given a pointer to the allocated buffer before sending the transfer ready message so that the FC adapter can steer the received data as it is immediately received.
FIG. 5 is a flowchart illustrating a procedure 500 for handling an NFS read operation over a Fibre Channel network in accordance with one embodiment of the present disclosure. Initially, an RPC layer of the NFS client may send an NF read message, which also specifies an allocated buffer, to FC and FC-RPC layers in operation 502.
The FC and FC-RPC layers can then note the specified, allocated buffer and send an FC-RPC read request to the NFS server over the Fibre Channel network in operation 504. For example an FC_RPC REQ message having an FC header, an FC-RPC header, and an NFS header is sent from the NFS client to the NFS server. FC and FC-RPC layers of the NFS server may then remove the FC and FC-RPC headers and send the NF read operation to the RPC layer in operation 506. The RPC layer (and NFS layer) may then receive the NF read operation and send the data in one or more data replies, followed by an RPC status response in operation 508.
The FC and FC-RPC layers of the client may then send one or more FCRPC-DATA type messages, for example, without the RPC header in operation 512. The FC_DATA type message may include an FC-RPC header that specifies the exchange identifier, data length, and data offset, as well as an FC header that specifies an FC_RPC type. An RPC header is not needed in a data type message since the FCRPC layer (or a hardware accelerated FC layer) of the client can write the data into the allocated buffer without involving the RPC layer. As shown, the FC-RPC (or FC) layer of the NFS client may receive the data into the allocated buffer in operation 510.
The FC and FC-RPC layers of the NFS server may also send an FC-RPC status response with the RPC header, as well as the FC-RPC and FC headers, in operation 514. An FC_RPC RESP message can then be sent from the NFS server to the NFS client. The FC and FC-RPC layers of the NFS client may then remove the FC and FC-RPC headers and send the status response to the RPC layer in operation 516. The RPC (and NFS) layer may then process this response in operation 518.
Generally, the techniques for implementing the present disclosure may be implemented on software and/or hardware. For example, these techniques can be implemented in an operating system kernel, in a separate user process, in a library package bound into network applications, on a specially constructed machine, or on a network interface card. In a specific embodiment of this disclosure, the techniques of the present disclosure are implemented in software such as an operating system or in an application running on an operating system.
A software or software/hardware packet processing system of this disclosure is preferably implemented on a general-purpose programmable machine selectively activated or reconfigured by a computer program stored in memory. Such programmable machine may be a network device designed to handle network traffic. Such network devices typically have multiple network interfaces including frame relay and ISDN interfaces, for example. Specific examples of such network devices include routers and switches. For example, the authentication systems of this disclosure may be a specially configured switch such as the Catalyst 6500, 4900, 4500, 3750, 3560, Nexus 7000, or Express 500 Series available from Cisco Systems, Inc. of San Jose, Calif. A general architecture for some of these machines will appear from the description given below. In an alternative embodiment, the system may be implemented on a general-purpose network host machine such as a personal computer or workstation. Further, the disclosure may be at least partially implemented on a card (for example, an interface card) for a network device or a general-purpose computing device.
Referring now to FIG. 7, a switch 10 suitable for implementing embodiments of the present disclosure includes a master central processing unit (CPU) 62, interfaces 68, and a bus 15 (for example, a PCI bus). When acting under the control of appropriate software or firmware, the CPU 62 is responsible for such tasks as switching and/or routing computations and network management. It preferably accomplishes all these functions under the control of software including an operating system (for example, the Internet Operating System (IOS®), SAN-OS, NX-OS of Cisco Systems) and any appropriate applications software. CPU 62 may include one or more processors 63 such as a processor from the Motorola family of microprocessors or the MIPS family of microprocessors. In an alternative embodiment, processor 63 is specially designed hardware for controlling the operations of switch 10. In a specific embodiment, a memory 61 (such as nonvolatile RAM and/or ROM) also forms part of CPU 62. However, there are many different ways in which memory could be coupled to the system. Memory block 61 may be used for a variety of purposes such as, for example, caching and/or storing data, programming instructions, etc.
The interfaces 68 are typically provided as interface cards (sometimes referred to as “line cards”). Generally, they control the sending and receiving of packets or packet segments over the network and sometimes support other peripherals used with the switch 10. Among the interfaces that may be provided are Ethernet interfaces, frame relay interfaces, cable interfaces, DSL interfaces, token ring interfaces, and the like. In addition, various very high-speed interfaces may be provided such as fast Ethernet interfaces, Gigabit Ethernet interfaces, ATM interfaces, HSSI interfaces, POS interfaces, FDDI interfaces and the like. Generally, these interfaces may include ports appropriate for communication with the appropriate media. In some cases, they may also include an independent processor and, in some instances, volatile RAM. The independent processors may control such communications intensive tasks as packet switching and/or routing, media control and management. By providing separate processors for the communications intensive tasks, these interfaces allow the master microprocessor 62 to efficiently perform switching and/or routing computations, network diagnostics, security functions, etc.
Although the system shown in FIG. 7 is one specific switch of the present disclosure, it is by no means the only switch architecture on which the present disclosure can be implemented. For example, an architecture having a single processor that handles communications as well as switching and/or routing computations, etc. is often used. Further, other types of interfaces and media could also be used with the switch.
Regardless of a network device's configuration, it may employ one or more memories or memory modules (such as, for example, memory block 65) configured to store data, program instructions for the general-purpose network operations and/or the inventive techniques described herein. The program instructions may control the operation of an operating system and/or one or more applications. The memory or memories may also be configured to store header and payload information, buffers, pointers to allocated buffers, etc.
Because such information and program instructions may be employed to implement the systems/methods described herein, the present disclosure relates to machine readable media that include program instructions, state information, etc. for performing various operations described herein. Examples of machine-readable media include, but are not limited to, magnetic media such as hard disks, floppy disks, and magnetic tape; optical media such as CD-ROM disks and DVDs; magnetooptical media such as optical disks; and hardware devices that are specially configured to store and perform program instructions, such as read-only memory devices (ROM) and random access memory (RAM). Examples of program instructions include both machine code, such as produced by a compiler, and files containing higher level code that may be executed by the computer using an interpreter. For instance, the components and/or elements described herein can be implemented as software being stored on a tangible (non-transitory) computer-readable medium, devices, and memories (e.g., disks/CDs/RAM/EEPROM/etc.) having program instructions executing on a hardware processor, hardware, firmware, or a combination thereof. Further, methods describing the various functions and techniques described herein can be implemented using computer-executable instructions that are stored or otherwise available from computer readable media. Such instructions can comprise, for example, instructions and data which cause or otherwise configure a general purpose computer, special purpose computer, or special purpose processing device to perform a certain function or group of functions. Portions of computer resources used can be accessible over a network.
Although the foregoing disclosure has been described in some detail for purposes of clarity of understanding, it will be apparent that certain changes and modifications may be practiced within the scope of the appended claims. Therefore, the present embodiments are to be considered as illustrative and not restrictive and the disclosure is not to be limited to the details given herein, but may be modified within the scope and equivalents of the appended claims.

## Claims

1. A method comprising:
receiving, at an interposed file access protocol layer of a server device, an operation message from a Fibre Channel (FC) layer of the server device, wherein the message does not include data and pertains to a file write request, and wherein such message was transmitted from a client over a Fibre Channel (FC) network and the interposed file access protocol layer is interposed between the Fiber Channel layer and an upper file access protocol layer;
retaining, at the interposed file access protocol layer of the server device, the file write request, allocating a buffer that is sized to receive data that is associated with the message, and sending one or more transfer ready messages to the client to solicit the data;
transmitting the one or more transfer ready messages from the server over the FC network to the client;
receiving, at the interposed file access protocol layer of the server device, one or more data messages from the FC layer of the server device, the one or more data messages being sent from the client in response to the one or more transfer ready messages and being associated with the message;
retaining data from the one or more data messages, along with the retained file write request, within the allocated buffer and sending a write file operation to the upper file access protocol layer of the server, wherein the write file operation specifies the allocated buffer; and
transmitting, over the FC network, a reply from the upper file access protocol layer of the server to the client, wherein the reply was generated in response to the write file operation.

2. The method of claim 1, wherein the buffer is allocated without calling the upper file access protocol layer.

3. The method of claim 1, wherein the data is retained by the interposed file access protocol layer of the server device.

4. The method of claim 1, wherein the data is retained by a hardware acceleration adaptor of the FC layer of the server.

5. An apparatus comprising:
one or more network interfaces to communicate in a Fibre Channel (FC) network;
a processor coupled to the network interfaces and adapted to execute one or more processes; and
a memory configured to store a process executable by the processor, the process when executed operable to:
receive, at an interposed file access protocol layer of a server device, an operation message from a Fibre Channel (FC) layer of the server device, wherein the message does not include data and pertains to a file write request, and wherein such message was transmitted from a client over a Fibre Channel (FC) network and the interposed file access protocol layer is interposed between the Fibre Channel (FC) layer and an upper file access protocol layer;
retain, at the interposed file access protocol layer of the server device, the file write request, allocating a buffer that is sized to receive data that is associated with the message, and sending one or more transfer ready messages to the client to solicit the data;
transmit the one or more transfer ready messages from the server device over the FC network to the client;
receive, at the interposed file access protocol layer of the server device, one or more data messages from the FC layer of the server device, the one or more data messages being sent from the client in response to the one or more transfer ready messages and being associated with the message;
retain data from the one or more data messages, along with the retained file write request, within the allocated buffer and sending a write file operation to the upper file access protocol layer of the server device, wherein the write file operation specifies the allocated buffer; and
transmit, over the FC network, a reply from the upper file access protocol layer of the server device to the client, wherein the reply was generated in response to the write file operation.

6. The apparatus of claim 5, wherein the buffer is allocated without calling the upper file access protocol layer.

7. The apparatus of claim 5, wherein the data is retained by the interposed file access protocol layer of the server device.

8. The apparatus of claim 5, wherein the data is retained by a hardware acceleration adaptor of the FC layer of the server device.

9. A tangible, non-transitory, computer-readable media having software encoded thereon, the software, when executed by a processor, operable to:
receive at an interposed file access protocol layer of a server device, a message from a Fibre Channel (FC) layer of the server device, wherein the message does not include data and pertains to a file write request, and wherein such message was transmitted from a client over a Fibre Channel (FC) network and the interposed file access protocol layer is interposed between the Fibre Channel layer and an upper file access protocol layer;
retain, at the interposed file access protocol layer of the server device, the file write request, allocating a buffer that is sized to receive data that is associated with the message, and sending one or more transfer ready messages to the client to solicit the data;
transmit the one or more transfer ready messages from the server device over the FC network to the client;
receive, at the interposed file access protocol layer of the server device, one or more data messages from the FC layer of the server device, the one or more data messages being sent from the client in response to the one or more transfer ready messages and being associated with the message;
retain data from the one or more data messages, along with the retained file write request, within the allocated buffer and sending a write file operation to a file access layer of the server device, wherein the write file operation specifies the allocated buffer; and
transmit, over the FC network, a reply from the upper file access protocol layer of the server device to the client, wherein the reply was generated in response to the write file operation.

10. The tangible, non-transitory, computer-readable media of claim 9, wherein the buffer is allocated without calling the upper file access protocol layer.

11. The tangible, non-transitory, computer-readable media of claim 9, wherein the data is retained by the interposed file access protocol layer of the server device.

12. The tangible, non-transitory, computer-readable media of claim 9, wherein the data is retained by a hardware acceleration adaptor of the FC layer of the server device.