Skip to content
Commit e567b98c authored by Amir Goldstein's avatar Amir Goldstein Committed by Chuck Lever
Browse files

nfsd: protect concurrent access to nfsd stats counters



nfsd stats counters can be updated by concurrent nfsd threads without any
protection.

Convert some nfsd_stats and nfsd_net struct members to use percpu counters.

The longest_chain* members of struct nfsd_net remain unprotected.

Signed-off-by: default avatarAmir Goldstein <amir73il@gmail.com>
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent 1b76d1df
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment