Disk Access Method and Host
US-2019294379-A1 · Sep 26, 2019 · US
US11249663B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-11249663-B2 |
| Application number | US-202017026280-A |
| Country | US |
| Kind code | B2 |
| Filing date | Sep 20, 2020 |
| Priority date | Jul 17, 2018 |
| Publication date | Feb 15, 2022 |
| Grant date | Feb 15, 2022 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
A host and a storage system communicate with each other by using a NVMeoF protocol are provided. In some embodiments, the host accesses a logical disk of the host by using a control node in the storage system, and sends a state query command to the control node. The state query command is configured to instruct the control node to report a path state of a path corresponding to the control node. Still in those embodiments, the host receives the path state reported by the control node. When the received path state indicates that the logical disk includes an access interval, the host sends an interval query command to the control node; receives access interval information reported by the control node; and records a mapping relationship between the control node and the access interval information.
Opening claim text (preview).
What is claimed is: 1. A data processing method, wherein the method is performed by a host communicating with a storage system through a Non-Volatile Memory express over Fabric (NVMeoF) protocol, the host accessing a logical disk of the storage system through a control node in the storage system, and the method comprises: sending a state query command to the control node, wherein the state query command is configured to instruct the control node to report a path state of a path corresponding to the control node; receiving the path state reported by the control node; when the received path state indicates that the logical disk comprises an access interval, sending an interval query command to the control node; receiving access interval information reported by the control node, wherein an access interval indicated by the access interval information is pre-allocated to the control node; and recording a mapping relationship between the control node and the access interval information. 2. The method according to claim 1 , wherein the method further comprises: receiving an I/O request, wherein the I/O request carries a logical address of to-be-accessed data; determining an access interval corresponding to the logical address; determining, based on the mapping relationship, a control node corresponding to the access interval; and sending the I/O request to the control node corresponding to the access interval. 3. The method according to claim 1 , wherein the access interval query command is defined according to a command of “Get Log Page command Dword 10” in the NVMeoF protocol, and a command identifier of the access interval query command is added to a log page identifier field of the command. 4. The method according to claim 1 , wherein the access interval indicated by the access interval information is a contiguous address space. 5. The method according to claim 1 , wherein the access interval corresponding to the control node comprises a first access sub-interval and a second access sub-interval, and there is a spacing between the first access sub-interval and the second access sub-interval. 6. The method according to claim 1 , wherein the host and the storage system communicate with each other through an external network and sending an interval query command to the control node comprises: encapsulating the interval query command into an external network protocol to obtain an external network protocol interval query command, wherein the access interval belongs to a namespace of the storage system; and sending the external network protocol interval query command to the control node; and, wherein receiving the access interval information reported by the control node comprises: receiving an external network protocol interval response message sent by the control node, wherein the external network protocol interval response message comprises a response to the interval query command, and the response to the interval query command comprises access interval information of the namespace; parsing the external network protocol interval response message to obtain response information of the interval query command; and obtaining, from the response to the interval query command, access interval information of the control node and recording the access interval information. 7. The method according to claim 6 , wherein sending the state query command to the control node comprises: encapsulating the state query command into the external network protocol to obtain an external network protocol state query command; and sending the external network protocol state query command to the control node; and, wherein receiving the path state reported by the control node comprising: receiving an external network protocol state response message sent by the control node, wherein the external network protocol state response message comprises a response to the state query command, the response to the state query command comprises path state information; and parsing the external network protocol state response message to obtain path state information comprised in the state query command. 8. A data processing method, wherein the method is performed by a control node in a storage system, the storage system and a host communicate with each other by using the NVMeoF (Non-Volatile Memory express over Fabric) protocol, the storage system comprises a logical disk, and the method comprises: receiving a state query command sent by the host, wherein the state query command is configured to instruct the control node to report a path state of a path corresponding to the control node; when the logical disk comprises an access interval, reporting, to the host, a path state indicating that the logical disk comprises the access interval; receiving an access interval query command sent by the host based on the path state; and reporting, to the host based on the access interval query command, access interval information of an access interval allocated to the control node to facilitate the host to record a mapping relationship between the access interval information and the control node. 9. The method according to claim 8 , wherein the access interval query command is defined according to a command of “Get Log Page command Dword 10” in the NVMeoF protocol, and a command identifier of the access interval query command is added to a log page identifier field of the command. 10. The method according to claim 8 , wherein the access interval indicated by the access interval information is a contiguous address space. 11. The method according to claim 8 , wherein the access interval corresponding to the control node comprises a first access sub-interval and a second access sub-interval, and there is a spacing between the first access sub-interval and the second access sub-interval. 12. The method according to claim 8 , wherein the host and a storage system communicate with each other through an external network and the reporting access interval information of an access interval allocated to the control node comprises: receiving an external network protocol interval query command sent by the host, and parsing the external network protocol interval query command to obtain the interval query command; generating response information of the interval query command, wherein the response information of the interval query command comprises access interval information corresponding to the control node; encapsulating the response information of the interval query command into the external network protocol to obtain an external network protocol interval response message; and reporting the external network protocol interval response message to the host. 13. The method according to claim 12 , wherein before receiving the external network protocol interval response message sent by the control node, the method further comprises: receiving an external network protocol state query command, and parsing the external network protocol state query command to obtain the state query command; generating response information of the NVMe state query command, and when a namespace comprises an access interval, adding a path state indicating that the namespace comprises the access interval to the response information of the state query command; and encapsulating the state query command to obtain response information of the external network protocol state query command, and reporting the response information of the external network protocol state query command to the host. 14. A host, communicating with a storage system by using a Non-Volatile Memory express over Fabric (NVMeoF) protocol, the host a
Routing a service request depending on the request content or context · CPC title
Conversion or adaptation of application format or content (adding application control or application functional data H04L67/561) · CPC title
for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS] · CPC title
Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP] · CPC title
Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS] · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.