CPC G06F 3/0659 (2013.01) [G06F 3/0604 (2013.01); G06F 3/0679 (2013.01)] | 18 Claims |
1. A disk drive controller of a storage device, comprising:
an interface controller;
a memory controller; and
a processor configured to transmit commands to the memory controller;
the memory controller coupled between the interface controller and the processor and comprising:
a first command queue;
a second command queue; and
a racing handler,
wherein the memory controller is configured to:
store a first command received from the processor in the first command queue;
transmit, to the interface controller, first information associated with the first command, wherein the first command is associated with a first serial number, and the first serial number indicates the order in which the first information is transmitted to the interface controller;
store a second command received from the processor in the second command queue;
transmit, to the interface controller, second information associated with the second command, wherein the second command is received from the processor after the first command;
in response to a second access region of the second command overlapping a first access region of the first command, assign a second serial number to the second command by the racing handler, wherein the second serial number is equal to the first serial number.
|