aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4proc.c
AgeCommit message (Expand)AuthorFilesLines
8 daysMerge tag 'vfs-6.19-rc1.directory.locking' of git://git.kernel.org/pub/scm/li...Linus Torvalds1-9/+5
8 daysMerge tag 'vfs-6.19-rc1.directory.delegations' of git://git.kernel.org/pub/sc...Linus Torvalds1-1/+21
2025-11-14VFS: change vfs_mkdir() to unlock on failure.NeilBrown1-1/+1
2025-11-14VFS/nfsd/cachefiles/ovl: add start_creating() and end_creating()NeilBrown1-9/+5
2025-11-12nfsd: wire up GET_DIR_DELEGATION handlingJeff Layton1-1/+21
2025-10-21Revert "NFSD: Remove the cap on number of operations per NFSv4 COMPOUND"Chuck Lever1-2/+12
2025-10-21NFSD: Fix crash in nfsd4_read_release()Chuck Lever1-3/+4
2025-10-01NFSD: Do the grace period check in ->proc_layoutgetChuck Lever1-6/+1
2025-10-01NFSD: Allow layoutcommit during grace periodSergey Bashirov1-13/+25
2025-09-25NFSD: Disallow layoutget during grace periodSergey Bashirov1-0/+5
2025-09-21NFSD: Fix destination buffer size in nfsd4_ssc_setup_dul()Thorsten Blum1-1/+1
2025-09-21nfsd: freeze c/mtime updates with outstanding WRITE_ATTRS delegationJeff Layton1-2/+24
2025-09-21nfsd: fix SETATTR updates for delegated timestampsJeff Layton1-1/+30
2025-09-21NFSD: Fix last write offset handling in layoutcommitSergey Bashirov1-15/+15
2025-09-21NFSD: Implement large extent array support in pNFSSergey Bashirov1-1/+1
2025-09-21NFSD: Minor cleanup in layoutcommit processingSergey Bashirov1-9/+3
2025-07-14Revert "NFSD: Force all NFSv4.2 COPY requests to be synchronous"Chuck Lever1-7/+0
2025-07-14NFSD: Remove the cap on number of operations per NFSv4 COMPOUNDChuck Lever1-12/+2
2025-05-28Merge tag 'nfsd-6.16' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linuxLinus Torvalds1-11/+24
2025-05-15NFSD: Remove NFSD_BUFSIZEChuck Lever1-1/+1
2025-05-15NFSD: De-duplicate the svc_fill_write_vector() call sitesChuck Lever1-6/+2
2025-05-11nfsd: add tracepoint for getattr and statfs eventsJeff Layton1-0/+2
2025-05-11nfsd: add tracepoint to nfsd_readdirJeff Layton1-0/+3
2025-05-11nfsd: nfsd4_spo_must_allow() must check this is a v4 compound requestNeilBrown1-1/+2
2025-05-11nfsd: remove redundant WARN_ON_ONCE in nfsd4_writeGuoqing Jiang1-1/+0
2025-05-11NFSD: Record each NFSv4 call's session slot indexChuck Lever1-0/+9
2025-05-11NFSD: Shorten CB_OFFLOAD response to NFS4ERR_DELAYChuck Lever1-1/+1
2025-05-11NFSD: OFFLOAD_CANCEL should mark an async COPY as completedChuck Lever1-1/+4
2025-04-07nfsd: Use lookup_one() rather than lookup_one_len()NeilBrown1-1/+3
2025-03-10nfsd: prevent callback tasks running concurrentlyJeff Layton1-1/+1
2025-01-21nfsd: handle delegated timestamps in SETATTRJeff Layton1-3/+28
2024-12-17NFSD: fix management of pending async copiesOlga Kornievskaia1-5/+8
2024-11-18NFSD: Add nfsd4_copy time-to-liveChuck Lever1-2/+5
2024-11-18NFSD: Add a laundromat reaper for async copy stateChuck Lever1-1/+34
2024-11-18NFSD: Block DESTROY_CLIENTID only when there are ongoing async COPY operationsChuck Lever1-0/+30
2024-11-18NFSD: Handle an NFS4ERR_DELAY response to CB_OFFLOADChuck Lever1-0/+8
2024-11-18NFSD: Free async copy information in nfsd4_cb_offload_release()Chuck Lever1-7/+10
2024-11-18NFSD: Fix nfsd4_shutdown_copy()Chuck Lever1-2/+5
2024-11-18NFSD: Add a tracepoint to record canceled async COPY operationsChuck Lever1-0/+1
2024-11-18nfsd: Fix NFSD_MAY_BYPASS_GSS and NFSD_MAY_BYPASS_GSS_ON_ROOTPali Rohár1-1/+1
2024-11-18nfsd: Fill NFSv4.1 server implementation fields in OP_EXCHANGE_ID responsePali Rohár1-0/+1
2024-11-18nfsd: new tracepoint for after op_func in compound processingJeff Layton1-0/+1
2024-10-30NFSD: Never decrement pending_async_copies on errorChuck Lever1-3/+1
2024-10-29NFSD: Initialize struct nfsd4_copy earlierChuck Lever1-2/+2
2024-09-20NFSD: Wrap async copy operations with trace pointsChuck Lever1-1/+2
2024-09-20NFSD: Limit the number of concurrent async COPY operationsChuck Lever1-2/+9
2024-09-20NFSD: Async COPY result needs to return a write verifierChuck Lever1-15/+8
2024-09-20nfsd: track the main opcode for callbacksJeff Layton1-1/+2
2024-09-20nfsd: move error choice for incorrect object types to version-specific code.NeilBrown1-10/+11
2024-09-20nfsd: Don't pass all of rqst into rqst_exp_find()NeilBrown1-1/+3
2024-09-20nfsd: don't assume copy notify when preprocessing the stateidSagi Grimberg1-1/+3
2024-07-08NFSD: Support write delegations in LAYOUTGETChuck Lever1-2/+3
2024-05-09NFSD: Force all NFSv4.2 COPY requests to be synchronousChuck Lever1-0/+7
2024-05-06NFSD: Add COPY status code to OFFLOAD_STATUS responseChuck Lever1-2/+8
2024-05-06NFSD: Record status of async copy operation in struct nfsd4_copyChuck Lever1-11/+10
2024-05-06nfsd: trivial GET_DIR_DELEGATION supportJeff Layton1-0/+41
2024-03-01nfsd: Fix NFSv3 atomicity bugs in nfsd_setattr()Trond Myklebust1-2/+1
2024-03-01nfsd: Fix a regression in nfsd_setattr()Trond Myklebust1-0/+4
2024-03-01nfsd: make all of the nfsd stats per-network namespaceJosef Bacik1-3/+3
2024-01-07NFSD: Modify NFSv4 to use nfsd_read_splice_ok()Chuck Lever1-2/+5
2023-10-30Merge tag 'nfsd-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linuxLinus Torvalds1-10/+22
2023-10-18nfsd: convert to new timestamp accessorsJeff Layton1-4/+4
2023-10-16NFSD: Clean up nfsd4_encode_copy_notify()Chuck Lever1-2/+2
2023-10-16NFSD: Remove a layering violation when encoding lock_deniedChuck Lever1-0/+2
2023-10-16NFSD: Clean up nfsd4_encode_layoutcommit()Chuck Lever1-2/+2
2023-10-16SUNRPC: change how svc threads are asked to exit.NeilBrown1-3/+5
2023-10-16NFSD: add trace points to track server copy progressDai Ngo1-2/+10
2023-10-16NFSD: initialize copy->cp_clp early in nfsd4_copy for use by trace pointDai Ngo1-1/+1
2023-09-09nfsd: fix change_info in NFSv4 RENAME repliesJeff Layton1-2/+2
2023-08-29nfsd: don't allow nfsd threads to be signalled.NeilBrown1-3/+2
2023-08-29nfsd: set missing after_change as before_change + 1Jeff Layton1-1/+1
2023-08-29nfsd: remove unsafe BUG_ON from set_change_infoJeff Layton1-0/+32
2023-08-29nfsd: handle failure to collect pre/post-op attrs more sanelyJeff Layton1-6/+8
2023-02-20NFSD: fix problems with cleanup on errors in nfsd4_copyDai Ngo1-4/+8
2023-02-20NFSD: fix leaked reference count of nfsd4_ssc_umount_itemDai Ngo1-4/+8
2023-02-20nfsd: clean up potential nfsd_file refcount leaks in COPY codepathJeff Layton1-13/+10
2023-02-20nfsd: zero out pointers after putting nfsd_files on COPY setup errorJeff Layton1-0/+2
2023-02-20nfsd: don't take nfsd4_copy ref for OP_OFFLOAD_STATUSJeff Layton1-11/+24
2023-02-20SUNRPC: Use per-CPU counters to tally server RPC countsChuck Lever1-3/+4
2023-02-20NFSD: enhance inter-server copy cleanupDai Ngo1-67/+44
2023-01-11NFSD: fix use-after-free in nfsd4_ssc_setup_dul()Xingyuan Mo1-0/+1
2023-01-06Revert "SUNRPC: Use RMW bitops in single-threaded hot paths"Chuck Lever1-4/+3
2022-12-14NFSD: fix use-after-free in __nfs42_ssc_open()Dai Ngo1-15/+5
2022-12-10NFSD: pass range end to vfs_fsync_range() instead of countBrian Foster1-2/+3
2022-12-10nfsd: return error if nfs4_setacl failsJeff Layton1-0/+2
2022-11-28NFSD: Clean up nfs4_preprocess_stateid_op() call sitesChuck Lever1-24/+7
2022-11-28NFSD: Pass the target nfsd_file to nfsd_commit()Chuck Lever1-1/+10
2022-09-26NFSD: Cap rsize_bop result based on send buffer sizeChuck Lever1-24/+24
2022-09-26NFSD: Rename the fields in copy_stateid_tChuck Lever1-3/+3
2022-09-26NFSD: Remove "inline" directives on op_rsize_bop helpersChuck Lever1-46/+75
2022-09-26NFSD: Reduce amount of struct nfsd4_compoundargs that needs clearingChuck Lever1-1/+1
2022-09-26SUNRPC: Parametrize how much of argsize should be zeroedChuck Lever1-0/+2
2022-09-26NFSD: Add tracepoints to report NFSv4 callback completionsChuck Lever1-0/+4
2022-09-26NFSD: Trace NFSv4 COMPOUND tagsChuck Lever1-1/+1
2022-09-26NFSD: Fix handling of oversized NFSv4 COMPOUND requestsChuck Lever1-6/+13
2022-09-26NFSD: remove redundant variable statusJinpeng Cui1-12/+4
2022-09-26NFSD enforce filehandle check for source file in COPYOlga Kornievskaia1-1/+7
2022-09-26NFSD: move from strlcpy with unused retval to strscpyWolfram Sang1-1/+1
2022-08-04NFSD: use explicit lock/unlock for directory opsNeilBrown1-2/+4
2022-08-04NFSD: reduce locking in nfsd_lookup()NeilBrown1-8/+12
2022-08-04NFSD: always drop directory lock in nfsd_unlink()NeilBrown1-3/+1
2022-08-04NFSD: change nfsd_create()/nfsd_symlink() to unlock directory before returning.NeilBrown1-2/+0
2022-08-04NFSD: add posix ACLs to struct nfsd_attrsNeilBrown1-30/+16
2022-07-29NFSD: add security label to struct nfsd_attrsNeilBrown1-40/+9
2022-07-29NFSD: set attributes when creating symlinksNeilBrown1-1/+1
2022-07-29NFSD: introduce struct nfsd_attrsNeilBrown1-7/+16
2022-07-29NFSD: verify the opened dentry after setting a delegationJeff Layton1-0/+1
2022-07-29NFSD: Move copy offload callback arguments into a separate structureChuck Lever1-22/+22
2022-07-29NFSD: Add nfsd4_send_cb_offload()Chuck Lever1-15/+22
2022-07-29NFSD: Remove kmalloc from nfsd4_do_async_copy()Chuck Lever1-14/+14
2022-07-29NFSD: Refactor nfsd4_do_copy()Chuck Lever1-8/+14
2022-07-29NFSD: Refactor nfsd4_cleanup_inter_ssc() (2/2)Chuck Lever1-8/+7
2022-07-29NFSD: Refactor nfsd4_cleanup_inter_ssc() (1/2)Chuck Lever1-5/+5
2022-07-29NFSD: Replace boolean fields in struct nfsd4_copyChuck Lever1-32/+19
2022-07-29NFSD: Make nfs4_put_copy() staticChuck Lever1-1/+1
2022-07-29NFSD: Shrink size of struct nfsd4_copyChuck Lever1-2/+6
2022-07-29NFSD: Shrink size of struct nfsd4_copy_notifyChuck Lever1-2/+2
2022-07-29NFSD: Fix strncpy() fortify warningChuck Lever1-1/+1
2022-07-29NFSD: Demote a WARN to a pr_warn()Chuck Lever1-3/+3
2022-07-29NFSD: Fix space and spelling mistakeZhang Jiaming1-2/+2
2022-05-23SUNRPC: Use RMW bitops in single-threaded hot pathsChuck Lever1-3/+4
2022-05-23NFSD: Move documenting comment for nfsd4_process_open2()Chuck Lever1-5/+1
2022-05-23NFSD: Fix whitespaceChuck Lever1-25/+25
2022-05-23NFSD: Remove dprintk call sites from tail of nfsd4_open()Chuck Lever1-4/+0
2022-05-23NFSD: Instantiate a struct file when creating a regular NFSv4 fileChuck Lever1-4/+39
2022-05-20NFSD: Refactor NFSv4 OPEN(CREATE)Chuck Lever1-10/+152
2022-02-09NFSD: Clamp WRITE offsetsChuck Lever1-2/+3
2022-02-09NFSD: Fix the behavior of READ near OFFSET_MAXChuck Lever1-2/+6
2022-01-08NFSD: Move fill_pre_wcc() and fill_post_wcc()Chuck Lever1-1/+1
2022-01-08NFSD: Rename boot verifier functionsChuck Lever1-1/+1
2022-01-08nfsd: Add a tracepoint for errors in nfsd4_clone_file_range()Trond Myklebust1-1/+1
2022-01-08nfsd: Replace use of rwsem with errseq_tTrond Myklebust1-7/+9
2021-12-13NFSD: Fix sparse warningChuck Lever1-1/+1
2021-10-13NFSD: Save location of NFSv4 COMPOUND statusChuck Lever1-1/+1
2021-10-02NFSD: Have legacy NFSD WRITE decoders use xdr_stream_subsegment()Chuck Lever1-2/+1
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-07-06nfsd: remove redundant assignment to pointer 'this'Colin Ian King1-1/+1
2021-07-06NFSD: Fix error return code in nfsd4_interssc_connect()Wei Yongjun1-0/+1
2021-07-06nfsd: fix kernel test robot warning in SSC codeDai Ngo1-2/+2
2021-05-25NFSD: delay unmount source's export after inter-server copy completed.Dai Ngo1-4/+131
2021-05-25NFSD add vfs_fsync after async copy is doneOlga Kornievskaia1-1/+13
2021-05-18NFSD: Add an nfsd_cb_offload tracepointChuck Lever1-0/+2
2021-05-07treewide: remove editor modelines and cruftMasahiro Yamada1-6/+0
2021-04-01NFSv4.2: fix copy stateid copying for the async copyOlga Kornievskaia1-2/+2
2021-03-22nfsd: don't ignore high bits of copy countJ. Bruce Fields1-1/+1
2021-03-22nfsd: COPY with length 0 should copy to end of fileJ. Bruce Fields1-0/+3
2021-03-22NFSD: Extract the svcxdr_init_encode() helperChuck Lever1-23/+8
2021-03-09NFSD: fix dest to src mount in inter-server COPYOlga Kornievskaia1-1/+1
2021-01-28nfsd: cstate->session->se_client -> cstate->clpJ. Bruce Fields1-3/+2
2021-01-28nfsd: simplify nfsd4_check_open_reclaimJ. Bruce Fields1-2/+1
2021-01-25nfsd: protect concurrent access to nfsd stats countersAmir Goldstein1-1/+1
2021-01-25SUNRPC: Make trace_svc_process() display the RPC procedure symbolicallyChuck Lever1-0/+2
2020-12-18NFSD: Fix sparse warning in nfssvc.cChuck Lever1-0/+5
2020-12-09NFSD: Fix sparse warning in nfs4proc.cChuck Lever1-6/+2
2020-11-30NFSD: Make nfsd4_ops::opnum a u32Chuck Lever1-1/+1
2020-11-30NFSD: Add helper to decode OPEN's open_claim4 argumentChuck Lever1-4/+4
2020-11-30NFSD: Replace the internals of the READ_BUF() macroChuck Lever1-2/+2
2020-11-30NFSD: Add common helpers to decode void args and encode void resultsChuck Lever1-7/+4
2020-11-30SUNRPC: Add xdr_set_scratch_page() and xdr_reset_scratch_buffer()Chuck Lever1-1/+1
2020-11-05NFSD: fix missing refcount in nfsd4_copy by nfsd4_do_async_copyDai Ngo1-0/+1
2020-11-05NFSD: Fix use-after-free warning when doing inter-server copyDai Ngo1-1/+1
2020-10-21NFSv4.2: Fix NFS4ERR_STALE error when doing inter server copyDai Ngo1-1/+2
2020-10-12NFSD: Add READ_PLUS data supportAnna Schumaker1-0/+21
2020-10-12NFSD: Hoist status code encoding into XDR encoder functionsChuck Lever1-4/+3
2020-10-02NFSD: Encoder and decoder functions are always presentChuck Lever1-0/+1
2020-09-25nfsd: fix comparison to bool warningZheng Bin1-1/+1
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-1/+1
2020-07-13nfsd: implement the xattr functions and en/decode logicFrank van der Linden1-0/+120
2020-07-13nfsd: take xattr bits into account for permission checksFrank van der Linden1-1/+7
2020-05-21Merge branch 'nfsd-5.8' of git://linux-nfs.org/~cel/cel-2.6 into for-5.8-inco...J. Bruce Fields1-4/+3
2020-05-20NFSD: Fix improperly-formatted Doxygen commentsChuck Lever1-4/+3
2020-05-08nfsd: clients don't need to break their own delegationsJ. Bruce Fields1-0/+2
2020-02-06nfsd4: fix double free in nfsd4_do_async_copy()Dan Carpenter1-1/+0
2020-01-22nfsd: Ensure sampling of the write verifier is atomic with the writeTrond Myklebust1-2/+2
2020-01-22nfsd: Ensure sampling of the commit verifier is atomic with the commitTrond Myklebust1-2/+2
2020-01-22nfsd: Pass the nfsd_file as arguments to nfsd4_clone_file_range()Trond Myklebust1-2/+2
2020-01-22nfsd: Allow nfsd_vfs_write() to take the nfsd_file as an argumentTrond Myklebust1-1/+1
2020-01-03nfsd: use true,false for bool variable in nfs4proc.czhengbin1-2/+2
2019-12-19nfsd: pass a 64-bit guardtime to nfsd_setattr()Arnd Bergmann1-1/+1
2019-12-09nfsd4: avoid NULL deference on strange COPY compoundsJ. Bruce Fields1-1/+2
2019-12-09NFSD fixing possible null pointer derefering in copy offloadOlga Kornievskaia1-1/+2
2019-12-09NFSD fix nfserro errno mismatchOlga Kornievskaia1-6/+5
2019-12-09NFSD: fix seqid in copy stateidOlga Kornievskaia1-1/+1
2019-12-09NFSD add nfs4 inter ssc to nfsd4_copyOlga Kornievskaia1-22/+271
2019-12-09NFSD: allow inter server COPY to have a STALE source server fhOlga Kornievskaia1-4/+53
2019-12-09NFSD generalize nfsd4_compound_state flag namesOlga Kornievskaia1-4/+4
2019-12-09NFSD add COPY_NOTIFY operationOlga Kornievskaia1-10/+48
2019-12-09NFSD COPY_NOTIFY xdrOlga Kornievskaia1-0/+28
2019-12-07NFSD fixing possible null pointer derefering in copy offloadOlga Kornievskaia1-1/+2
2019-11-30nfsd: Ensure CLONE persists data and metadata changes to the target fileTrond Myklebust1-1/+2
2019-09-10nfsd: Support the server resetting the boot verifierTrond Myklebust1-10/+4
2019-08-19nfsd: hook up nfs4_preprocess_stateid_op to the nfsd_file cacheJeff Layton1-41/+42
2019-05-15Merge tag 'nfsd-5.2' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-1/+2
2019-04-24nfsd: Allow containers to set supported nfs versionsTrond Myklebust1-1/+2
2019-04-08fs: mark expected switch fall-throughsGustavo A. R. Silva1-0/+1
2018-12-14NFSD remove OP_CACHEME from 4.2 op_flagsOlga Kornievskaia1-4/+4
2018-11-27nfsd4: skip unused assignmentJ. Bruce Fields1-1/+1
2018-11-27nfsd4: forbid all renames during grace periodJ. Bruce Fields1-2/+1
2018-11-27nfsd4: zero-length WRITE should succeedJ. Bruce Fields1-2/+0