A method, apparatus and medium for processing file creation requests

By parsing batch file creation requests in the NFS system, querying and creating object handles, and evenly distributing files to each FSAL instance, the load imbalance problem caused by file creation in the directory is solved, thus improving system performance and efficiency.

CN119719047BActive Publication Date: 2026-05-26INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
INSPUR SUZHOU INTELLIGENT TECH CO LTD
Filing Date
2024-12-31
Publication Date
2026-05-26

AI Technical Summary

Technical Problem

In a network file system, when a large number of files are created in a directory, the load on the File System Abstraction Layer (FSAL) instances becomes unbalanced. Some FSAL instances are overloaded while others are idle, resulting in performance imbalance.

Method used

By parsing the batch file creation requests, the parent directory and total number of files to be created are obtained. Directory entries are retrieved from the cache, object handles are obtained or created, and files are distributed to each FSAL instance according to the total number of files. File creation is performed using round-robin or task balancing methods to ensure load balancing for each FSAL instance.

Benefits of technology

This achieves load balancing across FSAL instances in the NFS system, improving file creation efficiency, reducing user waiting time, and enhancing system performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119719047B_ABST
    Figure CN119719047B_ABST
Patent Text Reader

Abstract

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.
Need to check novelty before this filing date? Find Prior Art