Method for writing data in storage device and storage device
2015
Embodiments of the invention relate to a method for writing data in a storage device and the storage device. The storage device comprises a network card, a memory and a processor. The method is performed by a network card and comprises: receiving a remote procedure call (RPC) message, wherein the RPC message comprises attribute information and data to be written in the storage device; according to the attribute information, analyzing the RPC message to obtain the data; receiving an address distribution message sent by the processor, wherein the address distribution message comprises a memory address pre-distributed for the data by the processor; and according to the memory address, writing the data in the memory. Therefore, repeated copy of a data part in the storage device can be avoided and the purpose of saving processor resources of the storage device can be achieved.
Keywords:
- Correction
- Source
- Cite
- Save
- Machine Reading By IdeaReader
0
References
0
Citations
NaN
KQI