CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims priority under 35 U.S.C. § 119 to Korean Patent Application No. 10-2020-0009124 filed on Jan. 23, 2020, in the Korean Intellectual Property Office, the disclosure of which is incorporated by reference herein in its entirety.

BACKGROUND

1. Field

The present disclosure relates to a storage device, and more particularly, to a storage device and a storage system for performing offloaded work from a host.

2. Description of Related Art

Nowadays, various types of electronic devices are being used. An electronic device performs unique functions depending on operations of electronic circuits included therein. The electronic device may perform a unique function while operating solely within itself. In some cases, the electronic device may perform a unique function while communicating with various other electronic devices.

A storage device is an example of an electronic device. The storage device may store and output data depending on operations of components included therein, thus providing a user with a storage service. The storage device may manage data solely within itself or may manage data while communicating with various other electronic devices.

A host device may be an electronic device that provides a service to the user by communicating with the storage device. The host device may provide the storage device with data to be stored therein. Also, the host device may manage data to be stored in the storage device.

As a variety of information is distributed and the amount of data increases sharply, a plurality of storage devices may be included in a single system. In this case, the host device may manage data to be stored in the plurality of storage devices. In the case where the host device processes and manages data to be stored in the plurality of storage devices, the workload of the host device may become severe.

SUMMARY

It is an aspect to provide a storage device and a storage system for performing offloaded work from a host.

According to an aspect of an exemplary embodiment, there is provided a storage device comprising a first interface configured to receive a first data chunk from a host device; an operation circuit configured to generate first processed data by processing the first data chunk and to generate a first signal indicating a size of the first processed data; and a nonvolatile memory configured to store the first processed data in a storage location, when the storage location at which the first processed data are to be stored is designated to the storage device based on the first signal, wherein the first interface outputs the first signal to the host device.

According to another aspect of an exemplary embodiment, there is provided a storage system comprising a first storage device configured to receive a first data chunk from a host device, to convert the first data chunk into first data, and to output a first signal indicating a size of the first data to the host device; and a second storage device configured to receive a second signal from the host device after the first signal is output, wherein, when the second signal indicates the second storage device as a generation location at which a parity for recovering the first data is to be generated, the second storage device receives the first data from the first storage device and generates the parity based on the first data.

According to another aspect of an exemplary embodiment, there is provided a storage system comprising a first storage device configured to receive a first data chunk from a host device and to generate first processed data by processing the first data chunk; and a second storage device configured to receive a first parity chunk for recovering the first data chunk and to generate a first processed parity data by processing the first parity chunk, wherein the first storage device includes a first memory configured to store the first processed data in a first size unit, and wherein a size of the first processed data is an integer multiple of the first size unit.

