TRANSITIONING BUFFER TO BE ACCESSED EXCLUSIVELY BY DRIVER LAYER FOR WRITING IMMEDIATE DATA STREAM
The disclosure relates to a transitioning buffer to be accessed exclusively by a driver layer for writing immediate data stream. An example method includes: negotiating a number of simultaneous I/O commands allowed in a single session between a storage device and a client device with the client devi...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The disclosure relates to a transitioning buffer to be accessed exclusively by a driver layer for writing immediate data stream. An example method includes: negotiating a number of simultaneous I/O commands allowed in a single session between a storage device and a client device with the client device; pre-allocating a number of immediate data buffers for the single session based on the negotiatednumber of simultaneous I/O commands; receiving a write I/O command with immediate data, wherein the immediate data is transmitted within a single PDU as the I/O command; transitioning the pre-allocated buffers from a network interface state to a driver state in an atomic operation, the driver state enabling the pre-allocated buffers to be accessed by a driver layer of the storage device exclusively, and the atomic operation preventing other I/O commands from transitioning the network interface state of the pre-allocated buffers until the atomic operation is completed; and writing the immediate data to the pre-allocat |
---|