Patent ID: 8904091

Claim:
In a data storage system comprising a magnetic medium, a non-volatile memory module, and a bridge interface for the non-volatile memory module, a method of optimizing execution of storage access commands, the method comprising: receiving a plurality of storage access commands from a host system, the plurality of storage access commands comprising a first subset of storage access commands of a first storage access command type and a second subset of storage access commands of a second storage access command type different from the first storage access command type; converting at least some storage access commands into a plurality of storage access operations, wherein each storage access operation is associated with a storage access operation type; combining a plurality of storage access operations of a first storage access operation type into a first bundle, the plurality of storage access operations combined into the first bundle being associated with the first subset of storage access commands, the combining performed without an interruption to process a plurality of storage access commands associated with the second subset of storage access commands, wherein the plurality of storage access operations in the first bundle are optimized for overlapping execution in the non-volatile memory module; and providing the first bundle to the bridge interface so that at least some storage access operations of the first bundle are concurrently executed in the non-volatile memory module prior to executing at least some storage access operations associated with a storage access command received prior to receipt of one or more storage access commands associated with the plurality of storage access operations in the first bundle; determining a status of execution in the non-volatile memory module of a subset of storage operations of the plurality of storage operations of the first bundle; providing the status of execution to a controller of the data storage system while at least some storage access operations of the first bundle that are not in the subset of storage access operations are being executed in the non-volatile memory module; and based at least in part on the status of execution, terminating execution of the storage access operations of the first bundle and performing an additional operation in the magnetic medium.