| CPC G06F 16/182 (2019.01) [G06F 16/13 (2019.01)] | 18 Claims |

|
12. A method for managing storage of metadata, comprising:
receiving, by a first file system server of a plurality of file system servers managing a file system and from a client device, a request for a file system object of the file system;
in response to the request:
making a determination that a second file system server is to manage the file system object,
wherein the determination is based on a round-robin algorithm, and
wherein the round-robin algorithm comprises a function applied to each of a list consisting of:
a first server base index corresponding to the first file system server,
a directory index field corresponding to an index of the file system object in a directory of the file system, and
a total number of the plurality of file system servers;
based on the determination, generating an index node (I-node) associated with metadata of the file system object,
wherein the I-node comprises:
an object type field corresponding to a type of the file system object,
a second server base index field corresponding to the second file system server, and
the directory index field,
sending the I-node to the second file system server;
obtaining, from the second file system server, data associated with the file system object; and
providing the data to the client device.
|