diff options
author | Jeff Layton <jlayton@kernel.org> | 2024-06-14 14:59:10 +0200 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2024-07-08 20:10:05 +0200 |
commit | 00506072d70829196849e835ee4ef0b350b61fb9 (patch) | |
tree | db47e751ee8dc33ba44ebe54f737ae9d86537814 /Documentation/netlink/specs/nfsd.yaml | |
parent | sunrpc: refactor pool_mode setting code (diff) | |
download | linux-00506072d70829196849e835ee4ef0b350b61fb9.tar.xz linux-00506072d70829196849e835ee4ef0b350b61fb9.zip |
nfsd: new netlink ops to get/set server pool_mode
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'Documentation/netlink/specs/nfsd.yaml')
-rw-r--r-- | Documentation/netlink/specs/nfsd.yaml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Documentation/netlink/specs/nfsd.yaml b/Documentation/netlink/specs/nfsd.yaml index 6bda7a467301..c87658114852 100644 --- a/Documentation/netlink/specs/nfsd.yaml +++ b/Documentation/netlink/specs/nfsd.yaml @@ -115,6 +115,15 @@ attribute-sets: type: nest nested-attributes: sock multi-attr: true + - + name: pool-mode + attributes: + - + name: mode + type: string + - + name: npools + type: u32 operations: list: @@ -195,3 +204,21 @@ operations: reply: attributes: - addr + - + name: pool-mode-set + doc: set the current server pool-mode + attribute-set: pool-mode + flags: [ admin-perm ] + do: + request: + attributes: + - mode + - + name: pool-mode-get + doc: get info about server pool-mode + attribute-set: pool-mode + do: + reply: + attributes: + - mode + - npools |