摘要 |
PURPOSE:To accurately deal with error occurrence during the processing of an input/output request by reporting the occurrence of an error and disregarding successive input/output requests if the error occurs to the input/output request being processed. CONSTITUTION:It is decided in an input/output end interruption processing task 7A whether an error occurs or not, and when the occurrence of the error is judged, a change is so made as to set the contents SHUT of an error occurrence report flag 9 to 1 and the error occurrence is reported to the side of an input/output request processing routine 6A. Then, the contents of a flag 10 of the 1st time are checked to remove and discard a succeeding input/output request if it is registered in an input/output request queue. When it is judged that there is not error, on the other hand, a corresponding task is posted and when a necessary input/output request is registered in the queue 8, a corresponding input/output start is made. Consequently, while the advantage of the saving of an overhead time is maintained, the error occurrence in the processing of an input/output request is accurately dealt with.
|