aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/clnt.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-09sunrpc: add a struct rpc_stats arg to rpc_create_argsJosef Bacik1-1/+4
2024-01-10Merge tag 'nfs-for-6.8-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-26/+25
2024-01-04NFSv4.1: Use the nfs_client's rpc timeouts for backchannelBenjamin Coddington1-2/+4
2024-01-04SUNRPC: Create a helper function for accessing the rpc_clnt's xprt_switchAnna Schumaker1-13/+21
2024-01-04SUNRPC: Remove unused function rpc_clnt_xprt_switch_put()Anna Schumaker1-8/+0
2024-01-04SUNRPC: Clean up unused variable in rpc_xprt_probe_trunked()Anna Schumaker1-3/+0
2023-11-30SUNRPC: Replace strlcpy() with strscpy()Kees Cook1-2/+8
2023-11-01SUNRPC: Fix RPC client cleaned up the freed pipefs dentriesfelix1-1/+4
2023-10-22SUNRPC: Don't skip timeout checks in call_connect_status()Trond Myklebust1-1/+2
2023-10-22SUNRPC: ECONNRESET might require a rebindTrond Myklebust1-1/+1
2023-09-27Revert "SUNRPC dont update timeout value on connection reset"Trond Myklebust1-2/+1
2023-09-27SUNRPC: Fail quickly when server does not recognize TLSChuck Lever1-1/+9
2023-09-13NFSv4.1: fix pnfs MDS=DS session trunkingOlga Kornievskaia1-4/+7
2023-09-13Revert "SUNRPC: Fail faster on bad verifier"Trond Myklebust1-1/+1
2023-09-13SUNRPC: Mark the cred for revalidation if the server rejects itTrond Myklebust1-0/+1
2023-08-24SUNRPC: Don't override connect timeouts in rpc_clnt_add_xprt()Trond Myklebust1-0/+5
2023-08-24SUNRPC: Allow specification of TCP client connect timeout at setupTrond Myklebust1-0/+2
2023-08-23SUNRPC: kmap() the xdr pages during decodeAnna Schumaker1-0/+1
2023-06-19NFS: add sysfs shutdown knobBenjamin Coddington1-0/+5
2023-06-19SUNRPC: Add RPC client support for the RPC_AUTH_TLS auth flavorChuck Lever1-0/+3
2023-06-19SUNRPC: Trace the rpc_create_argsChuck Lever1-1/+1
2023-06-19SUNRPC: Plumb an API for setting transport layer securityChuck Lever1-0/+4
2023-06-19SUNRPC: support abstract unix socket addressesNeilBrown1-2/+6
2023-04-19SUNRPC: remove the maximum number of retries in call_bind_statusDai Ngo1-3/+0
2023-02-15NFS: fix disabling of swapNeilBrown1-0/+2
2022-12-06SUNRPC: Fix missing release socket in rpc_sockname()Wang ShaoBo1-1/+1
2022-10-06SUNRPC: Add API to force the client to disconnectTrond Myklebust1-0/+14
2022-10-06SUNRPC: Add a helper to allow pNFS drivers to selectively cancel RPC callsTrond Myklebust1-0/+37
2022-10-06SUNRPC: Fix races with rpc_killall_tasks()Trond Myklebust1-4/+2
2022-10-03SUNRPC: Directly use ida_alloc()/free()Bo Liu1-2/+2
2022-09-08Revert "SUNRPC: Remove unreachable error condition"Dan Aloni1-0/+3
2022-08-19SUNRPC: RPC level errors should set task->tk_rpc_statusTrond Myklebust1-1/+1
2022-07-27SUNRPC: Don't reuse bvec on retransmission of the requestTrond Myklebust1-1/+0
2022-07-25SUNRPC create a function that probes only offline transportsOlga Kornievskaia1-0/+65
2022-07-25SUNRPC restructure rpc_clnt_setup_test_and_add_xprtOlga Kornievskaia1-21/+31
2022-07-25SUNRPC create an rpc function that allows xprt removal from rpc_clntOlga Kornievskaia1-1/+15
2022-07-25SUNRPC enable back offline transports in trunking discoveryOlga Kornievskaia1-0/+14
2022-07-25SUNRPC create an iterator to list only OFFLINE xprtsOlga Kornievskaia1-2/+9
2022-07-25SUNRPC add function to offline remove trunkable transportsOlga Kornievskaia1-0/+46
2022-07-23SUNRPC: Fail faster on bad verifierChuck Lever1-1/+1
2022-06-07sunrpc: set cl_max_connect when cloning an rpc_clntScott Mayhew1-0/+1
2022-05-07SUNRPC: Ensure that the gssproxy client can start in a connected stateTrond Myklebust1-0/+33
2022-05-07Revert "SUNRPC: Ensure gss-proxy connects on setup"Trond Myklebust1-3/+0
2022-04-29SUNRPC: Ensure gss-proxy connects on setupTrond Myklebust1-0/+3
2022-04-22SUNRPC release the transport of a relocated task with an assigned transportOlga Kornievskaia1-4/+7
2022-04-07SUNRPC: Handle allocation failure in rpc_new_task()Trond Myklebust1-0/+7
2022-04-07SUNRPC: Handle low memory situations in call_status()Trond Myklebust1-0/+5
2022-04-07SUNRPC: Handle ENOMEM in call_transmit_status()Trond Myklebust1-0/+2
2022-03-29SUNRPC: handle malloc failure in ->request_prepareNeilBrown1-3/+3
2022-03-24SUNRPC don't resend a task on an offlined transportOlga Kornievskaia1-1/+3
2022-03-13NFSv4: keep state manager thread active if swap is enabledNeilBrown1-0/+2
2022-03-13SUNRPC: improve 'swap' handling: scheduling and PF_MEMALLOCNeilBrown1-2/+0
2022-03-13SUNRPC/auth: async tasks mustn't block waiting for memoryNeilBrown1-0/+3
2022-02-25SUNRPC: Convert GFP_NOFS to GFP_KERNELTrond Myklebust1-1/+1
2022-01-13SUNRPC allow for unspecified transport time in rpc_clnt_add_xprtOlga Kornievskaia1-1/+4
2021-10-20sunrpc: remove unnecessary test in rpc_task_set_client()Thiago Rafael Becker1-18/+15
2021-08-27SUNRPC enforce creation of no more than max_connect xprtsOlga Kornievskaia1-0/+9
2021-08-27SUNRPC keep track of number of transports to unique addressesOlga Kornievskaia1-1/+1
2021-08-09SUNRPC: Convert rpc_client refcount to use refcount_tTrond Myklebust1-12/+10
2021-08-09SUNRPC: Unset RPC_TASK_NO_RETRANS_TIMEOUT for NULL RPCsChuck Lever1-1/+14
2021-08-09SUNRPC: Refactor rpc_ping()Chuck Lever1-11/+13
2021-07-08sunrpc: remove an offlined xprt using sysfsOlga Kornievskaia1-0/+24
2021-07-08SUNRPC mark the first transportOlga Kornievskaia1-0/+1
2021-07-08sunrpc: add a symlink from rpc-client directory to the xprt_switchOlga Kornievskaia1-1/+1
2021-07-08sunrpc: Create per-rpc_clnt sysfs kobjectsOlga Kornievskaia1-0/+5
2021-05-20SUNRPC in case of backlog, hand free slots directly to waiting taskNeilBrown1-7/+0
2021-05-01sunrpc: Fix misplaced barrier in call_decodeBaptiste Lepers1-6/+5
2021-04-14SUNRPC: Move fault injection call sitesChuck Lever1-1/+0
2020-12-02SUNRPC: Clean up the handling of page padding in rpc_prepare_reply_pages()Trond Myklebust1-4/+1
2020-09-21SUNRPC: Clean up call_bind_status() observabilityChuck Lever1-14/+6
2020-09-21SUNRPC: Remove dprintk call site in call_decodeChuck Lever1-2/+0
2020-09-21SUNRPC: Trace call_refresh eventsChuck Lever1-6/+3
2020-09-21SUNRPC: Add trace_rpc_timeout_status()Chuck Lever1-1/+1
2020-09-21SUNRPC: Replace connect dprintk call sites with a tracepointChuck Lever1-4/+0
2020-09-21SUNRPC: Remove dprintk call site in call_start()Chuck Lever1-4/+0
2020-09-21SUNRPC: Remove the dprint_status() macroChuck Lever1-30/+1
2020-09-21SUNRPC: Hoist trace_xprtrdma_op_allocate into generic codeChuck Lever1-2/+1
2020-09-21SUNRPC dont update timeout value on connection resetOlga Kornievskaia1-1/+2
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-11/+11
2020-06-11SUNRPC: Set SOFTCONN when destroying GSS contextsChuck Lever1-5/+4
2020-06-11SUNRPC: rpc_call_null_helper() should set RPC_TASK_SOFTChuck Lever1-4/+3
2020-06-11SUNRPC: rpc_call_null_helper() already sets RPC_TASK_NULLCREDSChuck Lever1-2/+2
2020-06-11SUNRPC: trace RPC client lifetime eventsChuck Lever1-24/+15
2020-06-11SUNRPC: Split the xdr_buf event classChuck Lever1-2/+2
2020-06-11SUNRPC: Add tracepoint to rpc_call_rpcerror()Chuck Lever1-0/+1
2020-05-14SUNRPC: 'Directory with parent 'rpc_clnt' already present!'J. Bruce Fields1-1/+1
2020-05-11SUNRPC: Signalled ASYNC tasks need to exitChuck Lever1-0/+5
2020-05-10SUNRPC: fix use-after-free in rpc_free_client_work()NeilBrown1-1/+1
2020-04-28SUNRPC: defer slow parts of rpc_free_client() to a workqueue.NeilBrown1-4/+17
2020-04-21SUNRPC: Remove unreachable error conditionXiyu Yang1-2/+1
2020-04-07Merge tag 'nfs-for-5.7-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-2/+6
2020-03-16svcrdma: Create a generic tracing class for displaying xdr_buf layoutChuck Lever1-0/+1
2020-03-16SUNRPC: Don't take a reference to the cred on synchronous tasksTrond Myklebust1-0/+3
2020-03-16SUNRPC: Add a flag to avoid reference counts on credentialsTrond Myklebust1-2/+3
2020-01-15SUNRPC: call_connect_status should handle -EPROTOChuck Lever1-0/+1
2019-11-18Merge tag 'nfs-rdma-for-5.5-1' of git://git.linux-nfs.org/projects/anna/linux...Trond Myklebust1-12/+2
2019-11-03NFSv4.1: Don't rebind to the same source port when reconnecting to the serverTrond Myklebust1-1/+6
2019-10-24SUNRPC: Eliminate log noise in call_reserveresultChuck Lever1-12/+2
2019-09-26Merge tag 'nfs-for-5.4-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-7/+19
2019-09-20SUNRPC: Don't try to parse incomplete RPC messagesTrond Myklebust1-1/+13
2019-09-17SUNRPC: RPC level errors should always set task->tk_rpc_statusTrond Myklebust1-3/+3
2019-09-17SUNRPC: Dequeue the request from the receive queue while we're re-encodingTrond Myklebust1-3/+3
2019-08-26SUNRPC: Handle connection breakages correctly in call_status()Trond Myklebust1-1/+1
2019-08-26SUNRPC: Handle EADDRINUSE and ENOBUFS correctlyTrond Myklebust1-3/+7
2019-08-26SUNRPC: Don't handle errors if the bind/connect succeededTrond Myklebust1-11/+24
2019-07-18SUNRPC: Ensure the bvecs are reset when we re-encode the RPC requestTrond Myklebust1-2/+1
2019-07-18SUNRPC: Fix up backchannel slot table accountingTrond Myklebust1-0/+13
2019-07-12SUNRPC: Fix transport accounting when caller specifies an rpc_xprtTrond Myklebust1-22/+20
2019-07-06NFS: send state management on a single connection.NeilBrown1-1/+23
2019-07-06SUNRPC: Allow creation of RPC clients with multiple connectionsTrond Myklebust1-1/+16
2019-07-06SUNRPC: Add basic load balancing to the transport switchTrond Myklebust1-3/+37
2019-06-21SUNRPC: Fix a credential refcount leakTrond Myklebust1-1/+0
2019-06-21net :sunrpc :clnt :Fix xps refcount imbalance on the error pathLin Yi1-0/+1
2019-05-30SUNRPC: Fix a use after free when a server rejects the RPCSEC_GSS credentialTrond Myklebust1-14/+14
2019-05-30SUNRPC fix regression in umount of a secure mountOlga Kornievskaia1-1/+1
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-05-09SUNRPC: task should be exit if encode return EKEYEXPIRED more timesZhangXiaoxu1-1/+8
2019-04-26SUNRPC: Cache cred of process creating the rpc_clientTrond Myklebust1-0/+7
2019-04-25SUNRPC: Add the 'softerr' rpc_client flagTrond Myklebust1-1/+7
2019-04-25SUNRPC: Ensure to ratelimit the "server not responding" syslog messagesTrond Myklebust1-5/+7
2019-04-25SUNRPC: Make "no retrans timeout" soft tasks behave like softconn for timeoutsTrond Myklebust1-0/+9
2019-04-25SUNRPC: Add tracking of RPC level errorsTrond Myklebust1-13/+27
2019-04-25SUNRPC: Fix up tracking of timeoutsTrond Myklebust1-1/+1
2019-04-25SUNRPC: Add function rpc_sleep_on_timeout()Trond Myklebust1-1/+0
2019-04-25SUNRPC: Refactor rpc_restart_call/rpc_restart_call_prepareTrond Myklebust1-13/+17
2019-04-25SUNRPC: Fix up task signallingTrond Myklebust1-12/+2
2019-04-17SUNRPC: Ignore queue transmission errors on successful transmissionTrond Myklebust1-2/+5
2019-04-11Revert "SUNRPC: Micro-optimise when the task is known not to be sleeping"Trond Myklebust1-37/+8
2019-03-23SUNRPC: Don't let RPC_SOFTCONN tasks time out if the transport is connectedTrond Myklebust1-1/+11
2019-03-15SUNRPC: Remove redundant check for the reply length in call_decode()Trond Myklebust1-4/+0
2019-03-15SUNRPC: Handle the SYSTEM_ERR rpc errorTrond Myklebust1-0/+1
2019-03-15SUNRPC: rpc_decode_header() must always return a non-zero value on errorTrond Myklebust1-13/+7
2019-03-15SUNRPC: Fix the minimal size for reply buffer allocationTrond Myklebust1-1/+6
2019-03-10SUNRPC: Take the transport send lock before binding+connectingTrond Myklebust1-1/+8
2019-03-10SUNRPC: Micro-optimise when the task is known not to be sleepingTrond Myklebust1-34/+65
2019-03-10SUNRPC: Check whether the task was transmitted before rebind/reconnectTrond Myklebust1-4/+40
2019-03-09SUNRPC: Remove redundant calls to RPC_IS_QUEUED()Trond Myklebust1-3/+0
2019-03-09SUNRPC: Clean upTrond Myklebust1-33/+14
2019-03-07SUNRPC: Respect RPC call timeouts when retrying transmissionTrond Myklebust1-18/+24
2019-03-07SUNRPC: Fix up RPC back channel transmissionTrond Myklebust1-28/+33
2019-03-07SUNRPC: Prevent thundering herd when the socket is not connectedTrond Myklebust1-4/+17
2019-02-14SUNRPC: Use au_rslack when computing reply buffer sizeChuck Lever1-3/+4
2019-02-14SUNRPC: Add rpc_auth::au_ralign fieldChuck Lever1-1/+1
2019-02-14NFS: Account for XDR pad of buf->pagesChuck Lever1-1/+5
2019-02-14SUNRPC: Introduce rpc_prepare_reply_pages()Chuck Lever1-0/+19
2019-02-14SUNRPC: Use struct xdr_stream when decoding RPC Reply headerChuck Lever1-43/+45
2019-02-13SUNRPC: Clean up rpc_verify_header()Chuck Lever1-127/+96
2019-02-13SUNRPC: Use struct xdr_stream when constructing RPC Call headerChuck Lever1-31/+35
2019-02-13SUNRPC: Remove rpc_xprt::tsh_sizeChuck Lever1-1/+0
2019-01-15SUNRPC: Ensure we respect the RPCSEC_GSS sequence number limitTrond Myklebust1-7/+12
2019-01-15SUNRPC: Ensure rq_bytes_sent is reset before request transmissionTrond Myklebust1-1/+0
2019-01-02sunrpc: Add xprt after nfs4_test_session_trunk()Santosh kumar pradhan1-0/+3
2018-12-19NFS/NFSD/SUNRPC: replace generic creds with 'struct cred'.NeilBrown1-2/+2
2018-12-19SUNRPC: add side channel to use non-generic cred for rpc call.NeilBrown1-1/+1
2018-12-19SUNRPC: introduce RPC_TASK_NULLCREDS to request auth_noneNeilBrown1-13/+6
2018-12-19NFS/SUNRPC: don't lookup machine credential until rpcauth_bindcred().NeilBrown1-0/+1
2018-12-18SUNRPC: Fix disconnection racesTrond Myklebust1-0/+1
2018-12-02SUNRPC: Fix a memory leak in call_encode()Trond Myklebust1-0/+1
2018-12-02SUNRPC: call_connect_status() must handle tasks that got transmittedTrond Myklebust1-0/+7
2018-09-30SUNRPC: Add a bvec array to struct xdr_buf for use with iovec_iter()Trond Myklebust1-1/+3
2018-09-30SUNRPC: Clean up transport write space handlingTrond Myklebust1-18/+10
2018-09-30SUNRPC: Support for congestion control when queuing is enabledTrond Myklebust1-0/+5
2018-09-30SUNRPC: Move RPC retransmission stat counter to xprt_transmit()Trond Myklebust1-6/+0
2018-09-30SUNRPC: Don't reset the request 'bytes_sent' counter when releasing XPRT_LOCKTrond Myklebust1-4/+0
2018-09-30SUNRPC: Fix up the back channel transmitTrond Myklebust1-14/+5
2018-09-30SUNRPC: Refactor RPC call encodingTrond Myklebust1-32/+49
2018-09-30SUNRPC: Add a transmission queue for RPC requestsTrond Myklebust1-4/+2
2018-09-30SUNRPC: Minor cleanup for call_transmit()Trond Myklebust1-17/+15
2018-09-30SUNRPC: Refactor xprt_transmit() to remove wait for reply codeTrond Myklebust1-9/+1
2018-09-30SUNRPC: Refactor xprt_transmit() to remove the reply queue codeTrond Myklebust1-0/+5
2018-09-30SUNRPC: Avoid holding locks across the XDR encoding of the RPC messageTrond Myklebust1-3/+3
2018-09-30SUNRPC: Simplify identification of when the message send/receive is completeTrond Myklebust1-12/+7
2018-09-30SUNRPC: The transmitted message must lie in the RPCSEC window of validityTrond Myklebust1-0/+3
2018-09-30SUNRPC: If there is no reply expected, bail early from call_decodeTrond Myklebust1-5/+8
2018-09-30SUNRPC: Clean up initialisation of the struct rpc_rqstTrond Myklebust1-1/+0
2018-07-31sunrpc: whitespace fixesStephen Hemminger1-1/+1
2018-07-31NFSv4 client live hangs after live data migration recoveryBill Baker1-8/+20
2018-05-07SUNRPC: Initialize rpc_rqst outside of xprt->reserve_lockChuck Lever1-0/+1
2018-04-12Merge tag 'nfs-for-4.17-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-1/+7
2018-04-10sunrpc: Add static trace point to report result of RPC pingChuck Lever1-0/+6
2018-04-10sunrpc: Simplify synopsis of some trace pointsChuck Lever1-1/+1
2018-02-12net: make getname() functions return length rather than use int* parameterDenys Vlasenko1-3/+3
2018-01-14SUNRPC: Remove rpc_protocol()Chuck Lever1-16/+0
2017-11-30SUNRPC: Handle ENETDOWN errorsTrond Myklebust1-0/+5
2017-11-17sunrpc: Add rpc_request static trace pointChuck Lever1-2/+1
2017-11-17net: sunrpc: mark expected switch fall-throughsGustavo A. R. Silva1-0/+11
2017-09-06SUNRPC: remove some dead code.NeilBrown1-4/+0
2017-08-20SUNRPC: ECONNREFUSED should cause a rebind.NeilBrown1-0/+8
2017-05-15sunrpc: mark all struct rpc_procinfo instances as constChristoph Hellwig1-2/+2
2017-05-15sunrpc: move p_count out of struct rpc_procinfoChristoph Hellwig1-2/+4
2017-05-15sunrpc: properly type argument to kxdrdproc_tChristoph Hellwig1-1/+2
2017-05-15sunrpc: properly type argument to kxdreproc_tChristoph Hellwig1-1/+2
2017-04-20sunrpc: don't check for failure from mempool_alloc()NeilBrown1-8/+0
2017-02-09NFSv4: Set the connection timeout to match the lease periodTrond Myklebust1-4/+6
2017-02-09SUNRPC: Allow changing of the TCP timeout parameters on the flyTrond Myklebust1-7/+23
2017-02-09SUNRPC: Remove unused function rpc_get_timeout()Trond Myklebust1-15/+0
2017-01-24SUNRPC: cleanup ida information when removing sunrpc moduleKinglong Mee1-0/+5
2016-12-01sunrpc: Don't engage exponential backoff when connection attempt is rejected.NeilBrown1-0/+2
2016-11-07SUNRPC: Fix suspicious RCU usageAnna Schumaker1-2/+5
2016-09-19SUNRPC: Separate buffer pointers for RPC Call and Reply messagesChuck Lever1-1/+1