Automatic detection of multiple streams
First Claim
1. A method of storing data received in one or more streams of write data in a storage device, comprising:
- receiving, at a stream detector in the storage device, a write command comprising one or more write data chunks to be written to the storage device;
determining whether a first write data chunk of the one or more write data chunks belongs to a first open stream of write data if a logical block address of the first write data chunk is within a predetermined distance from a logical block address of a second write data chunk associated with belonging to the first open stream of write data;
adding, the first write data chunk to the first open stream of write data and starting a timer associated with the first open stream of write data if the first write data chunk is determined to belong to the first open stream of write data; and
closing the first open stream of write data when the timer expires.
5 Assignments
0 Petitions
Accused Products
Abstract
A method of storing data in a storage device is disclosed. In one embodiment, the method includes receiving a write command comprising write data to be written to the storage device. The method further includes determining whether the write data belongs to a first open stream of write data if a logical block address corresponding to the write data is consecutive to, or within a given distance from, a logical block address of the first open stream of write data. The method further includes updating the logical block address of the first open stream of write data to the logical block address corresponding to the write data and resetting a timer of the first open stream of write data if the write data is determined to belong to the first open stream of write data. The method further includes closing the first open stream of write data when the timer expires.
14 Citations
28 Claims
-
1. A method of storing data received in one or more streams of write data in a storage device, comprising:
-
receiving, at a stream detector in the storage device, a write command comprising one or more write data chunks to be written to the storage device; determining whether a first write data chunk of the one or more write data chunks belongs to a first open stream of write data if a logical block address of the first write data chunk is within a predetermined distance from a logical block address of a second write data chunk associated with belonging to the first open stream of write data; adding, the first write data chunk to the first open stream of write data and starting a timer associated with the first open stream of write data if the first write data chunk is determined to belong to the first open stream of write data; and closing the first open stream of write data when the timer expires. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A storage device comprising:
a stream detector communicatively coupled to a plurality of flash memory devices configured to store data received in one or more streams of write data, wherein the stream detector is configured to; determine whether a first write data chunk of a write command belongs to a first open stream of write data if a logical block address of the write data chunk is within a predetermined distance from a logical block address of a second write data chunk belonging to the first open stream of write data, add the first data chunk to the first open stream of write data and start a timer associated with the first open stream of write data if the first write data chunk is determined to belong to the open stream of write data, and close the first open stream of write data when the timer expires. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28)
Specification