| CPC G06F 3/0659 (2013.01) [G06F 3/0679 (2013.01); G06F 3/0604 (2013.01)] | 24 Claims |

|
1. A system for prioritizing commands to a storage device, comprising:
memory; and
at least one hardware processor that is coupled to the memory and that is collectively configured to at least:
determine counts of read commands targeting a plurality of portions of the storage device;
calculate a threshold based on a function of an average of the counts of the read commands targeting the plurality of portions of the storage device, wherein meeting the threshold indicates that one or more read commands are to be prioritized over one or more write commands;
determine that a count of read command(s) targeting one of the plurality of portions of the storage device meets the threshold; and
in response to determining that the count of read command(s) targeting the one of the plurality of portions of the storage device meets the threshold, prioritize a first read command to access the one of the plurality of portions of the storage device over at least one write command by sending the first read command to the one of the plurality of portions of the storage device ahead of the at least one write command.
|