diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2024-04-23 16:25:40 +0300 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2024-05-06 16:07:21 +0300 |
commit | 924f4fb003ba114c60b3c07a011dcd86a8956cd1 (patch) | |
tree | edef7982c7924aa789fbaf8c8be1e082042b4d27 /include/uapi | |
parent | 9077d59847896745712dff00839eac14f84b21f8 (diff) | |
download | linux-924f4fb003ba114c60b3c07a011dcd86a8956cd1.tar.xz |
NFSD: convert write_threads to netlink command
Introduce write_threads netlink command similar to the one available
through the procfs.
Tested-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Co-developed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/nfsd_netlink.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/uapi/linux/nfsd_netlink.h b/include/uapi/linux/nfsd_netlink.h index 3cd044edee5d..4bbccd5db7cd 100644 --- a/include/uapi/linux/nfsd_netlink.h +++ b/include/uapi/linux/nfsd_netlink.h @@ -30,7 +30,19 @@ enum { }; enum { + NFSD_A_SERVER_THREADS = 1, + NFSD_A_SERVER_GRACETIME, + NFSD_A_SERVER_LEASETIME, + NFSD_A_SERVER_SCOPE, + + __NFSD_A_SERVER_MAX, + NFSD_A_SERVER_MAX = (__NFSD_A_SERVER_MAX - 1) +}; + +enum { NFSD_CMD_RPC_STATUS_GET = 1, + NFSD_CMD_THREADS_SET, + NFSD_CMD_THREADS_GET, __NFSD_CMD_MAX, NFSD_CMD_MAX = (__NFSD_CMD_MAX - 1) |