I/O REQUEST PROCESSING METHOD IN VIRTUAL MACHINE, DEVICE AND COMPUTER READABLE MEDIUM

    公开(公告)号:US20190129873A1

    公开(公告)日:2019-05-02

    申请号:US16167197

    申请日:2018-10-22

    Abstract: The present disclosure provides an I/O request processing method in a virtual machine, a device and a computer readable medium. The method comprises: when a backend device of a Guest kernel begins to process an I/O request chain submitted by a frontend device of the Guest kernel into a shared I/O processing memory, obtaining a starting position of the I/O request chain in the I/O processing memory; according to the starting position of the I/O request chain, setting an element corresponding to the starting position of the I/O request chain in an I/O state array as a value different from initial values of all positions; upon finishing processing the I/O request chain, setting an element corresponding to the starting position of the I/O request chain in an I/O request state array as a value identical with initial values. According to the technical solution of the present disclosure, it is possible to ensure synchronization of information of the frontend device of the Guest kernel and the backend device of the Guest kernel, and ensure continuation of the processing of the I/O request chain after recovery of the fault of interruption of the backend device of the Guest kernel, without causing the I/O processing to be hung.

Patent Agency Ranking