Pull nfsd updates from Chuck Lever: "Neil Brown contributed more scalability improvements to NFSD's open file cache, and Jeff Layton contributed a menagerie of repairs to NFSD's NFSv4 callback / backchannel implementation. Mike Snitzer contributed a change to NFS re-export support that disables support for file locking on a re-exported NFSv4 mount. This is because NFSv4 state recovery is currently difficult if not impossible for re-exported NFS mounts. The change aims to prevent data integrity exposures after the re-export server crashes. Work continues on the evolving NFSD netlink administrative API. Many thanks to the contributors, reviewers, testers, and bug reporters who participated during the v6.15 development cycle" * tag 'nfsd-6.15' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux: (45 commits) NFSD: Add a Kconfig setting to enable delegated timestamps sysctl: Fixes nsm_local_state bounds nfsd: use a long for the count in nfsd4_state_shrinker_count() nfsd: remove obsolete comment from nfs4_alloc_stid nfsd: remove unneeded forward declaration of nfsd4_mark_cb_fault() nfsd: reorganize struct nfs4_delegation for better packing nfsd: handle errors from rpc_call_async() nfsd: move cb_need_restart flag into cb_flags nfsd: replace CB_GETATTR_BUSY with NFSD4_CALLBACK_RUNNING nfsd: eliminate cl_ra_cblist and NFSD4_CLIENT_CB_RECALL_ANY nfsd: prevent callback tasks running concurrently nfsd: disallow file locking and delegations for NFSv4 reexport nfsd: filecache: drop the list_lru lock during lock gc scans nfsd: filecache: don't repeatedly add/remove files on the lru list nfsd: filecache: introduce NFSD_FILE_RECENT nfsd: filecache: use list_lru_walk_node() in nfsd_file_gc() nfsd: filecache: use nfsd_file_dispose_list() in nfsd_file_close_inode_sync() NFSD: Re-organize nfsd_file_gc_worker() nfsd: filecache: remove race handling. fs: nfs: acl: Avoid -Wflex-array-member-not-at-end warning ...
Showing the changes to include/uapi/linux (1 of 29 files). Show all
Unified · Split
| @@ -0,0 +1,29 @@ | ||
| 1 | +/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */ | |
| 2 | +/* Do not edit directly, auto-generated from: */ | |
| 3 | +/* Documentation/netlink/specs/lockd.yaml */ | |
| 4 | +/* YNL-GEN uapi header */ | |
| 5 | + | |
| 6 | +#ifndef _UAPI_LINUX_LOCKD_NETLINK_H | |
| 7 | +#define _UAPI_LINUX_LOCKD_NETLINK_H | |
| 8 | + | |
| 9 | +#define LOCKD_FAMILY_NAME "lockd" | |
| 10 | +#define LOCKD_FAMILY_VERSION 1 | |
| 11 | + | |
| 12 | +enum { | |
| 13 | + LOCKD_A_SERVER_GRACETIME = 1, | |
| 14 | + LOCKD_A_SERVER_TCP_PORT, | |
| 15 | + LOCKD_A_SERVER_UDP_PORT, | |
| 16 | + | |
| 17 | + __LOCKD_A_SERVER_MAX, | |
| 18 | + LOCKD_A_SERVER_MAX = (__LOCKD_A_SERVER_MAX - 1) | |
| 19 | +}; | |
| 20 | + | |
| 21 | +enum { | |
| 22 | + LOCKD_CMD_SERVER_SET = 1, | |
| 23 | + LOCKD_CMD_SERVER_GET, | |
| 24 | + | |
| 25 | + __LOCKD_CMD_MAX, | |
| 26 | + LOCKD_CMD_MAX = (__LOCKD_CMD_MAX - 1) | |
| 27 | +}; | |
| 28 | + | |
| 29 | +#endif /* _UAPI_LINUX_LOCKD_NETLINK_H */ | |