The invention discloses an input and output
timeout processing method and device and a medium, relates to the technical field of computers, is used for
processing the IO
timeout problem, and provides the input and output
timeout processing method aiming at the problem that a traditional scheme cannot achieve special IO timeout caused by insufficient resources. According to the method and the device, a state
machine in a data end of each volume in a
storage pool is indicated to set upper-layer path outputs of all the volumes in the
storage pool to be in an offline state, so that the volumes are offline outwards, the volumes do not receive IO any more, and IO timeout caused by no resource processing IO is avoided. Therefore, according to the method, whether the problem of insufficient resources occurs in the
storage pool or not is detected, all the volumes in the current storage
pool are offline when the resources are insufficient, and subsequent IO is prevented from being processed on the volumes with the insufficient resources, so that overtime IO is avoided, and the IO overtime problem caused by the insufficient resources can be effectively avoided.