CPC G06F 3/0611 (2013.01) [G06F 3/0656 (2013.01); G06F 3/0659 (2013.01); G06F 3/0679 (2013.01)] | 12 Claims |
1. A storage device applied to a storage server based on an NVMe over Fabric architecture, comprising a storage, a storage controller, a control module, and a buffer module, the storage being configured to store data to be read or written by a host in the architecture, the storage controller being configured to effect read-write control of the storage, the control module being configured to receive data read-write instructions, and the buffer module being divided into a plurality of buffer units, wherein the control module is configured to:
responsive to receiving a data read-write instruction, update the data read-write instruction with a virtual address;
apply for K buffer units in the buffer module based on the updated data read-write instruction, and perform a write operation on the K buffer units with the data to be read or written, wherein K is less than a total number of the buffer units in the buffer module and is an integer; and
responsive to any of the K buffer units being full, directly start data transmission of the full buffer unit, and responsive to the data transmission being completed, release the full buffer unit.
|