aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/svc_xprt.c
AgeCommit message (Expand)AuthorFilesLines
2024-05-06SUNRPC: Remove comment for sp_lockGuoqing Jiang1-1/+0
2024-05-06SUNRPC: add a new svc_find_listener helperJeff Layton1-0/+34
2024-05-06SUNRPC: introduce svc_xprt_create_from_sa utility routineLorenzo Bianconi1-58/+75
2024-01-07svc: don't hold reference for poolstats, only mutex.NeilBrown1-9/+23
2023-12-18SUNRPC: Revert 5f7fc5d69f6e92ec0b38774c387f5cf7812c5806Chuck Lever1-3/+2
2023-10-16SUNRPC: change the back-channel queue to lwqNeilBrown1-9/+3
2023-10-16SUNRPC: use lwq for sp_sockets - renamed to sp_xprtsNeilBrown1-40/+17
2023-10-16SUNRPC: only have one thread waking up at a timeNeilBrown1-13/+25
2023-10-16SUNRPC: rename some functions from rqst_ to svc_thread_NeilBrown1-5/+5
2023-10-16SUNRPC: change service idle list to be an llistNeilBrown1-26/+19
2023-10-16SUNRPC: discard SP_CONGESTEDNeilBrown1-3/+1
2023-10-16SUNRPC: add list of idle threadsNeilBrown1-4/+11
2023-10-16SUNRPC: change how svc threads are asked to exit.NeilBrown1-4/+3
2023-10-16SUNRPC: integrate back-channel processing with svc_recv()NeilBrown1-0/+27
2023-10-16SUNRPC: rename and refactor svc_get_next_xprt()NeilBrown1-48/+44
2023-10-16SUNRPC: move all of xprt handling into svc_xprt_handle()NeilBrown1-33/+20
2023-08-29SUNRPC: make rqst_should_sleep() idempotent()NeilBrown1-3/+5
2023-08-29SUNRPC: Count ingress RPC messages per svc_poolChuck Lever1-1/+2
2023-08-29SUNRPC: Deduplicate thread wake-up codeChuck Lever1-36/+8
2023-08-29SUNRPC: Move trace_svc_xprt_enqueueChuck Lever1-1/+1
2023-08-29SUNRPC: remove timeout arg from svc_recv()NeilBrown1-18/+16
2023-08-29SUNRPC: change svc_recv() to return void.NeilBrown1-17/+11
2023-08-29SUNRPC: call svc_process() from svc_recv().NeilBrown1-1/+2
2023-08-29nfsd: don't allow nfsd threads to be signalled.NeilBrown1-10/+6
2023-06-17SUNRPC: Remove transport class dprintk call sitesChuck Lever1-3/+0
2023-06-17SUNRPC: Fix comments for transport class registrationChuck Lever1-0/+12
2023-06-17SUNRPC: Move initialization of rq_stimeChuck Lever1-1/+2
2023-06-05SUNRPC: Resupply rq_pages from node-local memoryChuck Lever1-2/+3
2023-06-05SUNRPC: Remove dprintk() in svc_handle_xprt()Chuck Lever1-3/+0
2023-05-14SUNRPC: always free ctxt when freeing deferred requestNeilBrown1-6/+17
2023-05-14SUNRPC: double free xprt_ctxt while still in useNeilBrown1-1/+2
2023-04-27SUNRPC: Support TLS handshake in the server-side TCP socket codeChuck Lever1-1/+4
2023-04-27SUNRPC: Clear rq_xid when receiving a new RPC CallChuck Lever1-0/+2
2023-04-27SUNRPC: Be even lazier about releasing pagesChuck Lever1-3/+0
2023-04-26SUNRPC: Relocate svc_free_res_pages()Chuck Lever1-1/+1
2023-04-26SUNRPC: Ignore return value of ->xpo_sendtoChuck Lever1-12/+9
2023-02-20SUNRPC: Remove ->xpo_secure_port()Chuck Lever1-1/+0
2023-02-20SUNRPC: Replace pool stats with per-CPU variablesChuck Lever1-10/+8
2023-02-20SUNRPC: Hoist svcxdr_init_decode() into svc_process()Chuck Lever1-1/+0
2023-01-06Revert "SUNRPC: Use RMW bitops in single-threaded hot paths"Chuck Lever1-1/+1
2022-07-29SUNRPC: Expand the svc_alloc_arg_err tracepointChuck Lever1-1/+1
2022-05-23SUNRPC: Use RMW bitops in single-threaded hot pathsChuck Lever1-1/+1
2022-05-19SUNRPC: Simplify synopsis of svc_pool_for_cpu()Chuck Lever1-1/+1
2022-05-19SUNRPC: Don't disable preemption while calling svc_pool_for_cpu().Sebastian Andrzej Siewior1-4/+1
2022-05-19SUNRPC: Remove svc_rqst::rq_xprt_hlenChuck Lever1-6/+4
2022-04-12Merge tag 'nfsd-5.18-1' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/...Linus Torvalds1-0/+3
2022-04-06SUNRPC: Fix NFSD's request deferral on RDMA transportsChuck Lever1-0/+3
2022-03-24Merge tag 'net-next-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-2/+2
2022-02-28SUNRPC: Remove svc_shutdown_net()Chuck Lever1-2/+7
2022-02-28SUNRPC: Rename svc_close_xprt()Chuck Lever1-2/+7
2022-02-28SUNRPC: Rename svc_create_xprt()Chuck Lever1-5/+19
2022-02-28SUNRPC: Merge svc_do_enqueue_xprt() into svc_enqueue_xprt()Chuck Lever1-16/+10
2022-02-28SUNRPC: Remove the .svo_enqueue_xprt methodChuck Lever1-5/+5
2022-01-28SUNRPC: add netns refcount tracker to struct svc_xprtEric Dumazet1-2/+2
2022-01-16Merge tag 'nfsd-5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linuxLinus Torvalds1-5/+3
2022-01-15mm: introduce memalloc_retry_wait()NeilBrown1-1/+2
2022-01-10SUNRPC: Fix sockaddr handling in the svc_xprt_create_error trace pointChuck Lever1-1/+1
2021-12-13SUNRPC: Remove low signal-to-noise tracepointsChuck Lever1-4/+2
2021-10-04SUNRPC: Add trace event when alloc_pages_bulk() makes no progressChuck Lever1-0/+1
2021-09-08Merge tag 'nfsd-5.15-1' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/...Linus Torvalds1-6/+7
2021-09-01SUNRPC: don't pause on incomplete allocationNeilBrown1-6/+7
2021-08-31Merge tag 'nfsd-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linuxLinus Torvalds1-0/+3
2021-08-25SUNRPC: Fix XPT_BUSY flag leakage in svc_handle_xprt()...Trond Myklebust1-1/+2
2021-08-17SUNRPC: Add svc_rqst_replace_page() APIChuck Lever1-0/+3
2021-04-30SUNRPC: refresh rq_pages using a bulk page allocatorChuck Lever1-16/+15
2021-04-30SUNRPC: set rq_page_end differentlyChuck Lever1-4/+3
2021-03-22SUNRPC: Move svc_xprt_received() call sitesChuck Lever1-3/+4
2021-03-22SUNRPC: Export svc_xprt_received()Chuck Lever1-4/+9
2021-03-22svcrdma: Add a "deferred close" helperChuck Lever1-0/+14
2021-03-06NFSD: Repair misuse of sv_lock in 5.10.16-rt30.Joe Korty1-2/+2
2021-01-13SUNRPC: Move the svc_xdr_recvfrom tracepoint againChuck Lever1-2/+2
2020-11-30SUNRPC: Move the svc_xdr_recvfrom() tracepointChuck Lever1-3/+1
2020-06-11Merge tag 'nfs-for-5.8-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-2/+2
2020-06-11SUNRPC: Split the xdr_buf event classChuck Lever1-2/+2
2020-05-20SUNRPC: Clean up request deferral tracepointsChuck Lever1-6/+6
2020-05-18SUNRPC: Trace a few more generic svc_xprt eventsChuck Lever1-17/+5
2020-05-18SUNRPC: Tracepoint to record errors in svc_xpo_create()Chuck Lever1-1/+6
2020-05-18SUNRPC: Move xpt_mutex into socket xpo_sendto methodsChuck Lever1-9/+3
2020-04-17svcrdma: Fix leak of svc_rdma_recv_ctxt objectsChuck Lever1-3/+0
2020-04-17SUNRPC: Fix backchannel RPC soft lockupsChuck Lever1-0/+2
2020-03-27SUNRPC: Fix a potential buffer overflow in 'svc_print_xprts()'Christophe JAILLET1-5/+14
2020-03-16svcrdma: Create a generic tracing class for displaying xdr_buf layoutChuck Lever1-0/+3
2019-07-03nfs: fix out-of-date connectathon talk URLJ. Bruce Fields1-1/+1
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-04-24SUNRPC: Temporary sockets should inherit the cred from their parentTrond Myklebust1-2/+3
2019-04-24SUNRPC: Cache the process user cred in the RPC server listenerTrond Myklebust1-4/+8
2019-02-06svcrpc: fix unlikely races preventing queueing of socketsJ. Bruce Fields1-1/+11
2019-02-06svcrpc: svc_xprt_has_something_to_do seems a little longJ. Bruce Fields1-2/+2
2019-02-06SUNRPC: Don't allow compiler optimisation of svc_xprt_release_slot()Trond Myklebust1-2/+6
2018-12-27sunrpc: fix debug message in svc_create_xprt()Vasily Averin1-2/+2
2018-12-27sunrpc: use-after-free in svc_process_common()Vasily Averin1-2/+3
2018-10-30Merge tag 'nfsd-4.20' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-1/+1
2018-10-29nfsd: Fix an Oops in free_session()Trond Myklebust1-1/+1
2018-09-30SUNRPC: Clean up transport write space handlingTrond Myklebust1-2/+0
2018-04-03svc: Report xprt dequeue latencyChuck Lever1-2/+2
2018-04-03sunrpc: Report per-RPC execution statsChuck Lever1-1/+2
2018-04-03sunrpc: Save remote presentation address in svc_xprt for trace eventsChuck Lever1-1/+2
2018-04-03sunrpc: Simplify trace_svc_recvChuck Lever1-1/+0
2018-04-03sunrpc: Simplify do_enqueue tracingChuck Lever1-8/+3
2018-04-03sunrpc: Move trace_svc_xprt_dequeue()Chuck Lever1-4/+1
2018-04-03svc: Simplify ->xpo_secure_portChuck Lever1-4/+1
2018-04-03sunrpc: Remove unneeded pointer dereferenceChuck Lever1-2/+2
2017-11-21treewide: Remove TIMER_FUNC_TYPE and TIMER_DATA_TYPE castsKees Cook1-1/+1
2017-11-18Merge tag 'nfsd-4.15' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-73/+33
2017-11-07SUNRPC: Improve ordering of transport processingTrond Myklebust1-70/+30
2017-11-07sunrcp: make function _svc_create_xprt staticColin Ian King1-3/+3
2017-10-18sunrpc: Convert timers to use timer_setup()Kees Cook1-5/+4
2017-07-12sunrpc: Allocate up to RPCSVC_MAXPAGES per svc_rqstChuck Lever1-4/+6
2017-02-20Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-3/+3
2017-01-14locking/atomic, kref: Add kref_read()Peter Zijlstra1-3/+3
2017-01-12sunrpc: don't call sleeping functions from the notifier block callbacksScott Mayhew1-3/+7
2016-11-14sunrpc: svc_age_temp_xprts_now should not call setsockopt non-tcp transportsScott Mayhew1-10/+1
2016-07-13SUNRPC: Remove unused callback xpo_adjust_wspace()Trond Myklebust1-2/+0
2016-07-13SUNRPC: Add a server side per-connection limitTrond Myklebust1-3/+36
2016-07-13SUNRPC: Add tracepoints for dropped and deferred requestsTrond Myklebust1-0/+4
2016-07-13SUNRPC: Add a tracepoint for server socket out-of-space conditionsTrond Myklebust1-2/+6
2016-06-15rpc: share one xps between all backchannelsJ. Bruce Fields1-0/+2
2016-05-23svcrpc: autoload rdma moduleJ. Bruce Fields1-4/+19
2015-12-23sunrpc: Add a function to close temporary transports immediatelyScott Mayhew1-0/+45
2015-08-10nfsd/sunrpc: turn enqueueing a svc_xprt into a svc_serv operationJeff Layton1-5/+5
2015-01-23sunrpc/lockd: fix references to the BKLJeff Layton1-2/+1
2014-12-09sunrpc: only call test_bit once in svc_xprt_receivedJeff Layton1-2/+4
2014-12-09sunrpc: add some tracepoints around enqueue and dequeue of svc_xprtJeff Layton1-7/+15
2014-12-09sunrpc: convert to lockless lookup of queued server threadsJeff Layton1-97/+124
2014-12-09sunrpc: fix potential races in pool_stats collectionJeff Layton1-6/+6
2014-12-09sunrpc: have svc_wake_up only deal with pool 0Jeff Layton1-21/+16
2014-12-09sunrpc: convert sp_task_pending flag to use atomic bitopsJeff Layton1-4/+3
2014-12-09sunrpc: move rq_dropme flag into rq_flagsJeff Layton1-1/+1
2014-12-09sunrpc: move rq_usedeferral flag to rq_flagsJeff Layton1-1/+1
2014-12-09sunrpc: add a generic rq_flags field to svc_rqst and move rq_secure to itJeff Layton1-1/+4
2014-12-09Merge tag 'nfs-for-3.19-1' into nfsd for-3.19 branchJ. Bruce Fields1-10/+21
2014-12-01sunrpc: eliminate the XPT_DETACHED flagJeff Layton1-3/+1
2014-11-24sunrpc: add some tracepoints in svc_rqst handling functionsJeff Layton1-10/+21
2014-08-28SUNRPC: Fix compile on non-x86J. Bruce Fields1-4/+0
2014-08-17SUNRPC: More optimisations of svc_xprt_enqueue()Trond Myklebust1-14/+7
2014-08-17SUNRPC: Fix broken kthread_should_stop test in svc_get_next_xprtTrond Myklebust1-21/+10
2014-08-17SUNRPC: get rid of the request wait queueTrond Myklebust1-15/+17
2014-08-17SUNRPC: Do not grab pool->sp_lock unnecessarily in svc_get_next_xprtTrond Myklebust1-5/+10
2014-08-17SUNRPC: Do not override wspace tests in svc_handle_xprtTrond Myklebust1-1/+1
2014-07-29SUNRPC: Allow svc_reserve() to notify TCP socket that space has been freedTrond Myklebust1-0/+2
2014-07-29SUNRPC: Reduce contention in svc_xprt_enqueue()Trond Myklebust1-8/+17
2014-05-30nfsd4: allow encoding across page boundariesJ. Bruce Fields1-0/+1
2014-05-22SUNRPC: Fix a module reference leak in svc_handle_xprtTrond Myklebust1-0/+2
2014-05-22NFSD: Ignore client's source port on RDMA transportsChuck Lever1-1/+1
2014-02-09net: Mark functions as static in net/sunrpc/svc_xprt.cRashika Kheria1-3/+3
2013-02-17svcrpc: fix rpc server shutdown racesJ. Bruce Fields1-25/+32
2013-02-17svcrpc: make svc_age_temp_xprts enqueue under sv_lockJ. Bruce Fields1-13/+2
2013-01-23sunrpc: Fix lockd sleeping until timeoutAndriy Skulysh1-1/+8
2012-11-04SUNRPC: remove BUG_ON in svc_delete_xprtWeston Andros Adamson1-1/+1
2012-11-04SUNRPC: remove BUG_ONs checking RPCSVC_MAXPAGESWeston Andros Adamson1-1/+4
2012-11-04SUNRPC: remove BUG_ON in svc_xprt_receivedWeston Andros Adamson1-1/+3
2012-08-21svcrpc: split up svc_handle_xprtJ. Bruce Fields1-22/+25
2012-08-21svcrpc: break up svc_recvJ. Bruce Fields1-36/+67
2012-08-21svcrpc: make svc_xprt_received staticJ. Bruce Fields1-21/+20
2012-08-21svcrpc: make xpo_recvfrom return only >=0J. Bruce Fields1-1/+1
2012-08-21svcrpc: share some setup of listening socketsJ. Bruce Fields1-6/+10
2012-08-21svcrpc: make svc_create_xprt enqueue on clearing XPT_BUSYJ. Bruce Fields1-1/+1
2012-08-21svcrpc: fix xpt_list traversal locking on shutdownJ. Bruce Fields1-9/+15
2012-08-20svcrpc: fix svc_xprt_enqueue/svc_recv busy-loopingJ. Bruce Fields1-5/+2
2012-08-20svcrpc: sends on closed socket should stop immediatelyJ. Bruce Fields1-1/+2
2012-06-01Merge branch 'for-3.5' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-2/+2
2012-05-31svcrpc: fix a comment typoJ. Bruce Fields1-1/+1
2012-05-31sunrpc: do array overrun check in svc_recv before allocating pagesJeff Layton1-1/+1
2012-05-15net: Convert net_ratelimit uses to net_<level>_ratelimitedJoe Perches1-8/+5
2012-02-15SUNRPC: service destruction in network namespace contextStanislav Kinsbursky1-10/+17
2012-02-15SUNRPC: clear svc transports lists helper introducedStanislav Kinsbursky1-8/+11
2012-02-15SUNRPC: clear svc pools lists helper introducedStanislav Kinsbursky1-6/+13
2012-01-31SUNRPC: search for service transports in network namespace contextStanislav Kinsbursky1-1/+5
2012-01-14Merge branch 'for-3.3' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-21/+41
2011-12-11net: use IS_ENABLED(CONFIG_IPV6)Eric Dumazet1-4/+4
2011-12-06SUNRPC: create svc_xprt in proper network namespaceStanislav Kinsbursky1-3/+3
2011-12-06svcrpc: avoid memory-corruption on pool shutdownJ. Bruce Fields1-19/+29
2011-12-06svcrpc: destroy server sockets all at onceJ. Bruce Fields1-1/+10
2011-12-06svcrpc: make svc_delete_xprt staticJ. Bruce Fields1-1/+2
2011-10-31net: Fix files explicitly needing to include module.hPaul Gortmaker1-0/+1
2011-09-14SUNRPC: Replace svc_addr_u by sockaddr_storageMi Jinlong1-11/+2
2011-07-15svcrpc: fix list-corrupting race on nfsd shutdownJ. Bruce Fields1-5/+6
2011-01-11rpc: keep backchannel xprt as long as server connectionJ. Bruce Fields1-0/+4
2011-01-04svcrpc: simpler request droppingJ. Bruce Fields1-0/+1
2010-12-17sunrpc: remove xpt_poolNeilBrown1-5/+0
2010-12-17Merge commit 'v2.6.37-rc6' into for-2.6.38J. Bruce Fields1-2/+8
2010-12-07sunrpc: prevent use-after-free on clearing XPT_BUSYNeilBrown1-1/+8
2010-11-19svcrpc: fix wspace-checking raceJ. Bruce Fields1-22/+11
2010-11-19svcrpc: svc_close_xprt commentJ. Bruce Fields1-1/+6
2010-11-19svcrpc: simplify svc_close_allJ. Bruce Fields1-8/+8
2010-11-19nfsd4: centralize more calls to svc_xprt_receivedJ. Bruce Fields1-12/+14
2010-11-19svcrpc: don't set then immediately clear XPT_DEFERREDJ. Bruce Fields1-3/+2
2010-11-17BKL: remove extraneous #include <smp_lock.h>Arnd Bergmann1-1/+0
2010-10-25svcrpc: no need for XPT_DEAD check in svc_xprt_enqueueJ. Bruce Fields1-6/+0
2010-10-25svcrpc: assume svc_delete_xprt() called only onceJ. Bruce Fields1-1/+1
2010-10-25svcrpc: never clear XPT_BUSY on dead xprtJ. Bruce Fields1-3/+0
2010-10-19sunrpc: Turn list_for_each-s into the ..._entry-sPavel Emelyanov1-4/+2
2010-10-01nfsd: provide callbacks on svc_xprt deletionJ. Bruce Fields1-0/+15
2010-10-01sunrpc: Pull net argument downto svc_create_socketPavel Emelyanov1-2/+3
2010-10-01sunrpc: Add net argument to svc_create_xprtPavel Emelyanov1-2/+2
2010-09-27sunrpc: Tag svc_xprt with netPavel Emelyanov1-0/+2
2010-09-27sunrpc: Make xprt auth cache release work with the xprtPavel Emelyanov1-3/+2
2010-09-07svcrpc: minor cache cleanupJ. Bruce Fields1-1/+1
2010-09-07sunrpc/cache: allow threads to block while waiting for cache update.NeilBrown1-0/+11
2010-05-04Merge commit 'v2.6.34-rc6'J. Bruce Fields1-0/+1