Patent ID: 8797669

Claim:
A disk drive comprising: a disk comprising a plurality of data tracks, wherein each data track comprises a plurality of data sectors; a head actuated over the disk; and control circuitry operable to: receive a host write command from a host, wherein the host write command comprises a plurality of host blocks, and each data sector is capable of storing at least two host blocks; map a plurality of the host blocks to at least one data sector; read previous data from the at least one data sector; combine the previous data with at least one of the host blocks to generate modified data; write the modified data to the at least one data sector; generate at least one of a first read command and a first write command, wherein the first read command is for reading the previous data from the at least one data sector and the first write command is for writing the modified data to the at least one data sector; store at least one of the first read command and the first write command in a command queue; execute a rotational position optimization (RPO) algorithm to select a command from the command queue based on an access latency for each command in the command queue; and execute the selected command.