A disk drive is disclosed comprising a microprocessor for executing a disk command.
The microprocessor initializes a configuration data structure comprising a plurality
of configuration parameters with default values. The microprocessor modifies at
least one of the configuration parameters with a custom value to generate a custom
configuration data structure, and the microprocessor executes the disk command
using the custom configuration data structure.