Abstract:
A method for preventing deadlock of a node controller includes receiving, by an NC of a current node, a request message from any node, and writing the request message into a processing queue; performing invalidation processing on the cache data block that includes the system address and is cached on the other node, so that the NC directly returns, upon receiving a first interception message transferred by an HA, a feedback message to the HA, thereby avoiding that the first interception message is written into the processing queue and is blocked by the request message; and the feedback message is used for indicating that the system address cached on the other node is invalid; and transferring, by the NC, to the HA, the request message written into the processing queue.
Abstract:
A method for executing a hard disk operation command, a hard disk, and a storage medium. After an operation command is received, a target LUN in an idle state is determined; a target physical block that is to be accessed when the operation command is executed is determined from the target LUN; the operation command is stored in a processing waiting queue corresponding to a flash memory chip to which the target physical block belongs; and a working state of the target LUN is changed to a non-idle state when a quantity of operation commands that wait to be processed in a processing waiting queue respectively corresponding to each flash memory chip in the target LUN is greater than a preset threshold.