![确定读写路径的方法和装置](/CN/2015/1/10/images/201510050407.jpg)
基本信息:
- 专利标题: 确定读写路径的方法和装置
- 申请号:CN201510050407.X 申请日:2015-01-30
- 公开(公告)号:CN104598170B 公开(公告)日:2017-12-05
- 发明人: 沈灿泉
- 申请人: 华为技术有限公司
- 申请人地址: 广东省深圳市龙岗区坂田华为总部办公楼
- 专利权人: 华为技术有限公司
- 当前专利权人: 华为技术有限公司
- 当前专利权人地址: 广东省深圳市龙岗区坂田华为总部办公楼
- 代理机构: 北京龙双利达知识产权代理有限公司
- 代理人: 王君; 肖鹂
- 主分类号: G06F3/06
- IPC分类号: G06F3/06 ; G06F12/109
The present invention discloses a read/write path determining method and apparatus. The method is used by a physical host, where the physical host includes a hardware layer, a host host running on the hardware layer, and a virtual machine running on the host, and the host includes a block device and a virtual block device. The method includes: obtaining, by the host, a first read/write request of the virtual machine, where the first read/write request includes a first virtual address; searching for the first virtual address in an address translation information set, where the address translation information set includes a correspondence between a virtual address and information about a physical block device, and the information about the physical block device includes a read/write identifier; and determining to process the first read/write request by using the block device or the virtual block device according to the address translation information set and the first virtual address. According to the read/write path determining method and apparatus in embodiments of the present invention, a proper read/write path is determined according to a read/write request and an address translation information set, so that storage performance and a storage function can be simultaneously considered.
公开/授权文献:
- CN104598170A 确定读写路径的方法和装置 公开/授权日:2015-05-06
IPC结构图谱:
G | 物理 |
--G06 | 计算;推算;计数 |
----G06F | 电数字数据处理 |
------G06F3/00 | 用于将所要处理的数据转变成为计算机能够处理的形式的输入装置;用于将数据从处理机传送到输出设备的输出装置,例如,接口装置 |
--------G06F3/06 | .来自记录载体的数字输入,或者到记录载体上去的数字输出 |