aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4state.c
AgeCommit message (Expand)AuthorFilesLines
5 daysMerge tag 'nfsd-6.19' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linuxLinus Torvalds1-48/+37
10 daysMerge tag 'vfs-6.19-rc1.directory.delegations' of git://git.kernel.org/pub/sc...Linus Torvalds1-1/+102
2025-11-17nfsd: stop pretending that we cache the SEQUENCE reply.NeilBrown1-40/+18
2025-11-16nfsd: delete unreachable confusing code in nfs4_open_delegation()Matvey Kovalev1-5/+0
2025-11-16nfsd: change nfs4_client_to_reclaim() to allocate dataNeilBrown1-3/+19
2025-11-12nfsd: wire up GET_DIR_DELEGATION handlingJeff Layton1-0/+100
2025-11-12nfsd: allow DELEGRETURN on directoriesJeff Layton1-1/+2
2025-11-10nfsd: ensure SEQUENCE replay sends a valid reply.NeilBrown1-17/+33
2025-11-10NFSD: Never cache a COMPOUND when the SEQUENCE operation failsChuck Lever1-1/+14
2025-11-10NFSD: free copynotify stateid in nfs4_free_ol_stateid()Olga Kornievskaia1-1/+2
2025-10-21Revert "NFSD: Remove the cap on number of operations per NFSv4 COMPOUND"Chuck Lever1-0/+1
2025-09-21nfsd: freeze c/mtime updates with outstanding WRITE_ATTRS delegationJeff Layton1-0/+42
2025-09-21nfsd: fix timestamp updates in CB_GETATTRJeff Layton1-6/+5
2025-09-21nfsd: fix SETATTR updates for delegated timestampsJeff Layton1-13/+11
2025-09-21nfsd: track original timestamps in nfs4_delegationJeff Layton1-3/+8
2025-09-21nfsd: use ATTR_CTIME_SET for delegated ctime updatesJeff Layton1-3/+3
2025-07-14NFSD: Remove the cap on number of operations per NFSv4 COMPOUNDChuck Lever1-1/+0
2025-07-14NFSD: detect mismatch of file handle and delegation stateid in OPEN opDai Ngo1-0/+14
2025-07-14nfsd: handle get_client_locked() failure in nfsd4_setclientid_confirm()Jeff Layton1-5/+15
2025-07-14NFSD: release read access of nfs4_file when a write delegation is returnedDai Ngo1-1/+8
2025-07-14NFSD: Offer write delegation for OPEN with OPEN4_SHARE_ACCESS_WRITEDai Ngo1-28/+47
2025-05-15NFSD: Remove NFSD_BUFSIZEChuck Lever1-1/+1
2025-05-11NFSD: Implement CB_SEQUENCE referring call listsChuck Lever1-17/+21
2025-04-13nfsd: decrease sc_count directly if fail to queue dl_recallLi Lingfeng1-1/+1
2025-03-14NFSD: Add a Kconfig setting to enable delegated timestampsChuck Lever1-2/+14
2025-03-10nfsd: use a long for the count in nfsd4_state_shrinker_count()Jeff Layton1-1/+1
2025-03-10nfsd: remove obsolete comment from nfs4_alloc_stidJeff Layton1-9/+0
2025-03-10nfsd: replace CB_GETATTR_BUSY with NFSD4_CALLBACK_RUNNINGJeff Layton1-8/+9
2025-03-10nfsd: eliminate cl_ra_cblist and NFSD4_CLIENT_CB_RECALL_ANYJeff Layton1-13/+3
2025-03-10nfsd: prevent callback tasks running concurrentlyJeff Layton1-4/+10
2025-03-10nfsd: disallow file locking and delegations for NFSv4 reexportMike Snitzer1-0/+18
2025-03-10nfsd: put dl_stid if fail to queue dl_recallLi Lingfeng1-1/+11
2025-03-10nfsd: allow SC_STATUS_FREEABLE when searching via nfs4_lookup_stateid()Jeff Layton1-4/+2
2025-03-10NFSD: Skip sending CB_RECALL_ANY when the backchannel isn't upChuck Lever1-7/+12
2025-03-10nfsd: adjust WARN_ON_ONCE in revoke_delegationOlga Kornievskaia1-1/+2
2025-02-10nfsd: fix uninitialised slot info when a request is retriedNeilBrown1-1/+2
2025-01-21nfsd: implement OPEN_ARGS_SHARE_ACCESS_WANT_OPEN_XOR_DELEGATIONJeff Layton1-1/+23
2025-01-21nfsd: handle delegated timestamps in SETATTRJeff Layton1-1/+1
2025-01-21nfsd: add support for delegated timestampsJeff Layton1-14/+85
2025-01-21nfsd: rework NFS4_SHARE_WANT_* flag handlingJeff Layton1-2/+2
2025-01-21nfsd: prepare delegation code for handing out *_ATTRS_DELEG delegationsJeff Layton1-15/+28
2025-01-21nfsd: rename NFS4_SHARE_WANT_* constants to OPEN4_SHARE_ACCESS_WANT_*Jeff Layton1-8/+8
2025-01-21nfsd: switch to autogenerated definitions for open_delegation_type4Jeff Layton1-17/+17
2025-01-06nfsd: add shrinker to reduce number of slots allocated per sessionNeilBrown1-5/+72
2025-01-06nfsd: add support for freeing unused session-DRC slotsNeilBrown1-10/+84
2025-01-06nfsd: allocate new session-based DRC slots on demand.NeilBrown1-5/+32
2025-01-06nfsd: add session slot count to /proc/fs/nfsd/clients/*/infoNeilBrown1-0/+8
2025-01-06nfsd: remove artificial limits on the session-based DRCNeilBrown1-78/+16
2025-01-06nfsd: use an xarray to store v4.1 session slotsNeilBrown1-10/+18
2025-01-06NFSD: Clean up unused variableChuck Lever1-2/+0
2025-01-06nfsd: use new wake_up_var interfaces.NeilBrown1-10/+6
2024-11-26Merge tag 'nfsd-6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linuxLinus Torvalds1-45/+82
2024-11-18nfsd: allow for up to 32 callback session slotsJeff Layton1-3/+11
2024-11-18nfsd: fix nfs4_openowner leak when concurrent nfsd4_open occurYang Erkun1-0/+19
2024-11-18NFSD: Add a laundromat reaper for async copy stateChuck Lever1-0/+1
2024-11-18NFSD: Block DESTROY_CLIENTID only when there are ongoing async COPY operationsChuck Lever1-1/+1
2024-11-18nfsd: make nfsd4_session->se_flags a boolJeff Layton1-3/+3
2024-11-18nfsd: remove nfsd4_session->se_bchannelJeff Layton1-2/+0
2024-11-18nfsd: Don't fail OP_SETCLIENTID when there are too many clients.NeilBrown1-8/+3
2024-11-18NFSD: Remove dead code in nfsd4_create_session()Chuck Lever1-3/+0
2024-11-18NFSD: Replace use of NFSD_MAY_LOCK in nfsd4_lock()Chuck Lever1-4/+2
2024-11-18nfsd: replace call_rcu by kfree_rcu for simple kmem_cache_free callbackJulia Lawall1-8/+1
2024-11-18nfsd: Fill NFSv4.1 server implementation fields in OP_EXCHANGE_ID responsePali Rohár1-0/+31
2024-11-18Merge tag 'vfs-6.13.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vf...Linus Torvalds1-15/+4
2024-11-11nfsd: have nfsd4_deleg_getattr_conflict pass back write deleg pointerJeff Layton1-9/+8
2024-11-11nfsd: drop the ncf_cb_bmap fieldJeff Layton1-1/+0
2024-11-11nfsd: drop inode parameter from nfsd4_change_attribute()Jeff Layton1-3/+2
2024-10-21nfsd: cancel nfsd_shrinker_work using sync mode in nfs4_state_shutdown_netYang Erkun1-1/+1
2024-10-18nfsd: fix race between laundromat and free_stateidOlga Kornievskaia1-8/+40
2024-10-05nfsd: fix possible badness in FREE_STATEIDOlga Kornievskaia1-0/+1
2024-10-02Merge patch series "Fixup NLM and kNFSD file lock callbacks"Christian Brauner1-15/+4
2024-10-01NLM/NFSD: Fix lock notifications for async-capable filesystemsBenjamin Coddington1-15/+4
2024-09-20nfsd: fix delegation_blocked() to block correctly for at least 30 secondsNeilBrown1-2/+3
2024-09-20nfsd: fix initial getattr on write delegationJeff Layton1-8/+25
2024-09-20nfsd: untangle code in nfsd4_deleg_getattr_conflict()NeilBrown1-69/+62
2024-09-20NFSD: Limit the number of concurrent async COPY operationsChuck Lever1-0/+1
2024-09-20nfsd: avoid races with wake_up_var()NeilBrown1-1/+4
2024-09-20nfsd: use clear_and_wake_up_bit()NeilBrown1-2/+1
2024-09-20nfsd: add more nfsd_cb tracepointsJeff Layton1-0/+3
2024-09-20nfsd: track the main opcode for callbacksJeff Layton1-0/+4
2024-09-20nfsd: fix some spelling errors in commentsLi Lingfeng1-2/+2
2024-09-20nfsd: use LIST_HEAD() to simplify codeHongbo Li1-7/+3
2024-09-20NFSD: remove redundant assignment operationLi Lingfeng1-1/+0
2024-09-20nfsd: Add quotes to client info 'callback address'Mark Grimes1-1/+1
2024-09-20nfsd: use nfsd_v4client() in nfsd_breaker_owns_lease()NeilBrown1-5/+2
2024-09-20nfsd: Pass 'cred' instead of 'rqstp' to some functions.NeilBrown1-1/+2
2024-09-20nfsd: don't assume copy notify when preprocessing the stateidSagi Grimberg1-5/+1
2024-09-01nfsd: don't EXPORT_SYMBOL nfsd4_ssc_init_umount_work()NeilBrown1-1/+0
2024-08-30nfsd: fix nfsd4_deleg_getattr_conflict in presence of third party leaseNeilBrown1-2/+9
2024-08-26fs/nfsd: fix update of inode attrs in CB_GETATTRJeff Layton1-5/+13
2024-08-26nfsd: fix potential UAF in nfsd4_cb_getattr_releaseJeff Layton1-1/+1
2024-08-26nfsd: hold reference to delegation when updating it for cb_getattrJeff Layton1-3/+7
2024-08-23nfsd: prevent panic for nfsv4.0 closed files in nfs4_show_openOlga Kornievskaia1-9/+12
2024-05-06nfsd: optimise recalculate_deny_mode() for a common caseNeilBrown1-1/+6
2024-05-06nfsd: add tracepoint in mark_client_expired_lockedJeff Layton1-1/+5
2024-05-06nfsd: new tracepoint for check_slot_seqidChuck Lever1-7/+7
2024-05-06NFSD: Move callback_wq into struct nfs4_clientChuck Lever1-7/+7
2024-05-06nfsd: drop st_mutex before calling move_to_close_lru()NeilBrown1-4/+7
2024-05-06nfsd: replace rp_mutex to avoid deadlock in move_to_close_lru()NeilBrown1-7/+31
2024-05-06nfsd: move nfsd4_cstate_assign_replay() earlier in open handling.NeilBrown1-6/+3
2024-05-06nfsd: perform all find_openstateowner_str calls in the one place.NeilBrown1-53/+40
2024-04-06Merge tag 'nfsd-6.9-2' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/l...Linus Torvalds1-5/+2
2024-04-05nfsd: hold a lighter-weight client reference over CB_RECALL_ANYJeff Layton1-5/+2
2024-03-28Merge tag 'nfsd-6.9-1' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/l...Linus Torvalds1-11/+25
2024-03-27NFSD: CREATE_SESSION must never cache NFS4ERR_DELAY repliesChuck Lever1-11/+25
2024-03-12Merge tag 'nfsd-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linuxLinus Torvalds1-223/+603
2024-03-11Merge tag 'vfs-6.9.file' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs...Linus Torvalds1-61/+63
2024-03-05NFSD: send OP_CB_RECALL_ANY to clients when number of delegations reaches its...Dai Ngo1-0/+3
2024-03-01nfsd: Fix NFSv3 atomicity bugs in nfsd_setattr()Trond Myklebust1-1/+1
2024-03-01NFSD: OP_CB_RECALL_ANY should recall both read and write delegationsDai Ngo1-0/+2
2024-03-01NFSD: handle GETATTR conflict with write delegationDai Ngo1-10/+105
2024-03-01NFSD: Document the phases of CREATE_SESSIONChuck Lever1-0/+6
2024-03-01NFSD: Fix the NFSv4.1 CREATE_SESSION operationChuck Lever1-26/+31
2024-03-01nfsd: Simplify the allocation of slab caches in nfsd4_init_slabsKunwu Chan1-14/+7
2024-03-01nfsd: don't call locks_release_private() twice concurrentlyNeilBrown1-1/+1
2024-03-01nfsd: allow layout state to be admin-revoked.NeilBrown1-2/+9
2024-03-01nfsd: allow delegation state ids to be revoked and then freedNeilBrown1-3/+25
2024-03-01nfsd: allow open state ids to be revoked and then freedNeilBrown1-1/+24
2024-03-01nfsd: allow lock state ids to be revoked and then freedNeilBrown1-1/+39
2024-03-01nfsd: allow admin-revoked NFSv4.0 state to be freed.NeilBrown1-1/+97
2024-03-01nfsd: report in /proc/fs/nfsd/clients/*/states when state is admin-revokeNeilBrown1-1/+9
2024-03-01nfsd: allow state with no file to appear in /proc/fs/nfsd/clients/*/statesNeilBrown1-60/+58
2024-03-01nfsd: prepare for supporting admin-revocation of stateNeilBrown1-1/+84
2024-03-01nfsd: split sc_status out of sc_typeNeilBrown1-105/+102
2024-03-01nfsd: avoid race after unhash_delegation_locked()NeilBrown1-10/+10
2024-03-01nfsd: don't call functions with side-effecting inside WARN_ON()NeilBrown1-5/+5
2024-03-01nfsd: hold ->cl_lock for hash_delegation_locked()NeilBrown1-0/+3
2024-03-01nfsd: remove stale comment in nfs4_show_deleg()NeilBrown1-1/+0
2024-03-01NFSD: Add nfsd_seq4_status trace eventChuck Lever1-0/+1
2024-03-01nfsd: make all of the nfsd stats per-network namespaceJosef Bacik1-1/+2
2024-02-05nfsd: don't take fi_lock in nfsd_break_deleg_cb()NeilBrown1-6/+5
2024-02-05filelock: don't do security checks on nfsd setlease callsJeff Layton1-4/+4
2024-02-05filelock: split leases out of struct file_lockJeff Layton1-13/+14
2024-02-05nfsd: adapt to breakup of struct file_lockJeff Layton1-34/+35
2024-02-05nfsd: convert to using new filelock helpersJeff Layton1-16/+16
2024-01-24nfsd: fix RELEASE_LOCKOWNERNeilBrown1-11/+15
2024-01-07nfsd: remove unnecessary NULL checkDan Carpenter1-1/+1
2023-12-20Merge tag 'nfsd-6.7-2' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/l...Linus Torvalds1-103/+11
2023-12-18NFSD: Revert 6c41d9a9bd0298002805758216a9c44e38a8500dChuck Lever1-103/+11
2023-11-18Merge tag 'nfsd-6.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/l...Linus Torvalds1-1/+1
2023-11-17nfsd: fix file memleak on client_opens_releaseMahmoud Adam1-1/+1
2023-11-02Merge tag 'mm-stable-2023-11-01-14-33' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-8/+11
2023-10-16NFSD: clean up alloc_init_deleg()Sicong Huang1-2/+4
2023-10-16nfsd: Clean up errors in nfs4state.cKaiLong Wang1-2/+2
2023-10-16NFSD: Add nfsd4_encode_open_read_delegation4()Chuck Lever1-3/+3
2023-10-16NFSD: Remove a layering violation when encoding lock_deniedChuck Lever1-0/+16
2023-10-16NFSD: handle GETATTR conflict with write delegationDai Ngo1-11/+103
2023-10-16lockd: introduce safe async lock opAlexander Aring1-3/+7
2023-10-04nfsd: dynamically allocate the nfsd-client shrinkerQi Zheng1-8/+11
2023-08-29NFSD: Enable write delegation supportDai Ngo1-20/+77
2023-08-29NFSD: handle GETATTR conflict with write delegationDai Ngo1-0/+65
2023-08-04nfsd: Fix race to FREE_STATEID and cl_revokedBenjamin Coddington1-1/+1
2023-07-18nfsd: Remove incorrect check in nfsd4_validate_stateidTrond Myklebust1-2/+0
2023-02-22Merge tag 'nfsd-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linuxLinus Torvalds1-47/+83
2023-02-20Merge tag 'locks-v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/jlayt...Linus Torvalds1-2/+2
2023-02-20nfsd: fix courtesy client with deny mode handling in nfs4_upgrade_openJeff Layton1-10/+11
2023-02-20NFSD: fix problems with cleanup on errors in nfsd4_copyDai Ngo1-2/+3
2023-02-20nfsd: don't hand out delegation on setuid files being opened for writeJeff Layton1-0/+27
2023-02-20nfsd: eliminate __nfs4_get_fdJeff Layton1-13/+7
2023-02-20nfsd: add some kerneldoc comments for stateid preprocessing functionsJeff Layton1-4/+25
2023-02-20nfsd: eliminate find_deleg_file_lockedJeff Layton1-10/+1
2023-02-20nfsd: fix potential race in nfs4_find_fileJeff Layton1-6/+9
2023-02-20nfsd: allow nfsd_file_get to sanely handle a NULL pointerJeff Layton1-3/+1
2023-02-15Merge tag 'nfsd-6.2-6' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/l...Linus Torvalds1-1/+1
2023-02-11nfsd: don't destroy global nfs4_file table in per-net shutdownJeff Layton1-1/+1
2023-01-17Merge tag 'nfsd-6.2-4' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/l...Linus Torvalds1-15/+15
2023-01-12NFSD: replace delayed_work with work_struct for nfsd_client_shrinkerDai Ngo1-4/+4
2023-01-11NFSD: register/unregister of nfsd-client shrinker at nfsd startup/shutdown timeDai Ngo1-11/+11
2023-01-11fs: remove locks_inodeJeff Layton1-2/+2
2023-01-10Merge tag 'nfsd-6.2-3' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/l...Linus Torvalds1-12/+4
2023-01-06nfsd: fix handling of cached open files in nfsd4_open codepathJeff Layton1-12/+4
2022-12-12Merge tag 'nfsd-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linuxLinus Torvalds1-109/+232
2022-12-10NFSD: add CB_RECALL_ANY tracepointsDai Ngo1-0/+2
2022-12-10NFSD: add delegation reaper to react to low memory conditionDai Ngo1-4/+84
2022-12-10NFSD: refactoring courtesy_client_reaper to a generic low memory shrinkerDai Ngo1-9/+16
2022-12-10NFSD: Use struct_size() helper in alloc_session()Xiu Jianfeng1-5/+4
2022-11-30nfsd: use locks_inode_context helperJeff Layton1-3/+3
2022-11-28NFSD: Use rhashtable for managing nfs4_file objectsChuck Lever1-35/+62
2022-11-28NFSD: Refactor find_file()Chuck Lever1-21/+15
2022-11-28NFSD: Clean up find_or_add_file()Chuck Lever1-36/+28
2022-11-28NFSD: Add a nfsd4_file_hash_remove() helperChuck Lever1-1/+7
2022-11-28NFSD: Clean up nfsd4_init_file()Chuck Lever1-6/+4
2022-11-28NFSD: Update file_hashtbl() helpersChuck Lever1-2/+2
2022-11-28NFSD: Trace delegation revocationsChuck Lever1-0/+2
2022-11-28NFSD: Trace stateids returned via DELEGRETURNChuck Lever1-0/+1
2022-11-28NFSD: Revert "NFSD: NFSv4 CLOSE should release an nfsd_file immediately"Chuck Lever1-2/+2
2022-11-28nfsd: don't call nfsd_file_put from client states seqfile displayJeff Layton1-18/+33
2022-11-11Merge tag 'nfsd-6.1-4' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/l...Linus Torvalds1-0/+1
2022-11-08nfsd: put the export reference in nfsd4_verify_deleg_dentryJeff Layton1-0/+1
2022-10-11treewide: use get_random_u32() when possibleJason A. Donenfeld1-2/+2
2022-09-26nfsd: extra checks when freeing delegation stateidsJeff Layton1-1/+6
2022-09-26nfsd: make nfsd4_run_cb a bool return functionJeff Layton1-3/+2
2022-09-26nfsd: fix comments about spinlock handling with delegationsJeff Layton1-2/+2
2022-09-26nfsd: only fill out return pointer on success in nfsd4_lookup_stateidJeff Layton1-4/+6
2022-09-26NFSD: fix use-after-free on source server when doing inter-server copyDai Ngo1-0/+5
2022-09-26NFSD: Rename the fields in copy_stateid_tChuck Lever1-15/+15
2022-09-26nfsd: use DEFINE_SHOW_ATTRIBUTE to define client_info_fopsChenXiaoSong1-12/+2
2022-09-26NFSD: add shrinker to reap courtesy clients on low memory conditionDai Ngo1-8/+86
2022-09-26NFSD: keep track of the number of courtesy clients in the systemDai Ngo1-1/+16
2022-09-26NFSD: Add a mechanism to wait for a DELEGRETURNChuck Lever1-0/+30