diff options
author | NeilBrown <neilb@suse.de> | 2021-04-06 16:07:42 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2021-04-06 16:09:28 -0400 |
commit | d77ece22b3317b103cb6e87f69351710a007fd03 (patch) | |
tree | 79b5f464e9705a8b364d84acdfdbc1236eee45d3 /nfs.conf | |
parent | ac266e2edc4f40eef810d52c72657b645e4010db (diff) | |
download | nfs-utils-d77ece22b3317b103cb6e87f69351710a007fd03.tar.gz |
mountd/exportd: only log confirmed clients, and poll for updates
It is possible (and common with the Linux NFS client) for the nfs server
to receive multiple SET_CLIENT_ID or EXCHANGE_ID requests when starting
a connection. This results in some clients appearing in
/proc/fs/nfsd/clients
which never get confirmed. mountd currently logs these, but they aren't
really helpful.
If the kernel supports the reporting of the confirmation status of
clients, we can suppress the message until a client is confirmed.
With this patch we:
- record if the client is confirmed, assuming it is if the status is
not reported
- don't log unconfirmed clients
- request MODIFY notification from unconfirmed clients.
- recheck an info file when it is modified.
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'nfs.conf')
0 files changed, 0 insertions, 0 deletions