US2008109576A1PendingUtilityA1

Data Transfer Apparatus, Storage Device Control Apparatus and Control Method Using Storage Device Control Apparatus

50
Assignee: HITACHI LTDPriority: Nov 28, 2003Filed: Jan 8, 2008Published: May 8, 2008
Est. expiryNov 28, 2023(expired)· nominal 20-yr term from priority
G06F 13/30G06F 3/0673G06F 13/1642G06F 3/061G06F 3/067G06F 3/0656G06F 13/28G06F 3/0601G06F 3/0659
50
PatentIndex Score
0
Cited by
0
References
0
Claims

Abstract

A data transfer apparatus includes a memory having first and second queues for storing data transfer information that includes information specifying a first memory area and information specifying a second memory area, a first processor which registers the data transfer information in the first or second queue, and a second processor performing a processing to transfer data stored in the first memory area to the second memory area. The second processor reads out the data transfer information registered in the first queue, transfers the data based on the read data transfer information, and decides if data transfer information succeeding to the read data transfer information is registered in the first queue. If the succeeding data transfer information is registered, the second processor reads out the succeeding data transfer information from the first queue, and performs the data transfer processing based on the read data transfer information.

Claims

exact text as granted — not AI-modified
1 . A storage device control apparatus comprising: 
 a communications interface unit having a buffer memory for receiving a data input/output request transmitted from an information processing apparatus to a storage device and storing said received data input/output request;    a storage device interface unit for transmitting and receiving data to/from said storage device;    a random access memory (RAM) having a preferential transfer information queue and a non-preferential transfer information queue for registering data transfer information that includes information for specifying a memory area of said buffer memory and information for specifying a memory area of said storage device, said preferential transfer information queue having a higher transfer priority than said non-preferential transfer information queue;    a central processing unit (CPU) for causing said data transfer information to be registered in said preferential transfer information queue or said non-preferential transfer information queue; and    a direct memory access (DMA) controller that performs data transfer processing to transfer data between said buffer memory and said storage device, said DMA controller having start and abort registers, wherein    said DMA controller reads out said data transfer information registered in said preferential transfer information queue, performs said data transfer processing on a basis of said read data transfer information, and decides if subsequent data transfer information that follows said read data transfer information is registered in said preferential transfer information queue,    if said subsequent data transfer information is registered in said preferential transfer information queue, said DMA controller reads out said subsequent data transfer information from said preferential transfer information queue, and performs said data transfer processing on a basis of said read data transfer information, and    if said subsequent data transfer information is not registered in said preferential transfer information queue, said DMA controller reads out said data transfer information from said non-preferential transfer information queue, and performs said data transfer processing on a basis of said read data transfer information from said non-preferential transfer information queue.    
   
   
       2 . A storage device control apparatus according to  claim 1 , wherein said RAM further comprises an end status queue for registering an end status of a data transfer processing by said DMA controller in response to completion of the data transfer processing, and said CPU checks the end status to inform abnormality of data transfer processing.  
   
   
       3 . A storage device control apparatus according to  claim 1 , wherein in response to detection of the subsequent data transfer information from said preferential transfer information queue or said non-preferential transfer information queue, said DMA controller continues a data transfer processing corresponding to the subsequent data transfer information independently of writing into the start register.  
   
   
       4 . A method for accessing a storage unit comprising: 
 a first processor writing a plurality of data transfer information to either a first queue or a second queue, each data transfer information indicating a transfer operation, a location in a buffer memory, and a location in said storage unit;    a second processor retrieving data transfer information from either the first queue or the second queue; and    the second processor transferring data between the location in the buffer memory and the location in the storage unit of the data transfer information retrieved, based on the transfer operation of the data transfer information retrieved,    wherein the second processor preferentially retrieves data transfer information that is stored in the second queue over data transfer information that is stored in the second queue,    whereby if data transfer information is stored in the first queue and data transfer information is stored in the second queue, then the second processor retrieves data transfer information stored in the second queue,    whereby if data transfer information is stored in the first queue and there is no data transfer information stored in the second queue, then the second processor retrieves data transfer information stored in the first queue.    
   
   
       5 . A method for accessing a storage unit according to  claim 4  further comprising: 
 determining, during the step of the second processor transferring data, whether an abort indication has been signaled; and    if an abort indication has been signaled, then ceasing the step of the transferring data between the location in the buffer memory and the location in the storage unit of the data transfer information retrieved.    
   
   
       6 . A method for accessing a storage unit according to  claim 4  further comprising: 
 detecting an abort signal;    ceasing the step of the transferring data between the location in the buffer memory and the location in the storage unit of the data transfer information retrieved when the abort signal is a first type of abort indication;    completing the step of the transferring data between the location in the buffer memory and the location in the storage unit of the data transfer information retrieved when the abort signal is a second type of abort indication; and    setting a status indicator to indicate either the first type of abort indication or the second type of abort indication based on the abort signal.

Cited by (0)

No later patents cite this yet.

References (0)

No backward citations on record.