aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprt.c
AgeCommit message (Expand)AuthorFilesLines
2024-02-28SUNRPC: Add a transport callback to handle dequeuing of an RPC requestTrond Myklebust1-0/+6
2024-02-28SUNRPC: Don't try to send when the connection is shutting downTrond Myklebust1-0/+3
2024-01-04NFSv4.1: Use the nfs_client's rpc timeouts for backchannelBenjamin Coddington1-3/+9
2024-01-04SUNRPC: Fixup v4.1 backchannel request timeoutsBenjamin Coddington1-9/+14
2023-10-22SUNRPC: SOFTCONN tasks should time out when on the sending listTrond Myklebust1-2/+2
2022-11-24timers: Get rid of del_singleshot_timer_sync()Thomas Gleixner1-1/+1
2022-10-16Merge tag 'random-6.1-rc1-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-1/+1
2022-10-11treewide: use get_random_u32() when possibleJason A. Donenfeld1-1/+1
2022-10-03SUNRPC: use max_t() to simplify open codeZiyang Xuan1-4/+1
2022-10-03SUNRPC: Directly use ida_alloc()/free()Bo Liu1-2/+2
2022-09-01SUNRPC: Fix call completion races with call_decode()Trond Myklebust1-4/+4
2022-07-27SUNRPC: Don't reuse bvec on retransmission of the requestTrond Myklebust1-9/+18
2022-07-25SUNRPC create an rpc function that allows xprt removal from rpc_clntOlga Kornievskaia1-1/+1
2022-07-25SUNRPC expose functions for offline remote xprt functionalityOlga Kornievskaia1-0/+32
2022-04-08Merge tag 'nfs-for-5.18-2' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-14/+16
2022-04-07SUNRPC: Ensure we flush any closed sockets before xs_xprt_free()Trond Myklebust1-6/+1
2022-03-29SUNRPC: handle malloc failure in ->request_prepareNeilBrown1-8/+15
2022-03-29Merge tag 'nfs-for-5.18-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-12/+11
2022-03-23SUNRPC: avoid race between mod_timer() and del_timer_sync()NeilBrown1-0/+7
2022-03-22SUNRPC: Make the rpciod and xprtiod slab allocation modes consistentTrond Myklebust1-4/+1
2022-03-13SUNRPC: improve 'swap' handling: scheduling and PF_MEMALLOCNeilBrown1-0/+3
2022-03-13SUNRPC: remove scheduling boost for "SWAPPER" tasks.NeilBrown1-11/+0
2022-03-13SUNRPC/xprt: async tasks mustn't block waiting for memoryNeilBrown1-1/+4
2022-02-25SUNRPC: Convert GFP_NOFS to GFP_KERNELTrond Myklebust1-1/+1
2022-01-28SUNRPC: add netns refcount tracker to struct rpc_xprtEric Dumazet1-2/+2
2021-11-04SUNRPC: Prevent immediate close+reconnectTrond Myklebust1-1/+2
2021-11-04SUNRPC: Fix races when closing the socketTrond Myklebust1-0/+2
2021-10-03SUNRPC: xprt_clear_locked() only needs release memory semanticsTrond Myklebust1-5/+3
2021-10-03SUNRPC: Partial revert of commit 6f9f17287e78Trond Myklebust1-13/+15
2021-09-04Merge tag 'nfs-for-5.15-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-12/+20
2021-08-20SUNRPC: Move client-side disconnect injectionChuck Lever1-0/+14
2021-08-09SUNRPC/xprtrdma: Fix reconnection lockingTrond Myklebust1-0/+2
2021-08-09SUNRPC: Clean up scheduling of autocloseTrond Myklebust1-12/+16
2021-08-09SUNRPC: Fix potential memory corruptionTrond Myklebust1-2/+4
2021-07-08sunrpc: add dst_attr attributes to the sysfs xprt directoryOlga Kornievskaia1-1/+3
2021-07-08sunrpc: add xprt idOlga Kornievskaia1-0/+26
2021-05-26SUNRPC: More fixes for backlog congestionTrond Myklebust1-30/+28
2021-05-20SUNRPC in case of backlog, hand free slots directly to waiting taskNeilBrown1-21/+47
2021-04-14SUNRPC: Handle major timeout in xprt_adjust_timeout()Chris Dion1-2/+2
2021-04-14SUNRPC: Remove trace_xprt_transmit_queuedChuck Lever1-2/+0
2021-04-14SUNRPC: Add tracepoint that fires when an RPC is retransmittedChuck Lever1-1/+3
2021-04-14SUNRPC: Move fault injection call sitesChuck Lever1-2/+4
2021-04-05SUNRPC: Set TCP_CORK until the transmit queue is emptyTrond Myklebust1-0/+2
2020-12-02SUNRPC: Remove unused function xprt_load_transport()Trond Myklebust1-15/+0
2020-12-02SUNRPC: Add a helper to return the transport identifier given a netidTrond Myklebust1-4/+21
2020-12-02SUNRPC: Close a race with transport setup and module putTrond Myklebust1-11/+33
2020-12-02SUNRPC: xprt_load_transport() needs to support the netid "rdma6"Trond Myklebust1-16/+49
2020-09-21SUNRPC: Mitigate cond_resched() in xprt_transmit()Chuck Lever1-2/+4
2020-09-21SUNRPC: Replace connect dprintk call sites with a tracepointChuck Lever1-2/+1
2020-09-21SUNRPC: Replace dprintk() call site in xprt_prepare_transmitChuck Lever1-2/+2
2020-09-21SUNRPC: Update debugging instrumentation in xprt_do_reserve()Chuck Lever1-6/+2
2020-09-21SUNRPC: Remove debugging instrumentation from xprt_releaseChuck Lever1-1/+0
2020-09-21SUNRPC: Remove trace_xprt_complete_rqst()Chuck Lever1-2/+0
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-1/+1
2020-08-04SUNRPC dont update timeout value on connection resetOlga Kornievskaia1-0/+9
2020-06-11SUNRPC: Trace transport lifetime eventsChuck Lever1-10/+11
2020-06-11SUNRPC: Split the xdr_buf event classChuck Lever1-1/+1
2020-03-16svcrdma: Create a generic tracing class for displaying xdr_buf layoutChuck Lever1-2/+1
2019-11-18Merge tag 'nfs-rdma-for-5.5-1' of git://git.linux-nfs.org/projects/anna/linux...Trond Myklebust1-9/+13
2019-10-30SUNRPC: Destroy the back channel when we destroy the host transportTrond Myklebust1-0/+5
2019-10-24SUNRPC: Add trace points to observe transport congestion controlChuck Lever1-9/+13
2019-09-26Merge tag 'nfs-for-5.4-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-23/+38
2019-09-20SUNRPC: Fix congestion window race with disconnectChuck Lever1-0/+7
2019-09-17SUNRPC: Dequeue the request from the receive queue while we're re-encodingTrond Myklebust1-23/+31
2019-08-26Revert "NFSv4/flexfiles: Abort I/O early if the layout segment was invalidated"Trond Myklebust1-7/+0
2019-07-18SUNRPC: Ensure the bvecs are reset when we re-encode the RPC requestTrond Myklebust1-0/+2
2019-07-12Merge tag 'nfs-rdma-for-5.3-1' of git://git.linux-nfs.org/projects/anna/linux...Trond Myklebust1-0/+32
2019-07-09xprtrdma: Modernize ops->connectChuck Lever1-0/+32
2019-07-06SUNRPC: Fix possible autodisconnect during connect due to old last_usedDave Wysochanski1-1/+1
2019-07-06Merge branch 'bh-remove'Trond Myklebust1-33/+28
2019-07-06SUNRPC: Move call to rpc_count_iostats before rpc_call_doneDave Wysochanski1-4/+0
2019-07-06SUNRPC: Remove the bh-safe lock requirement on xprt->transport_lockTrond Myklebust1-33/+28
2019-06-21Revert "SUNRPC: Declare RPC timers as TIMER_DEFERRABLE"Anna Schumaker1-3/+1
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-04-25SUNRPC: Update comments based on recent changesChuck Lever1-2/+2
2019-04-25SUNRPC: Start the first major timeout calculation at task creationTrond Myklebust1-10/+34
2019-04-25SUNRPC: Ensure that the transport layer respect major timeoutsTrond Myklebust1-4/+13
2019-04-25SUNRPC: Declare RPC timers as TIMER_DEFERRABLETrond Myklebust1-1/+3
2019-04-25SUNRPC: Add function rpc_sleep_on_timeout()Trond Myklebust1-15/+21
2019-04-25SUNRPC: Refactor xprt_request_wait_receive()Trond Myklebust1-37/+42
2019-04-25SUNRPC: Fix up task signallingTrond Myklebust1-0/+4
2019-03-15SUNRPC: Use the ENOTCONN error on socket disconnectTrond Myklebust1-1/+1
2019-03-01NFSv4/flexfiles: Abort I/O early if the layout segment was invalidatedTrond Myklebust1-0/+7
2019-02-25Merge tag 'nfs-rdma-for-5.1-1' of git://git.linux-nfs.org/projects/anna/linux...Trond Myklebust1-4/+6
2019-02-20SUNRPC: Convert socket page send code to use iov_iter()Trond Myklebust1-0/+1
2019-02-20SUNRPC: Ensure rq_bytes_sent is reset before request transmissionTrond Myklebust1-2/+0
2019-02-20SUNRPC: Set memalloc_nofs_save() on all rpciod/xprtiod jobsTrond Myklebust1-0/+3
2019-02-14SUNRPC: Introduce trace points in rpc_auth_gss.koChuck Lever1-4/+6
2019-01-15SUNRPC: Address Kerberos performance/behavior regressionChuck Lever1-1/+1
2019-01-15SUNRPC: Ensure rq_bytes_sent is reset before request transmissionTrond Myklebust1-0/+1
2018-12-18SUNRPC: Remove xprt_connect_status()Trond Myklebust1-31/+1
2018-12-18SUNRPC: Fix disconnection racesTrond Myklebust1-1/+4
2018-12-02SUNRPC: Fix a potential race in xprt_connect()Trond Myklebust1-2/+9
2018-12-02SUNRPC: Fix a memory leak in call_encode()Trond Myklebust1-0/+2
2018-10-18Merge tag 'nfs-rdma-for-4.20-1' of git://git.linux-nfs.org/projects/anna/linu...Trond Myklebust1-10/+4
2018-10-02sunrpc: Fix connect metricsChuck Lever1-10/+4
2018-09-30SUNRPC: Add a bvec array to struct xdr_buf for use with iovec_iter()Trond Myklebust1-0/+17
2018-09-30SUNRPC: Convert the xprt->sending queue back to an ordinary wait queueTrond Myklebust1-17/+3
2018-09-30SUNRPC: Convert xprt receive queue to use an rbtreeTrond Myklebust1-11/+82
2018-09-30SUNRPC: Don't take transport->lock unnecessarily when taking XPRT_LOCKTrond Myklebust1-2/+5
2018-09-30SUNRPC: Cleanup: remove the unused 'task' argument from the request_send()Trond Myklebust1-1/+1
2018-09-30SUNRPC: Clean up transport write space handlingTrond Myklebust1-30/+47
2018-09-30SUNRPC: Turn off throttling of RPC slots for TCP socketsTrond Myklebust1-14/+0
2018-09-30SUNRPC: Allow soft RPC calls to time out when waiting for the XPRT_LOCKTrond Myklebust1-2/+2
2018-09-30SUNRPC: Allow calls to xprt_transmit() to drain the entire transmit queueTrond Myklebust1-11/+60
2018-09-30SUNRPC: Enqueue swapper tagged RPCs at the head of the transmit queueTrond Myklebust1-0/+11
2018-09-30SUNRPC: Support for congestion control when queuing is enabledTrond Myklebust1-36/+92
2018-09-30SUNRPC: Improve latency for interactive tasksTrond Myklebust1-3/+24
2018-09-30SUNRPC: Move RPC retransmission stat counter to xprt_transmit()Trond Myklebust1-7/+12
2018-09-30SUNRPC: Simplify xprt_prepare_transmit()Trond Myklebust1-16/+7
2018-09-30SUNRPC: Don't reset the request 'bytes_sent' counter when releasing XPRT_LOCKTrond Myklebust1-14/+0
2018-09-30SUNRPC: Treat the task and request as separate in the xprt_ops->send_request()Trond Myklebust1-1/+1
2018-09-30SUNRPC: Fix up the back channel transmitTrond Myklebust1-1/+26
2018-09-30SUNRPC: Refactor RPC call encodingTrond Myklebust1-9/+13
2018-09-30SUNRPC: Add a transmission queue for RPC requestsTrond Myklebust1-9/+75
2018-09-30SUNRPC: Distinguish between the slot allocation list and receive queueTrond Myklebust1-6/+6
2018-09-30SUNRPC: Refactor xprt_transmit() to remove wait for reply codeTrond Myklebust1-22/+52
2018-09-30SUNRPC: Refactor xprt_transmit() to remove the reply queue codeTrond Myklebust1-44/+83
2018-09-30SUNRPC: Rename xprt->recv_lock to xprt->queue_lockTrond Myklebust1-12/+12
2018-09-30SUNRPC: Don't wake queued RPC calls multiple times in xprt_transmitTrond Myklebust1-6/+3
2018-09-30SUNRPC: Refactor the transport request pinningTrond Myklebust1-20/+23
2018-09-30SUNRPC: Simplify identification of when the message send/receive is completeTrond Myklebust1-3/+14
2018-09-30SUNRPC: The transmitted message must lie in the RPCSEC window of validityTrond Myklebust1-0/+7
2018-09-30SUNRPC: Clean up initialisation of the struct rpc_rqstTrond Myklebust1-40/+51
2018-07-31sunrpc: whitespace fixesStephen Hemminger1-1/+1
2018-06-19sunrpc: Prevent duplicate XID allocationChuck Lever1-3/+7
2018-05-07SUNRPC: Add a ->free_slot transport calloutChuck Lever1-2/+3
2018-05-07SUNRPC: Initialize rpc_rqst outside of xprt->reserve_lockChuck Lever1-5/+7
2018-04-10SUNRPC: Make num_reqs a non-atomic integerChuck Lever1-8/+9
2018-04-10SUNRPC: Make RTT measurement more precise (Send)Chuck Lever1-1/+0
2018-04-10SUNRPC: Make RTT measurement more precise (Receive)Chuck Lever1-2/+3
2018-04-10SUNRPC: Move xprt_update_rtt callsiteChuck Lever1-3/+8
2018-02-07SUNRPC: Queue latency-sensitive socket tasks to xprtiodTrond Myklebust1-1/+2
2018-01-23SUNRPC: Trace xprt_timer eventsChuck Lever1-1/+1
2017-12-16Merge tag 'nfs-for-4.15-3' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-9/+19
2017-12-15SUNRPC: Fix a race in the receive code pathTrond Myklebust1-9/+19
2017-11-17Merge tag 'nfs-for-4.15-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-0/+1
2017-11-17net: sunrpc: mark expected switch fall-throughsGustavo A. R. Silva1-0/+1
2017-10-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-11/+25
2017-10-19SUNRPC: Destroy transport from the system workqueueTrond Myklebust1-10/+24
2017-10-18sunrpc: Convert timers to use timer_setup()Kees Cook1-5/+4
2017-10-16SUNRPC: fix a list corruption issue in xprt_release()Trond Myklebust1-1/+1
2017-09-05xprtrdma: Use xprt_pin_rqst in rpcrdma_reply_handlerChuck Lever1-0/+2
2017-08-18SUNRPC: Add a separate spinlock to protect the RPC request receive listTrond Myklebust1-8/+12
2017-08-16SUNRPC: Don't hold the transport lock across socket copy operationsTrond Myklebust1-0/+43
2017-07-13SUNRPC: Make slot allocation more reliableTrond Myklebust1-3/+5
2017-04-25sunrpc: Export xprt_force_disconnect()Chuck Lever1-0/+1
2017-02-10sunrpc: Allow xprt->ops->timer method to sleepChuck Lever1-2/+0
2016-12-01sunrpc: Don't engage exponential backoff when connection attempt is rejected.NeilBrown1-1/+2
2016-09-19SUNRPC: Generalize the RPC buffer release APIChuck Lever1-1/+1
2016-08-02SUNRPC: Fix up socket autodisconnectTrond Myklebust1-8/+18
2016-06-13SUNRPC: Reduce latency when send queue is congestedTrond Myklebust1-2/+4
2016-06-13SUNRPC: RPC transport queue must be low latencyTrond Myklebust1-4/+4
2016-02-05SUNRPC: Use the multipath iterator to assign a transport to each taskTrond Myklebust1-11/+3
2016-02-05SUNRPC: Add a structure to track multiple transportsTrond Myklebust1-0/+1
2016-01-31SUNRPC: Make freeing of struct xprt rcu-safeTrond Myklebust1-1/+2
2016-01-31SUNRPC: Uninline xprt_get(); It isn't performance critical.Trond Myklebust1-3/+21
2016-01-19svcrdma: Add class for RDMA backwards direction transportChuck Lever1-0/+1
2015-09-19SUNRPC: Lock the transport layer on shutdownTrond Myklebust1-0/+6
2015-06-19SUNRPC: Ensure we release the TCP socket once it has been closedTrond Myklebust1-1/+1
2015-06-16SUNRPC: never enqueue a ->rq_cong request on ->sendingNeil Brown1-0/+3
2015-06-10SUNRPC: Transport fault injectionChuck Lever1-0/+2
2015-04-23Merge branch 'bugfixes'Trond Myklebust1-10/+12
2015-04-23sunrpc: make debugfs file creation failure non-fatalJeff Layton1-6/+1
2015-03-27SUNRPC: Fix a regression when reconnectingTrond Myklebust1-10/+12
2015-02-09SUNRPC: Remove the redundant XPRT_CONNECTION_CLOSE flagTrond Myklebust1-1/+0
2015-02-08SUNRPC: Add helpers to prevent socket create from racingTrond Myklebust1-4/+33
2014-11-27sunrpc: add a debugfs rpc_xprt directory with an info file in itJeff Layton1-0/+8
2014-11-24sunrpc: eliminate RPC_DEBUGJeff Layton1-1/+1
2014-11-24sunrpc: add new tracepoints in xprt handling codeJeff Layton1-1/+8
2014-08-13Merge tag 'nfs-for-3.17-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-0/+1
2014-07-18svcrdma: Select NFSv4.1 backchannel transport based on forward channelChuck Lever1-1/+1
2014-07-03SUNRPC: Handle EPIPE in xprt_connect_statusTrond Myklebust1-0/+1
2014-06-10Merge tag 'nfs-for-3.16-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-19/+9
2014-06-04SUNRPC: Move congestion window constants to header fileChuck Lever1-19/+9
2014-04-18arch: Mass conversion of smp_mb__*()Peter Zijlstra1-2/+2
2014-03-30NFSD/SUNRPC: Check rpc_xprt out of xs_setup_bc_tcpKinglong Mee1-12/+0
2014-01-28Merge tag 'nfs-for-3.14-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-0/+5
2014-01-14net: replace macros net_random and net_srandom with direct calls to prandomAruna-Hewapathirane1-1/+1
2013-12-31SUNRPC: Ensure xprt_connect_status handles all potential connection errorsTrond Myklebust1-0/+5
2013-10-28SUNRPC: remove an unnecessary if statementwangweidong1-3/+1
2013-10-01SUNRPC: Remove redundant initialisations of request rq_bytes_sentTrond Myklebust1-8/+7
2013-10-01SUNRPC: Add RPC task and client level options to disable the resend timeoutTrond Myklebust1-3/+12
2013-10-01SUNRPC: Clean up - convert xprt_prepare_transmit to return a boolTrond Myklebust1-6/+9
2013-10-01SUNRPC: Clear the request rq_bytes_sent field in xprt_release_writeTrond Myklebust1-0/+10
2013-10-01SUNRPC: Don't set the request connect_cookie until a successful transmitTrond Myklebust1-3/+5
2013-04-26SUNRPC: allow disabling idle timeoutJ. Bruce Fields1-0/+2
2013-04-14SUNRPC: Fix a livelock problem in the xprt->backlog queueTrond Myklebust1-3/+58
2013-02-22SUNRPC: Don't start the retransmission timer when out of socket spaceTrond Myklebust1-1/+5
2013-02-01SUNRPC: Avoid RCU dereferences in the transport bind and connect codeTrond Myklebust1-2/+2
2013-02-01SUNRPC: Fix an RCU dereference in xprt_reserveTrond Myklebust1-1/+4
2013-02-01SUNRPC: Pass pointers to struct rpc_xprt to the congestion windowTrond Myklebust1-3/+3
2013-02-01SUNRPC: Pass a pointer to struct rpc_xprt to the connect callbackTrond Myklebust1-1/+1
2013-02-01SUNRPC: Eliminate task->tk_xprt accesses that bypass rcu_dereference()Trond Myklebust1-1/+3
2013-01-08SUNRPC: Ensure we release the socket write lock if the rpc_task exits earlyTrond Myklebust1-2/+10
2012-09-28SUNRPC: Get rid of the redundant xprt->shutdown bit fieldTrond Myklebust1-6/+2
2012-09-07SUNRPC: Fix a UDP transport regressionTrond Myklebust1-14/+20
2012-07-10net: Fix (nearly-)kernel-doc comments for various functionsBen Hutchings1-1/+1
2012-05-29Merge tag 'nfs-for-3.5-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-3/+4
2012-05-19sunrpc: fix loss of task->tk_status after rpc_delay call in xprt_alloc_slotTrond Myklebust1-2/+3