Claims
- 1. A method of performing a remote disk read operation between first and second computers, comprising the steps of:
- at the second computer, responding to receipt of a request message from the first computer, the request message specifying data to be retrieved from a disk located at the second computer and a range of global addresses associated with an allocated receive buffer; the responding step including:
- mapping the range of global addresses specified in the request message to a corresponding range of local physical addresses, wherein the mapped local physical addresses do not denote locations in a memory in the second computer's memory;
- performing a DMA operation for directly transferring the data specified in the request message from the disk to the mapped local physical addresses, the DMA operation transmitting the specified data to a network interface in the second computer at which the mapped local physical addresses to which the data is being transferred are converted into the corresponding global addresses; and
- transmitting the specified data with the corresponding global addresses to the first computer.
- 2. The method of claim 1, wherein
- the mapping step includes storing an entry in an output memory mapping unit in the second computer for mapping the range of global addresses specified in the request message to a corresponding range of local physical addresses.
- 3. The method of claim 2, wherein
- at the second computer the entry in an output memory mapping unit is deactivated after the specified data is successfully transmitted to the first computer.
- 4. In a distributed computer system, apparatus for performing a remote disk read operation between first and second computers, comprising:
- at the second computer:
- a CPU;
- memory;
- a disk that stores the data specified in the request message;
- an output memory management unit (OMMU);
- a network interface coupled to the communication channel;
- a network interface driver, executable by the CPU, that: stores in OMMU an entry that maps the range of global addresses specified in the request message to a corresponding range of local physical addresses, wherein the mapped local physical addresses do not denote locations in a memory in the second computer's memory; and
- a disk controller, coupled to the disk, wherein the disk controller is coupled to the network interface by an internal bus; the disk controller including DMA logic for directly transferring the data specified in the request message from the disk to the mapped local physical addresses, the DMA operation transmitting the specified data to the network interface in the second computer at which (A) the mapped local physical addresses to which the data is transferred are converted into the corresponding global addresses in accordance with the entry stored in the OMMU, and (B) the specified data is transmitted with the corresponding global addresses to the first computer via the communication channel.
- 5. The apparatus of claim 4, wherein
- the network interface driver in the second computer deactivates the OMMU entry after the specified data is successfully transmitted to the first computer.
- 6. A method of performing a remote disk read operation between first and second computers, comprising the steps of:
- at the second computer, responding to receipt of a request message from the first computer by:
- directly transferring data specified in the request message from a disk in the second computer to a network interface in the second computer using a memory mapped DMA transfer, the memory mapped DMA transfer having a range of destination addresses set to a range of local physical addresses that do not denote locations in the second computer's memory; and
- in the network interface of the second computer, converting the range of destination addresses into corresponding global addresses, and transmitting to the first computer the transferred data using the corresponding global addresses.
Parent Case Info
This application is a continuation of U.S. patent application Ser. No. 08/885,058, filed Jun. 30, 1997, entitled "System and Method for Efficient Disk I/O," now U.S. Pat. No. 5,884,313, issued Mar. 16, 1999.
US Referenced Citations (4)
Continuations (1)
|
Number |
Date |
Country |
Parent |
885058 |
Jun 1997 |
|