aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4proc.c
AgeCommit message (Expand)AuthorFilesLines
11 daysNFSD: Force all NFSv4.2 COPY requests to be synchronousChuck Lever1-0/+7
14 daysNFSD: Add COPY status code to OFFLOAD_STATUS responseChuck Lever1-2/+8
14 daysNFSD: Record status of async copy operation in struct nfsd4_copyChuck Lever1-11/+10
14 daysnfsd: 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
2018-11-08nfsd: COPY and CLONE operations require the saved filehandle to be setScott Mayhew1-0/+3
2018-09-25NFSD introduce async copy featureOlga Kornievskaia1-19/+242
2018-09-25NFSD OFFLOAD_CANCEL xdrOlga Kornievskaia1-0/+14
2018-09-25NFSD OFFLOAD_STATUS xdrOlga Kornievskaia1-0/+20
2018-08-09NFSD: Refactor the generic write vector fill helperChuck Lever1-19/+4
2018-06-17nfsd: fix corrupted reply to badly ordered compoundJ. Bruce Fields1-0/+1
2018-06-17nfsd: clarify check_op_orderingJ. Bruce Fields1-4/+9
2018-06-17nfsd4: extend reclaim period for reclaiming clientsJ. Bruce Fields1-0/+4
2018-04-03nfsd: fix incorrect umasksJ. Bruce Fields1-2/+10
2018-04-03nfsd: Trace NFSv4 COMPOUND executionChuck Lever1-6/+3
2018-04-03nfsd: Add I/O trace points in the NFSv4 read procChuck Lever1-0/+5
2018-04-03nfsd: Add I/O trace points in the NFSv4 write pathChuck Lever1-2/+5
2018-04-03nfsd: Add "nfsd_" to trace point namesChuck Lever1-2/+2
2018-03-19nfsd: remove unsused "cp_consecutive" fieldJ. Bruce Fields1-1/+0
2018-02-08nfsd: return RESOURCE not GARBAGE_ARGS on too many opsJ. Bruce Fields1-0/+3
2017-12-21nfsd4: permit layoutget of executable-only filesBenjamin Coddington1-3/+3
2017-11-18Merge tag 'nfsd-4.15' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-14/+5
2017-11-07nfds: avoid gettimeofday for nfssvc_boot timeArnd Bergmann1-2/+3
2017-10-05nfsd4: define nfsd4_secinfo_no_name_release()Eryu Guan1-1/+8
2017-10-04nfsd: remove unnecessary nofilehandle checksJ. Bruce Fields1-12/+2
2017-08-24nfsd4: skip encoder in trivial error casesJ. Bruce Fields1-3/+7
2017-08-24nfsd4: define ->op_release for compound opsJ. Bruce Fields1-0/+32
2017-08-24nfsd4: opdesc will be useful outside nfs4proc.cJ. Bruce Fields1-14/+11
2017-08-01nfsd4: move some nfsd4 op definitions to xdr4.hJ. Bruce Fields1-43/+0
2017-06-28Merge tag 'v4.12-rc5' into nfsd treeJ. Bruce Fields1-7/+6
2017-05-23nfsd4: fix null dereference on replayJ. Bruce Fields1-7/+6
2017-05-15nfsd4: const-ify nfsd4_opsChristoph Hellwig1-7/+6
2017-05-15sunrpc: mark all struct svc_version instances as constChristoph Hellwig1-1/+1
2017-05-15sunrpc: mark all struct svc_procinfo instances as constChristoph Hellwig1-1/+1
2017-05-15sunrpc: move pc_count out of struct svc_procinfoChristoph Hellwig1-0/+2
2017-05-15nfsd4: properly type op_func callbacksChristoph Hellwig1-108/+126
2017-05-15nfsd4: remove nfsd4op_rsizeChristoph Hellwig1-55/+54
2017-05-15nfsd4: properly type op_get_currentstateid callbacksChristoph Hellwig1-11/+10
2017-05-15nfsd4: properly type op_set_currentstateid callbacksChristoph Hellwig1-6/+6
2017-05-15sunrpc: properly type pc_encode callbacksChristoph Hellwig1-2/+2
2017-05-15sunrpc: properly type pc_decode callbacksChristoph Hellwig1-1/+1
2017-05-15sunrpc: properly type pc_func callbacksChristoph Hellwig1-4/+5
2017-05-15nfsd: use named initializers in PROC()Christoph Hellwig1-5/+5
2017-05-09nfsd: fix undefined behavior in nfsd4_layout_verifyAri Kauppi1-1/+2
2017-04-13nfsd: fix oops on unsupported operationOlga Kornievskaia1-1/+1
2017-02-24nfs/nfsd/sunrpc: enforce transport requirements for NFSv4Jeff Layton1-6/+7
2017-02-24sunrpc: turn bitfield flags in svc_version into boolsJeff Layton1-1/+1
2017-02-17NFSD: Get response size before operation for all RPCsKinglong Mee1-6/+63
2017-01-31nfsd: opt in to labeled nfs per exportJ. Bruce Fields1-0/+4
2017-01-31NFSD: pass an integer for stable type to nfsd_vfs_writeKinglong Mee1-1/+1
2016-12-15nfsd: add support for the umask attributeAndreas Gruenbacher1-0/+3
2016-11-01nfsd: clean up supported attribute handlingJ. Bruce Fields1-32/+11
2016-10-07NFSD: Implement the COPY callAnna Schumaker1-11/+79
2016-08-04nfsd: drop unnecessary MAY_EXEC check from createJ. Bruce Fields1-6/+1
2016-08-04nfsd: Make creates return EEXIST instead of EACCESOleg Drokin1-1/+5
2016-07-15nfsd: allow nfsd to advertise multiple layout typesJeff Layton1-2/+2
2016-07-13nfsd: flex file device id encoding will need the server addressTom Haynes1-1/+1