Method and host for accessing storage device
A storage device and host technology, applied in the computer field, can solve problems such as kernel trapping, affecting access efficiency, and reducing system reliability.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0058] The embodiment of the invention proposes a method for accessing a storage device, which is used in an SDS-based storage system. The SDS-based storage system includes a host and the storage device, such as image 3 As shown, the method includes:
[0059] S301: A software-defined module running in user space in the host intercepts an input / output I / O operation instruction sent by an application program of the host, where the I / O operation instruction carries an access address.
[0060] When the application running in the user space accesses the storage device, it will send an I / O operation instruction to the operating system in the host. The software-defined module can intercept the I / O operation instruction before the I / O operation instruction reaches the operating system kernel, because the software-defined module runs in user space, avoiding the I / O operation instruction into the kernel state.
[0061] S302: The software definition module determines a storage service...
Embodiment 2
[0080] The embodiment of the present invention proposes a method for accessing a storage device, which is used in an SDS-based storage system. The SDS-based storage system includes a host and a storage device. When an I / O operation issued by an application program in the host When the storage service corresponding to the instruction includes an advanced function service, and the I / O operation instruction is a read operation instruction, the software definition module can access the storage device through the method described in the embodiment of the present invention, such as Figure 5 As shown, the method includes:
[0081] S501: A software-defined module running in a user space in the host intercepts an I / O operation instruction sent by an application program of the host, where the I / O operation instruction carries an access address.
[0082] The software-defined module can intercept the I / O operation instruction before the I / O operation instruction reaches the operating sys...
Embodiment 3
[0100] An embodiment of the present invention provides a method for accessing a storage device, which is used in an SDS-based storage system. The SDS-based storage system includes a host and a storage device. When an I / O operation issued by an application in the host is performed When the storage service corresponding to the instruction includes an advanced function service, and the I / O operation instruction is a write operation instruction, the software-defined module can access the storage device through the method described in the embodiment of the present invention, and the method include:
[0101] S601: A software-defined module running in a user space in the host intercepts an I / O operation instruction sent by an application program of the host, where the I / O operation instruction carries an access address.
[0102] S602: The software definition module determines the storage service corresponding to the I / O operation instruction according to the access address.
[0103]...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


