]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
nfscl: Add an argument to nfscl_tryclose()
authorRick Macklem <rmacklem@FreeBSD.org>
Fri, 15 Oct 2021 21:25:38 +0000 (14:25 -0700)
committerRick Macklem <rmacklem@FreeBSD.org>
Fri, 15 Oct 2021 21:25:38 +0000 (14:25 -0700)
commit77c595ce33a37d321ef35fd840948a2e5fd17c84
treefe7be8e32dbdf2562b0fd6024a4235beafdb5d4d
parent2e85df652caef859c532b7e1e8a178c75f1a4a92
nfscl: Add an argument to nfscl_tryclose()

This patch adds a new argument to nfscl_tryclose() to indicate
whether or not it should loop when a NFSERR_DELAY reply is received
from the NFSv4 server.  Since this new argument is always passed in
as "true" at this time, no semantics change should occur.

This is being done to prepare the code for a future patch that fixes
the case where an NFSv4.1/4.2 server replies NFSERR_DELAY to a Close
operation.

MFC after: 2 week
sys/fs/nfs/nfs_var.h
sys/fs/nfsclient/nfs_clrpcops.c
sys/fs/nfsclient/nfs_clstate.c