summaryrefslogtreecommitdiff
path: root/lib/dhry_run.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2024-01-26 12:45:23 -0500
committerChuck Lever <chuck.lever@oracle.com>2024-03-01 09:12:12 -0500
commitfe0e9580e2d4d136d40d03bcdb19a0a2b03a11d9 (patch)
tree5fec000217f46351b692a89a98e64472d8324702 /lib/dhry_run.c
parent961b4b5e86bf56a2e4b567f81682defa5cba957e (diff)
downloadlinux-fe0e9580e2d4d136d40d03bcdb19a0a2b03a11d9.tar.gz
linux-fe0e9580e2d4d136d40d03bcdb19a0a2b03a11d9.tar.bz2
linux-fe0e9580e2d4d136d40d03bcdb19a0a2b03a11d9.zip
NFSD: Convert the callback workqueue to use delayed_work
Normally, NFSv4 callback operations are supposed to be sent to the client as soon as they are queued up. In a moment, I will introduce a recovery path where the server has to wait for the client to reconnect. We don't want a hard busy wait here -- the callback should be requeued to try again in several milliseconds. For now, convert nfsd4_callback from struct work_struct to struct delayed_work, and queue with a zero delay argument. This should avoid behavior changes for current operation. Reviewed-by: Jeff Layton <jlayton@kernel.org> Reviewed-by: Benjamin Coddington <bcodding@redhat.com> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'lib/dhry_run.c')
0 files changed, 0 insertions, 0 deletions