diff options
| author | Christoph Hellwig <hch@lst.de> | 2025-07-18 11:14:49 +0300 |
|---|---|---|
| committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2025-07-22 15:10:41 +0300 |
| commit | 2fb4af5ea3c735a205d97de10f044f809b20af51 (patch) | |
| tree | ab430d89ac093bfe837bc9112c258ed5d5ebbc98 /include/linux | |
| parent | aee077d8edc8b9772b205f4104686d676171e61f (diff) | |
| download | linux-2fb4af5ea3c735a205d97de10f044f809b20af51.tar.xz | |
NFS: track active delegations per-server
The active delegation watermark was added to avoid overloading servers.
Track the active delegation per-server instead of globally so that clients
talking to multiple servers aren't limited by the global limit.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Link: https://lore.kernel.org/r/20250718081509.2607553-5-hch@lst.de
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/nfs_fs_sb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h index d2d36711a119..a9b44f12623f 100644 --- a/include/linux/nfs_fs_sb.h +++ b/include/linux/nfs_fs_sb.h @@ -254,6 +254,7 @@ struct nfs_server { struct list_head state_owners_lru; struct list_head layouts; struct list_head delegations; + atomic_long_t nr_active_delegations; struct list_head ss_copies; struct list_head ss_src_copies; |
