Read/write processing method, read/write processing equipment and read/write processing system
A processing method and a processing device technology, applied in the storage field, can solve problems affecting the processing capabilities of initiator and target devices, occupying FCSAN bus bandwidth, etc., to achieve the effects of reduced occupation, reduced processing load, and reduced interaction
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0038] Embodiment 1 of the present invention provides a read / write processing method, such as figure 1 Shown is a flowchart of the steps of the method, including:
[0039]Step 101, packaging SCSI read / write commands.
[0040] In this step, when the initiating device (the application program in it) needs to carry out discontinuous address space access to the target device, at least two SCSI read / write commands can be packaged in one SCSI packaged read / write command, the described The quantity of at least two SCSI read / write commands is not greater than the unpacking capability of the target device, and the unpacking capability refers to the maximum number of SCSI read / write commands contained in one SCSI packaged read / write command supported by the target device.
[0041] In various embodiments of the present invention, the sub-identification is used to identify each SCSI read / write command, and the sub-identification that has been used to identify the SCSI read / write command ...
Embodiment 2
[0073] In Embodiment 1, the unpacking capability of the target device may be predetermined before step 101. Embodiment 2 of the present invention provides a method for determining the unpacking capability of the target device, such as figure 2 As shown, the initiating device can query the unpacking capability of the target device through the standard Inquire request command in the SCSI command, and the target device can return its unpacking capability to the initiating device through the standard Inquire reply command. Capability, specifically, the target device can return its unpacking capability to the initiating device through a 20-byte (byte) vendor-defined field (Vendor specific field) in the query response command. The Vendor specific domain description is shown in Table 1.
[0074]
[0075] Table 1
[0076] The premise that each embodiment of the present invention can be successfully implemented is that the initiating device and the target device have performed co...
Embodiment 3
[0093] Embodiment 3 of the present invention provides a kind of SCSI read / write command packaging method, the step flow of this method is as follows Figure 4 shown, including:
[0094] Step 301. Determine multiple SCSI read / write commands that need to access the same target device.
[0095] Step 302, determine whether the target device supports packaging of SCSI read / write commands.
[0096] If the target device supports packaging of SCSI read / write commands, continue to execute step 303 . Otherwise, still send the SCSI read / write command to the target device according to the prior art.
[0097] Step 303, determine the number of SCSI read / write commands used for packing this time.
[0098] Specifically, when the maximum number corresponding to the unpacking capability of the target device is greater than the number of sub-identities that can be allocated, the number of sub-identities that can be allocated is determined as the number of SCSI read / write commands used for pac...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 