Patent ID: 9696935
Date: 2017-07-04
CPC Classifications: G06F

Claim:
1. A storage device, comprising: a nonvolatile semiconductor memory device including a plurality of physical blocks including first and second physical blocks; and a memory controller configured to: associate one or more physical blocks with a first stream ID and one or more physical blocks with a second stream ID, such that the one or more physical blocks associated with the first stream ID are reserved for data associated with the first stream ID, and that the one or more physical blocks associated with the second stream ID are reserved for data associated with the second stream ID, and carry out garbage collection in response to a command including the first stream ID, by transferring valid data stored in the first physical block that stores valid data and invalid data to the second physical block, and associating the first physical block from which the valid data have been transferred with the first stream ID, such that the first physical block is reserved for data associated with the first stream ID.