Patent ID: 8769219

Claim:
A storage controller, comprising: a processor configured to (i) receive a first write operation from a host, (ii) receive, separately from the first write operation being received from the host, a second write operation from the host, wherein the first write operation is received by the processor from the host prior to the second write operation being received by the processor from the host, wherein the first write operation is contiguous with the second write operation, and wherein the first write operation and the second write operation, as received from the host, identify different starting locations for respective data to be written, (iii) generate a command to arrange the second write operation prior to the first write operation, and (iv) determine whether the first write operation and the second write operation write data to a common sector of a same track of a disk; and a memory controller configured to, in response to the command, execute each of the first write operation and the second write operation, wherein the second write operation is executed by the memory controller prior to the first write operation.