| CPC G06F 13/4282 (2013.01) | 19 Claims |

|
1. A data storage device comprising:
a memory; and
one or more processors, individually or in combination, configured to:
store a length of a previously-received read or write command;
receive, from a host, an open-ended read or write command; and
restrict the open-ended read or write command to the length of the previously-received read or write command, wherein restricting the open-ended read or write command to the length of the previously-received read or write command increases input-output operations per second (IOPS) by eliminating a need to perform a stop-transmission clean-up activity;
wherein the one or more processors, individually or in combination, are further configured to estimate a length of the open-ended read or write command by:
determining whether a threshold number of previously-received read or write commands have a same length; and
in response to determining that the threshold number of previously-received read or write commands have the same length, treating the open-ended read or write command as a close-ended read or write command having the same length.
|