aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4state.c
AgeCommit message (Expand)AuthorFilesLines
14 daysnfsd: optimise recalculate_deny_mode() for a common caseNeilBrown1-1/+6
14 daysnfsd: add tracepoint in mark_client_expired_lockedJeff Layton1-1/+5
14 daysnfsd: new tracepoint for check_slot_seqidChuck Lever1-7/+7
14 daysNFSD: Move callback_wq into struct nfs4_clientChuck Lever1-7/+7
14 daysnfsd: drop st_mutex before calling move_to_close_lru()NeilBrown1-4/+7
14 daysnfsd: replace rp_mutex to avoid deadlock in move_to_close_lru()NeilBrown1-7/+31
14 daysnfsd: move nfsd4_cstate_assign_replay() earlier in open handling.NeilBrown1-6/+3
14 daysnfsd: 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
2022-09-26NFSD: Add tracepoints to report NFSv4 callback completionsChuck Lever1-0/+4
2022-08-04NFSD: use (un)lock_inode instead of fh_(un)lock for file operationsNeilBrown1-4/+5
2022-08-04NFSD: reduce locking in nfsd_lookup()NeilBrown1-3/+0
2022-07-29NFSD: introduce struct nfsd_attrsNeilBrown1-1/+4
2022-07-29NFSD: verify the opened dentry after setting a delegationJeff Layton1-5/+49
2022-07-29NFSD: drop fh argument from alloc_init_delegJeff Layton1-8/+6
2022-07-29NFSD: limit the number of v4 clients to 1024 per 1GB of system memoryDai Ngo1-6/+21
2022-07-29NFSD: keep track of the number of v4 clients in the systemDai Ngo1-2/+8
2022-07-29NFSD: refactoring v4 specific code to a helper in nfs4state.cDai Ngo1-0/+12
2022-07-29NFSD: Ensure nf_inode is never dereferencedChuck Lever1-1/+1
2022-07-29NFSD: NFSv4 CLOSE should release an nfsd_file immediatelyChuck Lever1-2/+2
2022-07-29NFSD: Separate tracepoints for acquire and createChuck Lever1-0/+1
2022-05-26NFSD: Add documenting comment for nfsd4_release_lockowner()Chuck Lever1-3/+20
2022-05-26NFSD: Modernize nfsd4_release_lockowner()Chuck Lever1-25/+11
2022-05-26NFSD: Fix possible sleep during nfsd4_release_lockowner()Chuck Lever1-8/+4
2022-05-23NFSD: Move documenting comment for nfsd4_process_open2()Chuck Lever1-0/+12
2022-05-23NFSD: Instantiate a struct file when creating a regular NFSv4 fileChuck Lever1-3/+13
2022-05-19NFSD: Show state of courtesy client in client infoDai Ngo1-1/+8
2022-05-19NFSD: add support for lock conflict to courteous serverDai Ngo1-16/+54
2022-05-19NFSD: move create/destroy of laundry_wq to init_nfsd and exit_nfsdDai Ngo1-12/+16
2022-05-19NFSD: add support for share reservation conflict to courteous serverDai Ngo1-8/+101
2022-05-19NFSD: add courteous server support for thread with only delegationDai Ngo1-15/+67
2022-03-11NFSD: Fix nfsd_breaker_owns_lease() return valuesChuck Lever1-2/+10
2022-03-11NFSD: Clean up _lm_ operation namesChuck Lever1-4/+4
2022-01-28nfsd: nfsd4_setclientid_confirm mistakenly expires confirmed client.Dai Ngo1-1/+3
2022-01-08nfsd: fix crash on COPY_NOTIFY with special stateidJ. Bruce Fields1-1/+5
2022-01-08nfsd4: add refcount for nfsd4_blocked_lockVasily Averin1-3/+22
2022-01-08nfs: block notification on fs with its own ->lockJ. Bruce Fields1-6/+12
2022-01-08nfsd: improve stateid access bitmask documentationJ. Bruce Fields1-4/+10
2021-12-10nfsd: fix use-after-free due to delegation raceJ. Bruce Fields1-2/+7
2021-11-10Merge tag 'nfsd-5.16' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-3/+3
2021-10-02NFSD: Initialize pointer ni with NULL and not plain integer 0Colin Ian King1-1/+1
2021-10-02NFSD: simplify struct nfsfhNeilBrown1-2/+2
2021-09-22Merge tag 'nfsd-5.15-2' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/...Linus Torvalds1-3/+13
2021-09-17nfsd: back channel stuck in SEQ4_STATUS_CB_PATH_DOWNDai Ngo1-3/+13
2021-08-31Merge tag 'nfsd-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linuxLinus Torvalds1-6/+14
2021-08-26nfsd: fix crash on LOCKT on reexported NFSv3J. Bruce Fields1-2/+3
2021-08-26nfs: don't allow reexport reclaimsJ. Bruce Fields1-0/+3
2021-08-26nfs: don't atempt blocking locks on nfs reexportsJ. Bruce Fields1-2/+6
2021-08-23fs: remove mandatory file locking supportJeff Layton1-14/+0
2021-08-17nfsd4: Fix forced-expiry lockingJ. Bruce Fields1-2/+2
2021-07-07Merge tag 'nfsd-5.14' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-34/+143
2021-07-06nfsd: fix kernel test robot warning in SSC codeDai Ngo1-1/+1
2021-07-06nfsd4: Expose the callback address and state of each NFS4 clientDave Wysochanski1-0/+17
2021-07-06nfsd: move fsnotify on client creation outside spinlockJ. Bruce Fields1-5/+6
2021-07-01nfsd: avoid non-flexible API in seq_quote_mem()Andy Shevchenko1-1/+1
2021-05-25NFSD: delay unmount source's export after inter-server copy completed.Dai Ngo1-0/+71
2021-05-18NFSD: Replace the nfsd_deleg_break tracepointChuck Lever1-1/+1
2021-05-18NFSD: Add an nfsd_cb_lm_notify tracepointChuck Lever1-1/+3
2021-05-18NFSD: Add cb_lost tracepointChuck Lever1-0/+2
2021-05-18NFSD: Add tracepoints for EXCHANGEID edge casesChuck Lever1-3/+9
2021-05-18NFSD: Add tracepoints for SETCLIENTID edge casesChuck Lever1-11/+8
2021-05-18NFSD: Add a couple more nfsd_clid_expired call sitesChuck Lever1-3/+6
2021-05-18NFSD: Add nfsd_clid_destroyed tracepointChuck Lever1-0/+1
2021-05-18NFSD: Add nfsd_clid_reclaim_complete tracepointChuck Lever1-0/+1
2021-05-18NFSD: Add nfsd_clid_confirmed tracepointChuck Lever1-5/+5
2021-05-18NFSD: Add nfsd_clid_verf_mismatch tracepointChuck Lever1-3/+8
2021-05-18NFSD: Add nfsd_clid_cred_mismatch tracepointChuck Lever1-4/+10
2021-05-18NFSD: Fix TP_printk() format specifier in nfsd_clid_classChuck Lever1-3/+0
2021-04-20nfsd: Fix fall-through warnings for ClangGustavo A. R. Silva1-0/+1
2021-04-19nfsd: grant read delegations to clients holding writesJ. Bruce Fields1-14/+68
2021-04-19nfsd: reshuffle some codeJ. Bruce Fields1-117/+118
2021-04-19nfsd: track filehandle aliasing in nfs4_filesJ. Bruce Fields1-9/+28
2021-04-19nfsd: hash nfs4_files by inode numberJ. Bruce Fields1-15/+12
2021-04-16nfsd: ensure new clients break delegationsJ. Bruce Fields1-5/+19
2021-04-15nfsd: remove unused functionJiapeng Chong1-9/+0
2021-03-22nfsd: report client confirmation status in "info" fileNeilBrown1-4/+15
2021-03-22nfsd: Ensure knfsd shuts down when the "nfsd" pseudofs is unmountedTrond Myklebust1-7/+1
2021-03-22nfsd: helper for laundromat expiry calculationsJ. Bruce Fields1-22/+27
2021-03-22NFSD: Extract the svcxdr_init_encode() helperChuck Lever1-3/+3
2021-03-09Revert "nfsd4: a client's own opens needn't prevent delegations"J. Bruce Fields1-40/+14
2021-03-09Revert "nfsd4: remove check_conflicting_opens warning"J. Bruce Fields1-0/+1
2021-03-06nfsd: don't abort copies earlyJ. Bruce Fields1-1/+1
2021-01-28nfsd: cstate->session->se_client -> cstate->clpJ. Bruce Fields1-8/+8
2021-01-28nfsd: simplify nfsd4_check_open_reclaimJ. Bruce Fields1-15/+3
2021-01-28nfsd: remove unused set_client argumentJ. Bruce Fields1-13/+10
2021-01-25nfsd: find_cpntf_state cleanupJ. Bruce Fields1-8/+14
2021-01-25nfsd: refactor set_clientJ. Bruce Fields1-16/+16
2021-01-25nfsd: rename lookup_clientid->set_clientJ. Bruce Fields1-10/+8
2021-01-25nfsd: simplify nfsd_renewJ. Bruce Fields1-6/+3
2021-01-25nfsd: simplify process_lockJ. Bruce Fields1-4/+0
2021-01-25nfsd4: simplify process_lookup1J. Bruce Fields1-2/+0
2020-12-09NFSD: Fix 5 seconds delay when doing inter server copyDai Ngo1-0/+1
2020-11-30NFSD: Add a helper to decode state_protect4_aChuck Lever1-1/+1
2020-10-16nfsd: remove unneeded breakTom Rix1-1/+0
2020-09-25nfsd: rq_lease_breaker cleanupJ. Bruce Fields1-1/+2
2020-09-25nfsd4: remove check_conflicting_opens warningJ. Bruce Fields1-1/+0
2020-09-25nfsd: rename delegation related tracepoints to make them less confusingHou Tao1-2/+2
2020-09-25nfsd: give up callbacks on revoked delegationsJ. Bruce Fields1-1/+2
2020-09-25nfsd: remove fault injection codeJ. Bruce Fields1-593/+0
2020-08-25Merge tag 'nfsd-5.9-1' of git://git.linux-nfs.org/projects/cel/cel-2.6Linus Torvalds1-0/+2
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-6/+6
2020-08-16nfsd: fix oops on mixed NFSv4/NFSv3 client accessJ. Bruce Fields1-0/+2