Disk Access Method and Host
AssigneeHuawei Technologies Co., Ltd.
InventorXiaoyong Xiong
Life of this patent
Estimating the term…
Abstract
A disk access method is provided. The method includes: generating an input/output IO request, where the IO request carries a logical unit number LUN and a virtual address of to-be-accessed data; finding, based on the LUN, an LU to be accessed, and determining, based on the virtual address, a virtual address space into which the virtual address falls; determining, based on the determined virtual address space, an access path corresponding to the virtual address space (S230); and delivering, along the access path, the IO request to a controller pointed by the access path.
Claims12
A disk access method, performed by a host, the host connected to a storage device, at least one logical unit (LU) mounted to the host, each at least one LU comprising at least one virtual address space, and the method comprising:
- generating an input/output (IO) request, the IO request carrying a logical unit number (LUN) and a virtual address of to-be-accessed data;
- finding, based on the LUN, a first LU to be accessed;
- determining, based on the virtual address, a first virtual address space into which the virtual address falls;
- determining, based on the first virtual address space, an access path corresponding to the first virtual address space;
- and
- delivering, along the access path, the IO request to a controller of the storage device to which the access path points.
A disk access method, performed by a host, the host connected to a storage device, at least one logical unit (LU) mounted to the host, each at least one LU comprising at least one virtual address space, and the method comprising:
- generating an input/output (IO) request, the IO request carrying a logical unit number (LUN) and a virtual address of to-be-accessed data;
- finding, based on the LUN, a first LU to be accessed;
- determining, based on the virtual address, a first virtual address space into which the virtual address falls;
- determining, based on the first virtual address space, a controller of the storage device and corresponding to the first virtual address space;
- determining an access path pointing to the controller as an access path of the IO request, the controller being pointed to by the access path and being capable of accessing data corresponding to the first virtual address space;
- and
- delivering, along the access path, the IO request to the controller.
A host, connected to a storage device, wherein at least one logical unit (LU) is mounted to the host, wherein each at least one LU comprises at least one virtual address space, and wherein the host comprises:
- a non-transitory memory storing instructions;
- and
- a processor coupled to the non-transitory memory to execute the instructions to:
- generate an input/output (IO) request, wherein the IO request carries a logical unit number (LUN) and a virtual address of to-be-accessed data;
- find, based on the LUN, a first LU to be accessed;
- determine, based on the virtual address, a first virtual address space into which the virtual address falls;
- determine, based on the first virtual address space, an access path corresponding to the first virtual address space;
- and
- deliver, along the access path, the IO request to a controller of the storage device to which the access path points.
Dependencies are inferred from the claim text.