Input/output control apparatus and method for transfering track data from cache module to channel unit during the staging of the data track from device adapter
First Claim
1. An input/output control apparatus which has a channel adapter module coupled to a channel unit, a device adapter module coupled to a device, and a cache control module for managing a cache memory on the basis of a hash table and asynchronously executes an input/output control between said channel unit and said cache memory by said channel adapter module and an input/output control between said cache memory and said device by said device adapter module via a resource manager module, wherein:
- said cache control module has a control unit for controlling in a manner such that in the case where no track data exists in the cache memory for an inquiry from said channel adapter module, a mishit is responded to said channel adapter module and, further, a storage area of the track data is newly allocated to the cache memory and information in said storage area is stored into an information region only for use by said channel adapter module and in the case where no track data exists in the cache memory for an inquiry from said device adapter module, a mishit is responded to said device adapter module and, further, a storage area of the track data is newly allocated to the cache memory and information in said storage area is stored into an information region only for use by said device adapter module;
said channel adapter module has a control unit for controlling in a manner such that when the mishit response is received from said cache control module, a staging is requested to said device adapter module via said resource manager module, the channel unit is disconnected, when a reactivation request from said device adapter module is received during the staging, said channel adapter module is recoupled to the channel unit and inquires of said cache control module, and in the case where a hit response and a response indicative of a state during the staging are obtained, an input/output to/from the channel unit is executed in parallel with the staging of said device adapter module while confirming an amount of staged data with reference to a common control information region of said channel adapter module and said device adapter module; and
said device adapter module has a control unit for controlling in a manner such that when the mishit response is received from said cache control module, said device adapter module requests said device to read track data and to stage the track data into said cache memory, and when an amount of data obtained by said staging reaches a predetermined value, a reactivation is requested to said channel adapter module via said resource manager module.
1 Assignment
0 Petitions
Accused Products
Abstract
When an input/output request of a channel adapter causes a mishit on a cache and a staging amount by a device adapter reaches a predetermined amount, the cache is set into a hit status and the channel adapter is reactivated. By receiving a hit response, the reactivated channel adapter executes an input and an output for the cache and the staging of the channel adapter in parallel. A defective/alternating track management table which corresponds to track data stored in a cache memory and has each of addresses of a defective track and an alternating track and flag information showing a link state between both of the defective track and the alternating track is provided for an input/output controller. For a retrieving request in which the defective track address is designated, the defective/alternating track management table is retrieved and the corresponding alternating track address is obtained, thereby judging the presence or absence of a registration of a hash table.
39 Citations
19 Claims
-
1. An input/output control apparatus which has a channel adapter module coupled to a channel unit, a device adapter module coupled to a device, and a cache control module for managing a cache memory on the basis of a hash table and asynchronously executes an input/output control between said channel unit and said cache memory by said channel adapter module and an input/output control between said cache memory and said device by said device adapter module via a resource manager module, wherein:
-
said cache control module has a control unit for controlling in a manner such that in the case where no track data exists in the cache memory for an inquiry from said channel adapter module, a mishit is responded to said channel adapter module and, further, a storage area of the track data is newly allocated to the cache memory and information in said storage area is stored into an information region only for use by said channel adapter module and in the case where no track data exists in the cache memory for an inquiry from said device adapter module, a mishit is responded to said device adapter module and, further, a storage area of the track data is newly allocated to the cache memory and information in said storage area is stored into an information region only for use by said device adapter module; said channel adapter module has a control unit for controlling in a manner such that when the mishit response is received from said cache control module, a staging is requested to said device adapter module via said resource manager module, the channel unit is disconnected, when a reactivation request from said device adapter module is received during the staging, said channel adapter module is recoupled to the channel unit and inquires of said cache control module, and in the case where a hit response and a response indicative of a state during the staging are obtained, an input/output to/from the channel unit is executed in parallel with the staging of said device adapter module while confirming an amount of staged data with reference to a common control information region of said channel adapter module and said device adapter module; and said device adapter module has a control unit for controlling in a manner such that when the mishit response is received from said cache control module, said device adapter module requests said device to read track data and to stage the track data into said cache memory, and when an amount of data obtained by said staging reaches a predetermined value, a reactivation is requested to said channel adapter module via said resource manager module. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. An input/output control method of an input/output control apparatus which has a channel adapter module coupled to a channel unit, a device adapter module coupled to a device, and a cache control module for managing a cache memory on the basis of a hash table and asynchronously executes an input/output control between said channel unit and said cache memory by said channel adapter module and an input/output control between said cache memory and said device by said device adapter module via a resource manager module, wherein:
-
for an inquiry of a cache status from said channel adapter module based on an input/output request of the channel unit, in the case where no track data exists in the cache memory, said cache control module responds a mishit to said channel adapter module and, further, newly allocates a storage area of the track data into the cache memory and stores information in said storage area into an information region only for use by said channel adapter module; said channel adapter module which received the mishit response from said cache control module requests a staging to said device adapter module via said resource manager module and disconnects the channel unit; said device adapter module which received the staging request from said channel adapter module side inquires of said cache control module a cache status; in the case where no track data exists in the cache memory, said cache control module which received the inquiry from said device adapter module responds a mishit to said device adapter module and, further, newly allocates a storage area of the track data to the cache memory and stores allocation information in said storage area into an allocation information region only for use by said device adapter module; said device adapter module which received the mishit response from said cache control module requests said device to read the track data and to stage the track data into said cache memory and, when an amount of data obtained by said staging reaches a predetermined value, a reactivation is requested to said channel adapter module via said resource manager module; and said channel adapter module which received the reactivation request from said device adapter module side is recoupled to said channel unit and inquires of said cache control module, and in the case where a hit response and a response indicative of a state during the staging are obtained, said channel adapter module executes an input/output control with the channel unit and the staging of said device adapter module in parallel while confirming the amount of data which was staged with reference to a common control information region of said channel adapter module and said device adapter module. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19)
-
Specification