aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/svc.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-01SUNRPC: Remove EXPORT_SYMBOL_GPL for svc_process_bc()Chuck Lever1-1/+0
2024-03-01sunrpc: pass in the sv_stats struct through svc_create_pooledJosef Bacik1-5/+7
2024-03-01sunrpc: don't change ->sv_stats if it doesn't existJosef Bacik1-9/+18
2024-01-29NFSv4.1: Assign the right value for initval and retries for rpc timeoutSamasth Norway Ananda1-2/+2
2024-01-10Merge tag 'nfs-for-6.8-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-1/+10
2024-01-07SUNRPC: discard sv_refcnt, and svc_get/svc_putNeilBrown1-9/+4
2024-01-07SUNRPC: Remove RQ_SPLICE_OKChuck Lever1-2/+0
2024-01-04NFSv4.1: Use the nfs_client's rpc timeouts for backchannelBenjamin Coddington1-1/+10
2023-10-16SUNRPC: Remove BUG_ON call sitesChuck Lever1-4/+5
2023-10-16SUNRPC: change the back-channel queue to lwqNeilBrown1-2/+1
2023-10-16SUNRPC: discard sp_lockNeilBrown1-5/+5
2023-10-16SUNRPC: change sp_nrthreads to atomic_tNeilBrown1-17/+20
2023-10-16SUNRPC: use lwq for sp_sockets - renamed to sp_xprtsNeilBrown1-1/+1
2023-10-16SUNRPC: only have one thread waking up at a timeNeilBrown1-8/+6
2023-10-16SUNRPC: change service idle list to be an llistNeilBrown1-7/+7
2023-10-16SUNRPC: discard SP_CONGESTEDNeilBrown1-1/+0
2023-10-16SUNRPC: add list of idle threadsNeilBrown1-5/+9
2023-10-16SUNRPC: change how svc threads are asked to exit.NeilBrown1-22/+21
2023-10-16SUNRPC: integrate back-channel processing with svc_recv()NeilBrown1-1/+1
2023-10-16SUNRPC: Clean up bc_svc_process()Chuck Lever1-26/+12
2023-08-31Merge tag 'nfs-for-6.6-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-0/+2
2023-08-29SUNRPC: Remove return value of svc_pool_wake_idle_thread()NeilBrown1-6/+2
2023-08-29SUNRPC: Clean up svc_set_num_threadsChuck Lever1-35/+25
2023-08-29SUNRPC: Count ingress RPC messages per svc_poolChuck Lever1-0/+2
2023-08-29SUNRPC: Deduplicate thread wake-up codeChuck Lever1-0/+34
2023-08-29SUNRPC: Add enum svc_auth_statusChuck Lever1-1/+5
2023-08-29SUNRPC: remove timeout arg from svc_recv()NeilBrown1-2/+0
2023-08-29SUNRPC: call svc_process() from svc_recv().NeilBrown1-1/+0
2023-08-23SUNRPC: kmap() the xdr pages during decodeAnna Schumaker1-0/+2
2023-06-28Merge tag 'mm-stable-2023-06-24-19-15' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-5/+5
2023-06-23net: convert sunrpc from pagevec to folio_batchMatthew Wilcox (Oracle)1-5/+5
2023-06-17SUNRPC: Address RCU warning in net/sunrpc/svc.cChuck Lever1-2/+6
2023-06-17SUNRPC: Use sysfs_emit in place of strlcpy/sprintfAzeem Shaikh1-5/+5
2023-06-05SUNRPC: Use __alloc_bulk_pages() in svc_init_buffer()Chuck Lever1-16/+7
2023-05-14SUNRPC: Fix trace_svc_register() call siteChuck Lever1-1/+1
2023-05-03SUNRPC: Fix encoding of accepted but unsuccessful RPC repliesChuck Lever1-6/+11
2023-04-27SUNRPC: Be even lazier about releasing pagesChuck Lever1-0/+3
2023-04-26SUNRPC: Convert svc_xprt_release() to the release_pages() APIChuck Lever1-6/+5
2023-04-26SUNRPC: Relocate svc_free_res_pages()Chuck Lever1-0/+19
2023-04-26SUNRPC: Ignore return value of ->xpo_sendtoChuck Lever1-6/+7
2023-04-26NFSD: Watch for rq_pages bounds checking errors in nfsd_splice_actor()Chuck Lever1-1/+14
2023-03-08SUNRPC: Fix a server shutdown leakBenjamin Coddington1-1/+5
2023-02-20SUNRPC: Replace pool stats with per-CPU variablesChuck Lever1-0/+12
2023-02-20SUNRPC: Use per-CPU counters to tally server RPC countsChuck Lever1-1/+1
2023-02-20SUNRPC: Set rq_accept_statp inside ->accept methodsChuck Lever1-2/+0
2023-02-20SUNRPC: Refactor RPC server dispatch methodChuck Lever1-5/+5
2023-02-20SUNRPC: Final clean-up of svc_process_common()Chuck Lever1-8/+6
2023-02-20SUNRPC: Convert RPC Reply header encoding to use xdr_streamChuck Lever1-25/+25
2023-02-20SUNRPC: Hoist init_encode out of svc_authenticate()Chuck Lever1-0/+2
2023-02-20SUNRPC: Move svcxdr_init_encode() into ->accept methodsChuck Lever1-4/+2
2023-02-20SUNRPC: Push svcxdr_init_encode() into svc_process_common()Chuck Lever1-0/+1
2023-02-20SUNRPC: Remove the rpc_stat variable in svc_process_common()Chuck Lever1-13/+11
2023-02-20SUNRPC: Hoist svcxdr_init_decode() into svc_process()Chuck Lever1-11/+17
2023-02-20SUNRPC: Remove svc_process_common's argv parameterChuck Lever1-5/+5
2023-02-20SUNRPC: Decode most of RPC header with xdr_streamChuck Lever1-11/+9
2023-02-20SUNRPC: Eliminate unneeded variableChuck Lever1-4/+4
2023-02-20SUNRPC: Re-order construction of the first reply fieldsChuck Lever1-7/+3
2023-02-20SUNRPC: Hoist init_decode out of svc_authenticate()Chuck Lever1-0/+1
2023-02-20SUNRPC: Move svcxdr_init_decode() into ->accept methodsChuck Lever1-1/+0
2023-02-20SUNRPC: Push svcxdr_init_decode() into svc_process_common()Chuck Lever1-0/+1
2023-01-10Merge tag 'nfsd-6.2-3' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/l...Linus Torvalds1-3/+3
2023-01-06Revert "SUNRPC: Use RMW bitops in single-threaded hot paths"Chuck Lever1-3/+3
2022-12-25treewide: Convert del_timer*() to timer_shutdown*()Steven Rostedt (Google)1-1/+1
2022-12-10SUNRPC: Make the svc_authenticate tracepoint conditionalChuck Lever1-2/+1
2022-11-28SUNRPC: Remove unused svc_rqst::rq_lock fieldChuck Lever1-1/+0
2022-09-26SUNRPC: Clarify comment that documents svc_max_payload()Chuck Lever1-2/+6
2022-09-26SUNRPC: Parametrize how much of argsize should be zeroedChuck Lever1-1/+1
2022-09-26SUNRPC: Optimize svc_process()Chuck Lever1-13/+11
2022-05-23SUNRPC: Use RMW bitops in single-threaded hot pathsChuck Lever1-3/+3
2022-05-19SUNRPC: Simplify synopsis of svc_pool_for_cpu()Chuck Lever1-6/+12
2022-02-28NFSD: Move svc_serv_ops::svo_function into struct svc_servChuck Lever1-11/+26
2022-02-28NFSD: Remove svc_serv_ops::svo_moduleChuck Lever1-2/+0
2022-02-28SUNRPC: Remove svc_shutdown_net()Chuck Lever1-6/+0
2022-02-28SUNRPC: Rename svc_close_xprt()Chuck Lever1-1/+1
2022-02-28SUNRPC: Remove svo_shutdown methodChuck Lever1-3/+0
2021-12-13lockd: use svc_set_num_threads() for thread start and stopNeilBrown1-2/+1
2021-12-13SUNRPC: always treat sv_nrpools==1 as "not pooled"NeilBrown1-25/+29
2021-12-13SUNRPC: move the pool_map definitions (back) into svc.cNeilBrown1-6/+25
2021-12-13SUNRPC: discard svo_setup and rename svc_set_num_threads_sync()NeilBrown1-47/+2
2021-12-13SUNRPC: use sv_lock to protect updates to sv_nrthreads.NeilBrown1-2/+7
2021-12-13SUNRPC: stop using ->sv_nrthreads as a refcountNeilBrown1-11/+11
2021-12-13SUNRPC/NFSD: clean up get/put functions.NeilBrown1-14/+5
2021-10-12SUNRPC: De-duplicate .pc_release() call sitesChuck Lever1-15/+7
2021-10-12SUNRPC: Simplify the SVC dispatch code pathChuck Lever1-49/+2
2021-10-02NFSD: Have legacy NFSD WRITE decoders use xdr_stream_subsegment()Chuck Lever1-5/+6
2021-09-04Merge tag 'nfs-for-5.15-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-28/+11
2021-08-20SUNRPC: Server-side disconnect injectionChuck Lever1-0/+8
2021-08-17SUNRPC: Fix a NULL pointer deref in trace_svc_stats_latency()Chuck Lever1-0/+15
2021-08-17SUNRPC: Add svc_rqst_replace_page() APIChuck Lever1-0/+21
2021-08-10SUNRPC: Eliminate the RQ_AUTHERR flagChuck Lever1-20/+4
2021-08-10SUNRPC: Set rq_auth_stat in the pg_authenticate() calloutChuck Lever1-3/+1
2021-08-10SUNRPC: Add svc_rqst::rq_auth_statChuck Lever1-8/+9
2021-04-23SUNRPC: Fix null pointer dereference in svc_rqst_free()Yunjian Wang1-1/+2
2021-03-06sunrpc: fix refcount leak for rpc auth modulesDaniel Kobras1-2/+4
2021-01-25SUNRPC: Correct a commentChuck Lever1-1/+1
2020-11-30SUNRPC: Prepare for xdr_stream-style decoding on the server-sideChuck Lever1-0/+5
2020-11-30SUNRPC: Rename svc_encode_read_payload()Chuck Lever1-5/+6
2020-05-21Merge branch 'nfsd-5.8' of git://linux-nfs.org/~cel/cel-2.6 into for-5.8-inco...J. Bruce Fields1-15/+4
2020-05-18SUNRPC: Trace server-side rpcbind registration eventsChuck Lever1-15/+4
2020-05-11sunrpc: add missing newline when printing parameter 'pool_mode' by sysfsXiongfeng Wang1-5/+5
2020-03-16SUNRPC: Teach server to use xprt_sock_sendmsg for socket sendsChuck Lever1-4/+0
2020-03-16nfsd: Fix NFSv4 READ on RDMA when using readvChuck Lever1-0/+16
2019-10-30SUNRPC: Trace gssproxy upcall resultsChuck Lever1-0/+2
2019-09-25sunrpc: clean up indentation issueColin Ian King1-2/+2
2019-07-18SUNRPC: Fix up backchannel slot table accountingTrond Myklebust1-1/+1
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-04-24SUNRPC: Allow further customisation of RPC program registrationTrond Myklebust1-31/+54
2019-04-24SUNRPC: Clean up generic dispatcher codeTrond Myklebust1-28/+47
2019-04-24SUNRPC: Add a callback to initialise server requestsTrond Myklebust1-37/+76
2019-04-24SUNRPC/nfs: Fix return value for nfs4_callback_compound()Trond Myklebust1-5/+22
2019-02-13SUNRPC: Remove rpc_xprt::tsh_sizeChuck Lever1-15/+4
2018-12-27sunrpc: make visible processing error in bc_svc_process()Vasily Averin1-2/+2
2018-12-27sunrpc: remove unused xpo_prep_reply_hdr callbackVasily Averin1-0/+11
2018-12-27sunrpc: use-after-free in svc_process_common()Vasily Averin1-4/+5
2018-08-09NFSD: Handle full-length symlinksChuck Lever1-42/+25
2018-08-09NFSD: Refactor the generic write vector fill helperChuck Lever1-7/+4
2018-04-03NFSD: Clean up legacy NFS SYMLINK argument XDR decodersChuck Lever1-0/+67
2018-04-03NFSD: Clean up legacy NFS WRITE argument XDR decodersChuck Lever1-0/+42
2018-04-03sunrpc: Re-purpose trace_svc_processChuck Lever1-6/+3
2017-11-15Merge tag 'modules-for-v4.15' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-2/+2
2017-10-31treewide: Fix function prototypes for module_param_call()Kees Cook1-2/+2
2017-10-18sunrpc: Convert timers to use timer_setup()Kees Cook1-1/+1
2017-08-24sunrpc: Const-ify struct sv_serv_opsChuck Lever1-3/+3
2017-06-28sunrpc: Disable splice for krb5iChuck Lever1-1/+1
2017-05-15sunrpc: mark all struct svc_version instances as constChristoph Hellwig1-2/+2
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-1/+1
2017-05-15sunrpc: properly type pc_encode callbacksChristoph Hellwig1-4/+2
2017-05-15sunrpc: properly type pc_decode callbacksChristoph Hellwig1-3/+6
2017-05-15sunrpc: properly type pc_release callbacksChristoph Hellwig1-4/+4
2017-05-15sunrpc: properly type pc_func callbacksChristoph Hellwig1-1/+1
2017-04-27NFSv4: Fix callback server shutdownTrond Myklebust1-0/+38
2017-04-27SUNRPC: Refactor svc_set_num_threads()Trond Myklebust1-38/+58
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-1/+1
2017-02-28Merge tag 'nfsd-4.11' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-1/+23
2017-02-27lib/vsprintf.c: remove %Z supportAlexey Dobriyan1-1/+1
2017-02-24sunrpc: don't register UDP port with rpcbind when version needs congestion co...Jeff Layton1-0/+7
2017-02-24nfs/nfsd/sunrpc: enforce transport requirements for NFSv4Jeff Layton1-0/+15
2017-02-24sunrpc: turn bitfield flags in svc_version into boolsJeff Layton1-1/+1
2016-11-30svcauth_gss: Close connection when dropping an incoming messageChuck Lever1-5/+9
2016-09-19SUNRPC: Initialise struct svc_serv backchannel fields during __svc_create()Trond Myklebust1-0/+17
2016-07-11NFS: Don't drop CB requests with invalid principalsChuck Lever1-0/+5
2016-07-11svc: Avoid garbage replies when pc_func() returns rpc_drop_replyChuck Lever1-1/+2
2015-12-07SUNRPC: Fix callback channelTrond Myklebust1-0/+12
2015-11-23nfs4: limit callback decoding to received bytesBenjamin Coddington1-0/+1
2015-11-02SUNRPC: Remove the TCP-only restriction in bc_svc_process()Chuck Lever1-5/+0
2015-08-10nfsd/sunrpc: factor svc_rqst allocation and freeing from sv_nrthreads refcoun...Jeff Layton1-18/+36
2015-08-10nfsd/sunrpc: move pool_mode definitions into svc.hJeff Layton1-24/+7
2015-08-10nfsd/sunrpc: move sv_module parm into sv_opsJeff Layton1-5/+3
2015-08-10nfsd/sunrpc: move sv_function into sv_opsJeff Layton1-5/+3
2015-08-10nfsd/sunrpc: add a new svc_serv_ops struct and move sv_shutdown into itJeff Layton1-9/+9
2015-07-02Merge tag 'nfs-for-4.2-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-8/+28
2015-06-05SUNRPC: Fix a backchannel raceTrond Myklebust1-1/+5
2015-06-05SUNRPC: Remove unused argument 'tk_ops' in rpc_run_bc_taskTrond Myklebust1-2/+1
2015-06-03SUNRPC: Move EXPORT_SYMBOL for svc_processChuck Lever1-1/+1
2015-06-02SUNRPC: Clean up bc_send()Chuck Lever1-8/+25
2015-01-23sunrpc/lockd: fix references to the BKLJeff Layton1-2/+2
2014-12-09sunrpc: convert to lockless lookup of queued server threadsJeff Layton1-3/+4
2014-12-09sunrpc: add a rcu_head to svc_rqst and use kfree_rcu to free itJeff Layton1-4/+6
2014-12-09sunrpc: require svc_create callers to pass in meaningful shutdown routineJeff Layton1-3/+0
2014-12-09sunrpc: move rq_splice_ok flag into rq_flagsJeff Layton1-1/+1
2014-12-09sunrpc: move rq_dropme flag into rq_flagsJeff Layton1-2/+2
2014-12-09sunrpc: move rq_usedeferral flag to rq_flagsJeff Layton1-1/+1
2014-12-09Merge tag 'nfs-for-3.19-1' into nfsd for-3.19 branchJ. Bruce Fields1-10/+13
2014-12-01sunrpc: release svc_pool_map reference when serv allocation failsJeff Layton1-5/+7
2014-11-24sunrpc: eliminate RPC_DEBUGJeff Layton1-1/+1
2014-11-24sunrpc: add some tracepoints in svc_rqst handling functionsJeff Layton1-9/+12
2014-10-29SUNRPC: off by one in BUG_ON()Dan Carpenter1-1/+1
2014-08-17SUNRPC: get rid of the request wait queueTrond Myklebust1-2/+0
2014-06-23SUNRPC/NFSD: Change to type of bool for rq_usedeferral and rq_splice_okKinglong Mee1-2/+2
2014-01-03SUNRPC/NFSD: Support a new option for ignoring the result of svc_registerKinglong Mee1-8/+17
2013-11-13svcrpc: remove an unnecessary assignmentWeng Meiling1-2/+0
2013-07-03drivers: avoid parsing names as kthread_run() format stringsKees Cook1-1/+1
2013-02-17svcrpc: fix rpc server shutdown racesJ. Bruce Fields1-9/+0
2013-01-23svcrpc: silence "unused variable" warning in !RPC_DEBUG caseJ. Bruce Fields1-0/+4
2012-12-20Merge branch 'for-3.8' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-5/+3
2012-12-17nfsd4: cleanup: replace rq_resused count by rq_next_page pointerJ. Bruce Fields1-1/+1
2012-12-10SUNRPC: remove redundant "linux/nsproxy.h" includesStanislav Kinsbursky1-1/+0
2012-11-07svcrpc: demote some printks to a dprintkJ. Bruce Fields1-3/+2
2012-11-04SUNRPC: remove BUG_ON in svc_registerWeston Andros Adamson1-1/+3
2012-11-04SUNRPC: remove BUG_ONs checking RPCSVC_MAXPAGESWeston Andros Adamson1-1/+3
2012-11-04SUNRPC: remove BUG_ON from svc_pool_map_set_cpumaskWeston Andros Adamson1-1/+3
2012-06-15Merge tag 'nfs-for-3.5-2' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-1/+2
2012-06-01Merge branch 'for-3.5' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-13/+10
2012-05-31SUNRPC: move per-net operations from svc_destroy()Stanislav Kinsbursky1-4/+0
2012-05-31SUNRPC: new svc_bind() routine introducedStanislav Kinsbursky1-9/+10
2012-05-31NFSv4.1: Fix a request leak on the back channelTrond Myklebust1-1/+2
2012-05-15net: Convert net_ratelimit uses to net_<level>_ratelimitedJoe Perches1-10/+8
2012-02-15Lockd: per-net up and down routines introducedStanislav Kinsbursky1-1/+2
2012-02-15SUNRPC: service shutdown function in network namespace context introducedStanislav Kinsbursky1-13/+20
2012-02-15SUNRPC: service destruction in network namespace contextStanislav Kinsbursky1-2/+11
2012-01-31SUNRPC: unregister service on creation in current network namespaceStanislav Kinsbursky1-7/+7
2012-01-31SUNRPC: register service on creation in current network namespaceStanislav Kinsbursky1-4/+5
2012-01-31SUNRPC: pass network namespace to service registering routinesStanislav Kinsbursky1-19/+23
2012-01-31SUNRPC: parametrize local rpcbind clients creation with net nsStanislav Kinsbursky1-2/+2
2012-01-31SUNRPC: register rpcbind programs in passed network namespase contextStanislav Kinsbursky1-5/+5
2012-01-14Merge branch 'for-3.3' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-10/+15
2012-01-05svcrpc: don't revert to SVC_POOL_DEFAULT on nfsd shutdownJ. Bruce Fields1-1/+0
2012-01-05svcrpc: fix double-free on shutdown of nfsd after changing pool modeJ. Bruce Fields1-0/+3
2011-12-11net: use IS_ENABLED(CONFIG_IPV6)Eric Dumazet1-4/+4