Skip to content
Commit 6ae37339 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFSv4.1: Ask for no delegation on OPEN if using O_DIRECT



If we're using NFSv4.1, then we have the ability to let the server know
whether or not we believe that returning a delegation as part of our OPEN
request would be useful.
The feature needs to be used with care, since the client sending the request
doesn't necessarily know how other clients are using that file, and how
they may be affected by the delegation.
For this reason, our initial use of the feature will be to let the server
know when the client believes that handing out a delegation would not be
useful.
The first application for this function is when opening the file using
O_DIRECT.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent 0e3b137f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment