linux-nfs / nfsd

Linux kernel source tree
Other
0 stars 0 forks source link

Generic deferral mechanism to wait for callback responses outside of nfsd thread context #71

Open chucklever opened 5 months ago

chucklever commented 5 months ago

Right now, NFSD uses a 30ms wait (in nfsd thread context) for callback responses, and then proceeds to recall or return NFS4ERR_DELAY if the client has not responded. We don’t wait longer because that ties up an RPC execution resource — if enough threads are waiting for callbacks, the server can’t respond to incoming requests.

One thing to look at is whether the existing svc_defer() mechanism can handle these waits.