CPC G06F 3/0607 (2013.01) [G06F 3/067 (2013.01); G06F 3/0631 (2013.01); G06F 3/0643 (2013.01); G06F 3/0652 (2013.01); G06F 16/13 (2019.01)] | 18 Claims |
1. A file management method, comprising:
receiving, by a distributed storage system, a file access request from a host to access a file stored in the distributed storage system, the distributed storage system comprising multiple storage nodes, the file access request comprising information about a first global virtual space in a global virtual address space of the distributed storage system, wherein the information about the first global virtual space comprises a file start address and a file size of the file in the global virtual address space;
determining, by the distributed storage system from the multiple storage nodes, a first storage node storing the file according to the information about the first global virtual space, the information about the first global virtual space being mapped to a first local virtual address space of the first storage node, and the first local virtual address space of the first storage node being mapped to a first local physical storage space of the first storage node for storing the file; and
sending, by the distributed storage system, the file access request to the first storage node for accessing the file.
|