aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorDai Ngo <[email protected]>2022-05-02 14:19:26 -0700
committerChuck Lever <[email protected]>2022-05-19 12:25:39 -0400
commit27431affb0dbc259ac6ffe6071243a576c8f38f1 (patch)
tree5972b50bc160207231effb90a3f493ebda8ff73b /net/unix/sysctl_net_unix.c
parent2443da2259e97688f93d64d17ab69b15f466078a (diff)
NFSD: add support for lock conflict to courteous server
This patch allows expired client with lock state to be in COURTESY state. Lock conflict with COURTESY client is resolved by the fs/lock code using the lm_lock_expirable and lm_expire_lock callback in the struct lock_manager_operations. If conflict client is in COURTESY state, set it to EXPIRABLE and schedule the laundromat to run immediately to expire the client. The callback lm_expire_lock waits for the laundromat to flush its work queue before returning to caller. Reviewed-by: J. Bruce Fields <[email protected]> Signed-off-by: Dai Ngo <[email protected]> Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions