diff options
author | John Baldwin <jhb@FreeBSD.org> | 2020-06-26 00:01:31 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2020-06-26 00:01:31 +0000 |
commit | 94578db2185a012427b80380adc5e418af46723b (patch) | |
tree | 1886bc94734136b18927fdb034281652890853cb /sys/fs/nfs/nfs_var.h | |
parent | dae61c9d09a79fc93c9486c212a586512339e6a0 (diff) | |
download | src-94578db2185a012427b80380adc5e418af46723b.tar.gz src-94578db2185a012427b80380adc5e418af46723b.zip |
Reduce contention on per-adapter lock.
- Move temporary sglists into the session structure and protect them
with a per-session lock instead of a per-adapter lock.
- Retire an unused session field, and move a debugging field under
INVARIANTS to avoid using the session lock for completion handling
when INVARIANTS isn't enabled.
- Use counter_u64 for per-adapter statistics.
Note that this helps for cases where multiple sessions are used
(e.g. multiple IPsec SAs or multiple KTLS connections). It does not
help for workloads that use a single session (e.g. a single GELI
volume).
Reviewed by: np
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D25457
Notes
Notes:
svn path=/head/; revision=362637
Diffstat (limited to 'sys/fs/nfs/nfs_var.h')
0 files changed, 0 insertions, 0 deletions