Skip to content
  • J. Bruce Fields's avatar
    lockd: reject reclaims outside the grace period · d22b1cff
    J. Bruce Fields authored
    
    
    The current lockd does not reject reclaims that arrive outside of the
    grace period.
    
    Accepting a reclaim means promising to the client that no conflicting
    locks were granted since last it held the lock.  We can meet that
    promise if we assume the only lockers are nfs clients, and that they are
    sufficiently well-behaved to reclaim only locks that they held before,
    and that only reclaim locks have been permitted so far.  Once we leave
    the grace period (and start permitting non-reclaims), we can no longer
    keep that promise.  So we must start rejecting reclaims at that point.
    
    Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
    d22b1cff