• Trond Myklebust's avatar
    NFSv4.1: Ask for no delegation on OPEN if using O_DIRECT · 6ae37339
    Trond Myklebust authored
    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>
    6ae37339
nfs4xdr.c 194 KB