-
公开(公告)号:US10564889B2
公开(公告)日:2020-02-18
申请号: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.
-
公开(公告)号:US10282120B2
公开(公告)日:2019-05-07
申请号:US15722850
申请日:2017-10-02
IPC: G06F3/06
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.
-
公开(公告)号:US10997099B2
公开(公告)日:2021-05-04
申请号:US16167197
申请日:2018-10-22
Inventor: Rui Zhao , Xun Ni , Yongji Xie
Abstract: An I/O request processing method in a virtual machine, a device and a computer readable medium are provided. 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, the method obtains 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, sets 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; and upon finishing processing the I/O request chain, sets 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.
-
-