Storage device, memory system comprising the same, and operation method thereof
A memory system includes a storage device including a turbo write buffer and a user storage area implemented with a nonvolatile memory, and a host configured to transfer a read request to the storage device. In response to the read request, the storage device transfers read data and read data information including attributes of the read data to the host.
1. A memory system comprising:
a storage device including a turbo write buffer and a user storage area implemented with a nonvolatile memory; and
a host configured to transfer a read request to the storage device, wherein, in response to the read request, the storage device transfers read data and read data information of the read data to the host,
wherein the turbo write buffer includes a first buffer area in which stored data are prohibited from moving to the user storage area, and a second buffer area in which stored data are allowed to move to the user storage area,
wherein the read data information includes location information indicating in which one of the user storage area, the first buffer area, and the second buffer area at least part of the read data is located.
2. The memory system of claim 1 , wherein the read data information includes hit/miss information indicating whether the read data are present in the turbo write buffer.
3. The memory system of claim 2 , wherein the hit/miss information includes move information of the read data in the storage device or partial hit information indicating a partial hit where the read data are present in the turbo write buffer and the user storage area.
4. The memory system of claim 3 , wherein the storage device writes the partial hit information and an address corresponding to the partial hit information in a sense data field of a response packet, and transfers the response packet to the host.
5. The memory system of claim 3 , wherein the storage device transfers read data attribute information corresponding to the partial hit to the host as a response to a query request of the host, separately from the read data information.
6. The memory system of claim 5 , wherein the read data attribute information includes an address or a hit rate corresponding to the partial hit.
7. The memory system of claim 2 , wherein a transfer of the hit/miss information is enabled through a query request for a set attribute by the host.
8. An operation method of a memory system which includes a turbo write buffer comprising a first buffer area and a second buffer area, and a user storage area implemented with a nonvolatile memory, the operation method comprising:
receiving a read request from a host;
reading read data from the turbo write buffer or the user storage area in response to the read request;
transferring the read data to the host by using a data transfer packet; and
transferring read data information including location information of the read data to the host indicating in which one of the user storage area, the first buffer area, and the second buffer area at least part of the read data is located,
wherein data is prohibited from moving from the first buffer area to the user storage area, and data is allowed to move from the second buffer area to the user storage area.
9. The operation method of claim 8 , wherein the read data information includes information about an address at which the read data are stored.
10. The operation method of claim 9 , wherein the read data information includes hit/miss information indicating whether the read data are present in the turbo write buffer.
11. The operation method of claim 10 , wherein the hit/miss information includes move information of the read data in the memory system or partial hit information indicating a partial hit where the read data are present in the turbo write buffer and the user storage area in a distributed state.
12. The operation method of claim 11 , further comprising:
receiving a query request for setting whether to include the hit/miss information in the read data information.
13. The operation method of claim 11 , further comprising:
receiving a query request for read data attribute information, corresponding to the partial hit information, from the host; and
transferring the read data attribute information to the host in response to the query request.
14. The operation method of claim 13 , wherein the read data attribute information includes a hit rate of the read data in the turbo write buffer.