A method and electronic device for processing I/O request
An electronic device and request packet technology, applied in the field of communications, can solve problems such as disk damage and failure of storage device protection software.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0050] First, an I / O request generated by an application program is obtained, the I / O request is converted into an I / O request packet, and information about the I / O request packet is obtained.
[0051] The first driver in the electronic device receives the I / O request packet, obtains the I / O request packet information, judges whether the operation corresponding to the I / O request is a write operation, and obtains the first judgment result, The first judgment result in the embodiment of the present invention indicates that the operation corresponding to the I / O request is a write operation.
[0052] The first processing is performed on the I / O request packet, and the manner of the first processing in the embodiment of the present invention is to record the information of the I / O request packet into a list.
[0053] After recording, the I / O request packet is passed on. The second driver in the electronic device receives an I / O request packet, and judges whether the I / O request ...
Embodiment 2
[0056] First, an I / O request generated by an application program is obtained, the I / O request is converted into an I / O request packet, and information about the I / O request packet is obtained.
[0057] The first driver in the electronic device receives the I / O request packet, obtains the I / O request packet information, judges whether the operation corresponding to the I / O request is a write operation, and obtains the first judgment result, The first judgment result in the embodiment of the present invention indicates that the operation corresponding to the I / O request is a write operation.
[0058] The first processing is performed on the I / O request packet. In the embodiment of the present invention, the first processing is performed by setting the value of the first element in the I / O request packet to a first specific value.
[0059] After recording, the I / O request packet is passed on. The second driver in the electronic device receives an I / O request packet, and judges w...
Embodiment 3
[0062] First, an I / O request generated by an application program is obtained, the I / O request is converted into an I / O request packet, and information about the I / O request packet is obtained.
[0063] The first driver in the electronic device receives the I / O request packet, obtains the I / O request packet information, judges whether the operation corresponding to the I / O request is a write operation, and obtains the first judgment result, The first judgment result in the embodiment of the present invention indicates that the operation corresponding to the I / O request is not a write operation. Then the subsequent processing may not be performed.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 