-
公开(公告)号: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.
-
公开(公告)号:US20190155539A1
公开(公告)日:2019-05-23
申请号:US16133961
申请日:2018-09-18
Abstract: A method and apparatus for processing data based on a physical host are provided. A specific embodiment of the method includes: acquiring a read and write request sent by a virtual machine; sending the read and write request to a host machine for processing; starting masking a preset signal interrupting a current process, in response to the host machine completing processing the read and write request; and terminating masking the preset signal in response to completing following: updating a first array recording information of the processed read and write request, updating a second array recording information of completing the acquired read and write request, and informing the virtual machine of a processing result of the read and write request. The embodiment provides a signal masking mechanism, and guarantees data consistency, thereby improving the operating efficiency of a physical host.
-
公开(公告)号:US20180188990A1
公开(公告)日:2018-07-05
申请号:US15722850
申请日:2017-10-02
IPC: G06F3/06
CPC classification number: G06F3/0632 , G06F3/0604 , G06F3/067 , G06F3/0683
Abstract: The present disclosure discloses a method and apparatus for inserting a disk. The method comprises: detecting whether a to-be-inserted disk has a drive letter identifier, wherein the drive letter identifier is acquired by a server through: acquiring a universally unique identifier of the disk; querying a correspondence between the universally unique identifier and a device name, acquiring the device name of the disk, analyzing the device name of the disk to generate a drive letter value of the disk, and generating a drive letter identifier for the disk; acquiring the drive letter value in response to detecting the disk identifier; determining whether the device name associated with the drive letter value is allocated to a different disk; and defining the device name of the disk based on the drive letter value so as to insert the disk if the device name is not allocated to the different disk.
-
-