diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2008-02-06 21:05:12 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2008-10-03 22:19:20 +0200 |
commit | d22b1cff099737f74f3ac5950094508b4cddec1e (patch) | |
tree | d93e297275719fd4a1b7a7a6731bf3befd44a5a6 /fs/lockd/host.c | |
parent | lockd: move grace period checks to common code (diff) | |
download | linux-d22b1cff099737f74f3ac5950094508b4cddec1e.tar.xz linux-d22b1cff099737f74f3ac5950094508b4cddec1e.zip |
lockd: reject reclaims outside the grace period
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: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs/lockd/host.c')
0 files changed, 0 insertions, 0 deletions