• Dai Ngo's avatar
    NFSD: handle GETATTR conflict with write delegation · fd19ca36
    Dai Ngo authored
    If the GETATTR request on a file that has write delegation in effect and
    the request attributes include the change info and size attribute then
    the write delegation is recalled. If the delegation is returned within
    30ms then the GETATTR is serviced as normal otherwise the NFS4ERR_DELAY
    error is returned for the GETATTR.
    
    Add counter for write delegation recall due to conflict GETATTR. This is
    used to evaluate the need to implement CB_GETATTR to adoid recalling the
    delegation with conflit GETATTR.
    Signed-off-by: default avatarDai Ngo <dai.ngo@oracle.com>
    Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
    fd19ca36
state.h 24.7 KB