aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4callback.c
AgeCommit message (Expand)AuthorFilesLines
2024-05-06NFSD: Move callback_wq into struct nfs4_clientChuck Lever1-22/+9
2024-04-25Merge tag 'nfsd-6.9-5' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/l...Linus Torvalds1-21/+5
2024-04-23Revert "NFSD: Convert the callback workqueue to use delayed_work"Chuck Lever1-3/+3
2024-04-23Revert "NFSD: Reschedule CB operations when backchannel rpc_clnt is shut down"Chuck Lever1-18/+2
2024-03-12Merge tag 'nfsd-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linuxLinus Torvalds1-31/+160
2024-03-01NFSD: add support for CB_GETATTR callbackDai Ngo1-1/+96
2024-03-01NFSD: Remove redundant cb_seq_status initializationChuck Lever1-1/+0
2024-03-01NFSD: Remove BUG_ON in nfsd4_process_cb_update()Chuck Lever1-1/+2
2024-03-01NFSD: Replace comment with lockdep assertionChuck Lever1-1/+2
2024-03-01NFSD: Remove unused @reason argumentChuck Lever1-9/+9
2024-03-01NFSD: Add callback operation lifetime trace pointsChuck Lever1-0/+8
2024-03-01NFSD: Rename nfsd_cb_state trace pointChuck Lever1-1/+3
2024-03-01NFSD: Replace dprintks in nfsd4_cb_sequence_done()Chuck Lever1-5/+4
2024-03-01NFSD: Retransmit callbacks after client reconnectsChuck Lever1-2/+11
2024-03-01NFSD: Reschedule CB operations when backchannel rpc_clnt is shut downChuck Lever1-9/+23
2024-03-01NFSD: Convert the callback workqueue to use delayed_workChuck Lever1-3/+3
2024-03-01NFSD: Reset cb_seq_status after NFS4ERR_DELAYChuck Lever1-0/+1
2024-02-05nfsd: adapt to breakup of struct file_lockJeff Layton1-1/+1
2024-01-07NFSv4, NFSD: move enum nfs_cb_opnum4 to include/linux/nfs4.hChenXiaoSong1-25/+1
2023-12-18NFSD: Revert 738401a9bd1ac34ccd5723d69640a4adbb1a4bc0Chuck Lever1-96/+1
2023-10-16NFSD: add support for CB_GETATTR callbackDai Ngo1-1/+96
2023-04-04NFSD: callback request does not use correct credential for AUTH_SYSDai Ngo1-2/+2
2022-12-19Merge tag 'nfsd-6.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/l...Linus Torvalds1-1/+3
2022-12-14Merge tag 'hardening-v6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-1/+1
2022-12-12nfsd: under NFSv4.1, fix double svc_xprt_put on rpc_create failureDan Aloni1-1/+3
2022-12-10NFSD: add support for sending CB_RECALL_ANYDai Ngo1-0/+72
2022-11-01cred: Do not default to init_cred in prepare_kernel_cred()Kees Cook1-1/+1
2022-09-26nfsd: make nfsd4_run_cb a bool return functionJeff Layton1-2/+12
2022-07-29NFSD: Move copy offload callback arguments into a separate structureChuck Lever1-19/+18
2021-10-02NFSD: simplify struct nfsfhNeilBrown1-1/+1
2021-07-06nfsd: rpc_peeraddr2str needs rcu lockJ. Bruce Fields1-0/+2
2021-05-18NFSD: Remove the nfsd_cb_work and nfsd_cb_done tracepointsChuck Lever1-5/+0
2021-05-18NFSD: Add an nfsd_cb_probe tracepointChuck Lever1-0/+1
2021-05-18NFSD: Enhance the nfsd_cb_setup tracepointChuck Lever1-1/+2
2021-05-18NFSD: Remove spurious cb_setup_err tracepointChuck Lever1-3/+1
2021-05-18NFSD: Adjust cb_shutdown tracepointChuck Lever1-1/+3
2021-05-18NFSD: Capture every CB state transitionChuck Lever1-13/+15
2021-03-11NFSD: fix error handling in NFSv4.0 callbacksOlga Kornievskaia1-0/+1
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-1/+1
2020-05-28nfsd: Fix svc_xprt refcnt leak when setup callback client failedXiyu Yang1-0/+2
2020-05-20NFSD: Add tracepoints for monitoring NFSD callbacksChuck Lever1-15/+22
2020-04-17SUNRPC: Fix backchannel RPC soft lockupsChuck Lever1-1/+3
2019-12-19nfsd: use boottime for lease expiry calculationArnd Bergmann1-1/+10
2019-11-08nfsd: document callback_wq serialization of callback codeJ. Bruce Fields1-0/+6
2019-11-08nfsd: mark cb path down on unknown errorsJ. Bruce Fields1-0/+1
2019-11-08nfsd: Fix races between nfsd4_cb_release() and nfsd4_shutdown_callback()Trond Myklebust1-9/+58
2019-11-08nfsd: minor 4.1 callback cleanupTrond Myklebust1-10/+20
2019-08-16nfsd: Remove unnecessary NULL checksJ. Bruce Fields1-20/+15
2019-05-15Merge tag 'nfsd-5.2' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-4/+5
2019-05-09Merge tag 'nfs-for-5.2-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-2/+3
2019-05-03nfsd: update callback done processingScott Mayhew1-4/+5
2019-04-26SUNRPC: Cache cred of process creating the rpc_clientTrond Myklebust1-0/+1
2019-04-25SUNRPC: Fix up task signallingTrond Myklebust1-2/+2
2019-04-08nfsd: Don't release the callback slot unless it was actually heldTrond Myklebust1-1/+7
2019-03-12Merge tag 'nfsd-5.1' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-2/+2
2019-02-13NFS: Remove print_overflow_msg()Chuck Lever1-13/+0
2019-02-06nfsd: fix an IS_ERR() vs NULL checkDan Carpenter1-2/+2
2018-12-19NFS/NFSD/SUNRPC: replace generic creds with 'struct cred'.NeilBrown1-11/+5
2018-12-19NFS/SUNRPC: don't lookup machine credential until rpcauth_bindcred().NeilBrown1-8/+4
2018-12-19SUNRPC: remove uid and gid from struct auth_credNeilBrown1-4/+2
2018-12-19SUNRPC: add 'struct cred *' to auth_cred and rpc_credNeilBrown1-1/+12
2018-09-25NFSD CB_OFFLOAD xdrOlga Kornievskaia1-0/+98
2018-08-22nfsd: Remove callback_credChuck Lever1-20/+0
2018-08-22nfsd: Use correct credential for NFSv4.0 callback with GSSChuck Lever1-1/+8
2018-08-09nfsd: Mark expected switch fall-throughGustavo A. R. Silva1-0/+1
2018-04-03nfsd: use correct enum type in decode_cb_op_statusStefan Agner1-2/+2
2017-07-17nfsd: Fix a memory scribble in the callback channelTrond Myklebust1-3/+3
2017-05-15nfsd4: const-ify nfs_cb_version4Christoph Hellwig1-1/+1
2017-05-15sunrpc: mark all struct rpc_procinfo instances as constChristoph Hellwig1-1/+1
2017-05-15sunrpc: move p_count out of struct rpc_procinfoChristoph Hellwig1-1/+3
2017-05-15nfsd: fix decoder callback prototypesChristoph Hellwig1-4/+7
2017-05-15nfsd: fix encoder callback prototypesChristoph Hellwig1-5/+8
2017-02-17nfsd/callback: Drop a useless data copy when comparing sessionidKinglong Mee1-7/+3
2017-02-17nfsd/callback: skip the callback tagKinglong Mee1-0/+1
2017-02-17nfsd/callback: Cleanup callback cred on shutdownKinglong Mee1-0/+8
2016-11-14nfsd: update workqueue creationJ. Bruce Fields1-1/+1
2016-09-26nfsd: plumb in a CB_NOTIFY_LOCK operationJeff Layton1-0/+57
2016-09-16nfsd: eliminate cb_minorversion fieldJeff Layton1-4/+3
2016-06-15nfsd4/rpc: move backchannel create logic into rpc codeJ. Bruce Fields1-17/+1
2015-12-23nfsd: don't base cl_cb_status on stale informationJ. Bruce Fields1-0/+4
2015-11-23nfsd: constify nfsd4_callback_ops structureJulia Lawall1-1/+1
2015-08-13nfsd: New helper nfsd4_cb_sequence_done() for processing more cb errorsKinglong Mee1-35/+87
2015-06-04nfsd: Update callback sequnce id only CB_SEQUENCE successKinglong Mee1-2/+12
2015-06-04nfsd: Reset cb_status in nfsd4_cb_prepare() at retryingKinglong Mee1-0/+1
2015-05-04nfsd: skip CB_NULL probes for 4.1 or laterChristoph Hellwig1-0/+9
2015-05-04nfsd: fix callback restartsChristoph Hellwig1-29/+23
2015-05-04nfsd: split transport vs operation errors for callbacksChristoph Hellwig1-36/+24
2015-02-02nfsd: implement pNFS layout recallsChristoph Hellwig1-0/+99
2014-11-19nfsd: Fix slot wake up race in the nfsv4.1 callback codeTrond Myklebust1-2/+6
2014-10-01nfsd: eliminate "to_delegation" defineJeff Layton1-4/+1
2014-09-26nfsd: introduce nfsd4_callback_opsChristoph Hellwig1-62/+29
2014-09-26nfsd: split nfsd4_callback initialization and useChristoph Hellwig1-8/+6
2014-09-26nfsd: introduce a generic nfsd4_cbChristoph Hellwig1-33/+10
2014-09-26nfsd: remove nfsd4_callback.cb_opChristoph Hellwig1-8/+9
2014-09-26nfsd: do not clear rpc_resp in nfsd4_cb_done_sequenceBenny Halevy1-3/+0
2014-09-26nfsd: fix nfsd4_cb_recall_done error handlingChristoph Hellwig1-10/+7
2014-07-31nfsd: Add a struct nfs4_file field to struct nfs4_stidTrond Myklebust1-1/+1
2014-07-31nfsd: Add reference counting to the lock and open stateidsTrond Myklebust1-1/+1
2014-07-29nfsd: remove dl_fh field from struct nfs4_delegationJeff Layton1-1/+1
2014-07-23nfsd4: convert comma to semicolonHimangi Saraogi1-1/+1
2014-07-18svcrdma: Select NFSv4.1 backchannel transport based on forward channelChuck Lever1-1/+2
2014-07-16nfsd: Avoid taking state_lock while holding inode lock in nfsd_break_one_delegJeff Layton1-4/+21
2014-07-16nfsd: eliminate nfsd4_init_callbackJeff Layton1-6/+2
2014-04-18nfsd: set timeparms.to_maxval in setup_callback_clientJeff Layton1-1/+3
2014-03-30NFSD/SUNRPC: Check rpc_xprt out of xs_setup_bc_tcpKinglong Mee1-1/+18
2013-04-09nfsd4: check backchannel attributes on create_sessionJ. Bruce Fields1-24/+1
2013-04-04nfsd4: minor cb_recall simplificationJ. Bruce Fields1-5/+3
2012-11-28nfsd: make NFSv4 lease time per netStanislav Kinsbursky1-3/+5
2012-11-15nfsd: make nfs4_client network namespace dependentStanislav Kinsbursky1-1/+1
2012-11-14nfsd4: get_backchannel_cred should be staticFengguang Wu1-1/+1
2012-11-07nfsd4: backchannel should use client-provided security flavorJ. Bruce Fields1-2/+1
2012-11-07nfsd4: common helper to initialize callback workJ. Bruce Fields1-1/+6
2012-11-07nfsd4: use callback security parameters in create_sessionJ. Bruce Fields1-14/+35
2012-09-10nfsd: remove duplicate init in nfsd4_cb_recallNamjae Jeon1-1/+0
2012-08-20nfsd4: fix security flavor of NFSv4.0 callbackJ. Bruce Fields1-2/+2
2012-06-20nfsd4: remove unnecessary commentJ. Bruce Fields1-1/+0
2012-05-31nfsd4: move principal name into svc_credJ. Bruce Fields1-2/+3
2012-03-28nfsd4: use auth_unix unconditionally on backchannelJ. Bruce Fields1-1/+2
2012-03-26nfsd: convert nfs4_client->cl_cb_flags to a generic flags fieldJeff Layton1-7/+7
2012-03-26Merge nfs containerization work from Trond's treeJ. Bruce Fields1-4/+4
2012-03-09nfsd4: make sure set CB_PATH_DOWN sequence flag setJ. Bruce Fields1-1/+1
2012-01-31SUNRPC: constify the rpc_programTrond Myklebust1-3/+3
2012-01-31SUNRPC: handle RPC client pipefs dentries by network namespace aware routinesStanislav Kinsbursky1-1/+1
2012-01-05SUNRPC: Clean up the RPCSEC_GSS service ticket requestsTrond Myklebust1-1/+1
2011-10-24nfsd41: use SEQ4_STATUS_BACKCHANNEL_FAULT when cb_sequence is invalidBenny Halevy1-0/+10
2011-09-26nfsd4: move client * to nfs4_stateid, add init_stid helperJ. Bruce Fields1-4/+4
2011-09-13nfsd4: add common dl_stid field to delegationJ. Bruce Fields1-1/+1
2011-02-22NFSD: fix decode_cb_sequence4resokBenny Halevy1-1/+1
2011-02-14NFSD: use nfserr for status after decode_cb_op_statusBenny Halevy1-4/+2
2011-01-14Merge branch 'for-2.6.38' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-52/+99
2011-01-14nfsd4: fix callback restartingJ. Bruce Fields1-12/+9
2011-01-13nfsd4: initialize cb_per_clientJ. Bruce Fields1-0/+1
2011-01-11nfsd4: allow restarting callbacksJ. Bruce Fields1-6/+28
2011-01-11nfsd4: simplify nfsd4_cb_prepareJ. Bruce Fields1-22/+4
2011-01-11nfsd4: add helper function to run callbacksJ. Bruce Fields1-2/+7
2011-01-11nfsd4: make sure sequence flags are set after destroy_sessionJ. Bruce Fields1-0/+6
2011-01-11nfsd4: keep finer-grained callback statusJ. Bruce Fields1-12/+14
2011-01-11nfsd4: allow backchannel recoveryJ. Bruce Fields1-3/+33
2011-01-04nfs4: set source address when callback is generatedTakuma Umeya1-0/+1
2011-01-04nfsd: declare several functions of nfs4callback as staticKirill A. Shutemov1-3/+4
2010-12-16SUNRPC: New xdr_streams XDR decoder APIChuck Lever1-8/+8
2010-12-16SUNRPC: New xdr_streams XDR encoder APIChuck Lever1-14/+8
2010-12-16NFS: Repair whitespace damage in NFS PROC macroChuck Lever1-26/+26
2010-12-16NFSD: Update XDR decoders in NFSv4 callback clientChuck Lever1-176/+239
2010-12-16NFSD: Update XDR encoders in NFSv4 callback clientChuck Lever1-77/+178
2010-10-21nfsd4: only require krb5 principal for NFSv4.0 callbacksJ. Bruce Fields1-7/+8
2010-10-21nfsd4: move minorversion to clientJ. Bruce Fields1-4/+4
2010-10-21nfsd4: separate callback change and callback probeJ. Bruce Fields1-5/+10
2010-10-21nfsd4: callback program number is per-sessionJ. Bruce Fields1-0/+1
2010-10-21nfsd4: make backchannel sequence number per-sessionJ. Bruce Fields1-4/+4
2010-10-21nfsd4: use client pointer to backchannel sessionJ. Bruce Fields1-4/+5
2010-10-01nfsd4: Move callback setup to callback queueJ. Bruce Fields1-21/+52
2010-10-01nfsd4: remove separate cb_args structJ. Bruce Fields1-23/+22
2010-10-01nfsd4: use generic callback code in null caseJ. Bruce Fields1-15/+18
2010-10-01nfsd4: generic callback codeJ. Bruce Fields1-39/+31
2010-10-01nfsd4: rename nfs4_rpc_args->nfsd4_cb_argsJ. Bruce Fields1-7/+7
2010-10-01nfsd4: combine nfs4_rpc_args and nfsd4_cb_sequenceJ. Bruce Fields1-15/+15
2010-10-01nfsd4: minor variable renaming (cb -> conn)J. Bruce Fields1-8/+8
2010-10-01sunrpc: Add net to rpc_create_argsPavel Emelyanov1-0/+1
2010-09-07nfsd: remove duplicate NFS4_STATEID_SIZE declarationAndy Adamson1-1/+0
2010-08-06nfsd41: Fix a crash when a callback is retriedBoaz Harrosh1-1/+1
2010-06-24nfsd4: fix delegation recall race use-after-freeJ. Bruce Fields1-0/+1
2010-06-24nfsd4: fix deleg leak on callback errorJ. Bruce Fields1-1/+3
2010-06-22nfsd: nfs4callback encode_stateid helper functionBenny Halevy1-3/+13
2010-05-31nfsd4: don't bother storing callback reply tagJ. Bruce Fields1-6/+5
2010-05-31nfsd4: treat more recall errors as failuresJ. Bruce Fields1-9/+8
2010-05-31nfsd4: remove extra put() on callback errorsJ. Bruce Fields1-5/+1
2010-05-18nfs4: minor callback code simplification, commentJ. Bruce Fields1-2/+8
2010-05-13nfsd4: nfsd4_destroy_session must set callback client under the state lockBenny Halevy1-0/+1
2010-05-04Merge commit 'v2.6.34-rc6'J. Bruce Fields1-0/+1
2010-04-22nfsd4: allow 4.0 clients to change callback pathJ. Bruce Fields1-9/+20
2010-04-22nfsd4: rearrange cb data structuresJ. Bruce Fields1-13/+12
2010-04-22nfsd4: cl_count is unusedJ. Bruce Fields1-5/+1
2010-04-22nfsd4: don't sleep in lease-break callbackJ. Bruce Fields1-2/+52
2010-04-02nfsd4: remove probe task's reference on clientJ. Bruce Fields1-8/+1
2010-04-02nfsd4: preallocate nfs4_rpc_argsJ. Bruce Fields1-15/+3
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-0/+1
2010-03-06nfsd4: simplify references to nfsd4 lease timeJ. Bruce Fields1-1/+1
2010-03-03nfsd4: fix minor memory leakJ. Bruce Fields1-0/+2
2010-02-24NFSD: NFSv4 callback client should use RPC_TASK_SOFTCONNChuck Lever1-1/+2
2009-12-15nfsd: remove pointless paths in file headersJ. Bruce Fields1-2/+0
2009-12-14nfsd: Move private headers to source directoryBoaz Harrosh1-2/+2
2009-12-14nfsd: Source files #include cleanupsBoaz Harrosh1-13/+0
2009-09-15nfsd41: modify nfsd4.1 backchannel to use new xprt classAlexandros Batsakis1-2/+6
2009-09-15nfsd41: Backchannel: Implement cb_recall over NFSv4.1Ricardo Labiaga1-5/+48
2009-09-15nfsd41: Backchannel: cb_sequence callbackBenny Halevy1-0/+72
2009-09-15nfsd41: Backchannel: Setup sequence informationRicardo Labiaga1-0/+62
2009-09-15nfsd41: Backchannel: Add sequence arguments to callback RPC argumentsRicardo Labiaga1-0/+5
2009-09-15nfsd41: Backchannel: callback infrastructureAndy Adamson1-2/+15
2009-09-15nfsd4: use common rpc_cred for all callbacksJ. Bruce Fields1-23/+10
2009-09-15nfsd4: fix null dereference creating nfsv4 callback clientJ. Bruce Fields1-2/+2
2009-09-13nfsd4: fix whitespace in NFSPROC4_CLNT_CB_NULL definitionBenny Halevy1-1/+1
2009-08-21nfsd: convert nfs4_cb_conn struct to hold address in sockaddr_storageJeff Layton1-9/+2
2009-06-18nfsd41: Backchannel: minorversion support for the back channelAndy Adamson1-1/+2
2009-06-18nfsd41: Backchannel: cleanup nfs4.0 callback encode routinesAndy Adamson1-8/+16
2009-05-03nfsd4: make recall callback an asynchronous rpcJ. Bruce Fields1-25/+49
2009-05-01nfsd4: track recall retries in nfs4_delegationJ. Bruce Fields1-2/+2
2009-05-01nfsd4: remove unused dl_truncJ. Bruce Fields1-3/+1
2009-05-01nfsd4: eliminate struct nfs4_cb_recallJ. Bruce Fields1-13/+11
2009-05-01nfsd4: rename callback struct to cb_connJ. Bruce Fields1-8/+8