This invention discloses a file creation request
processing method, apparatus, and medium, relating to the field of file servers. It is used to
handle batch file creation requests and addresses the load imbalance problem caused by traditional solutions that use a single FSAL instance to create all files in a
directory. The method provides a file creation request
processing approach that queries the cache for the dentry corresponding to the parent
directory targeted by the current
batch file creation to determine whether all FSAL instances have corresponding
inode information in the dentry. If so, files can be created using that FSAL instance. If not, a corresponding fsal_obj_
handle is created to actively obtain the
inode information. Therefore, this method can complete the creation of a large number of files in a parent
directory on all FSAL instances in NFS, effectively alleviating the problem of FSAL instance load imbalance.