OSDN Git Service

NFSD: add support for share reservation conflict to courteous server
authorDai Ngo <dai.ngo@oracle.com>
Mon, 2 May 2022 21:19:22 +0000 (14:19 -0700)
committerChuck Lever <chuck.lever@oracle.com>
Thu, 19 May 2022 16:25:39 +0000 (12:25 -0400)
commit3d69427151806656abf129342028f3f4e5e1fee0
tree4d8164aa5455f52e4b6fad9d8777b51c1e9de876
parent66af25799940b26efd41ea6e648f75c41a48a2c2
NFSD: add support for share reservation conflict to courteous server

This patch allows expired client with open state to be in COURTESY
state. Share/access conflict with COURTESY client is resolved by
setting COURTESY client to EXPIRABLE state, schedule laundromat
to run and returning nfserr_jukebox to the request client.

Reviewed-by: J. Bruce Fields <bfields@fieldses.org>
Signed-off-by: Dai Ngo <dai.ngo@oracle.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4state.c