Method and system for processing file access request on basis of nfs protocol
A file access and protocol processing technology, applied in the computer field, can solve problems such as poor user experience, inability to process requests in priority, and inability to process key requests in a timely manner, so as to improve user experience.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0051] The following introduces Embodiment 1 of a method for processing file access requests based on the nfs protocol provided by the present invention. Embodiment 1 is applied to the NFS server, see figure 1 , Embodiment 1 specifically includes:
[0052] Step S101: Receive a file access request sent by a client.
[0053] Step S102: Analyze the file access request, and determine whether the file access request is a high-priority file access request.
[0054] Step S103: If the file access request is a high-priority file access request, add the high-priority file access request to the request processing queue, wherein the request processing queue includes multiple The file access requests in the request processing queue include high-priority file access requests and non-high-priority file access requests.
[0055] Step S104: During the process of processing each file access request in the request processing queue, determine whether the high-priority file access request has no...
Embodiment 2
[0059] see figure 2 , embodiment two specifically includes:
[0060] Step S201: Receive a file access request sent by a client.
[0061] Step S202: Determine whether the client has the authority to initiate a high-priority file access request.
[0062] Although the file access request is initiated by the client, in order to prevent the client from arbitrarily setting a high-priority file access request, which makes this feature meaningless, this embodiment needs to set a client with high-priority access on the nfs server And files, that is, whether each client has the authority to initiate a high-priority file access request, and which target files or classes are available for each client to initiate a high-priority file access request.
[0063] After the nfs server creates a share, the client needs to mount the shared directory of the nfs server to the local through the file mount protocol to access the file. Specifically, when the client creates an nfs share on the nfs s...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


