aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfssvc.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-01nfsd: make svc_stat per-network namespace instead of globalJosef Bacik1-1/+1
2024-03-01nfsd: remove nfsd_stats, make th_cnt a global counterJosef Bacik1-2/+3
2024-03-01sunrpc: remove ->pg_stats from svc_programJosef Bacik1-1/+0
2024-03-01sunrpc: pass in the sv_stats struct through svc_create_pooledJosef Bacik1-1/+2
2024-03-01nfsd: stop setting ->pg_stats for unused statsJosef Bacik1-5/+0
2024-03-01nfsd: Don't leave work of closing files to a work queueNeilBrown1-0/+2
2024-01-07nfsd: rename nfsd_last_thread() to nfsd_destroy_serv()NeilBrown1-4/+8
2024-01-07SUNRPC: discard sv_refcnt, and svc_get/svc_putNeilBrown1-22/+4
2024-01-07svc: don't hold reference for poolstats, only mutex.NeilBrown1-22/+2
2024-01-07NFSD: use read_seqbegin() rather than read_seqbegin_or_lock()Oleg Nesterov1-4/+3
2023-12-20Merge tag 'nfsd-6.7-2' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/l...Linus Torvalds1-1/+1
2023-12-15cred: get rid of CONFIG_DEBUG_CREDENTIALSJens Axboe1-1/+0
2023-12-15nfsd: call nfsd_last_thread() before final nfsd_put()NeilBrown1-1/+1
2023-11-17NFSD: Fix checksum mismatches in the duplicate reply cacheChuck Lever1-1/+9
2023-11-17NFSD: Fix "start of NFS reply" pointer passed to nfsd_cache_update()Chuck Lever1-1/+3
2023-10-16NFSD: simplify error paths in nfsd_svc()NeilBrown1-10/+4
2023-10-16NFSD: add rpc_status netlink supportLorenzo Bianconi1-0/+15
2023-10-16SUNRPC: change sp_nrthreads to atomic_tNeilBrown1-6/+5
2023-10-16SUNRPC: change how svc threads are asked to exit.NeilBrown1-1/+1
2023-09-12NFSD: fix possible oops when nfsd/pool_stats is closed.NeilBrown1-2/+3
2023-08-29SUNRPC: remove timeout arg from svc_recv()NeilBrown1-1/+1
2023-08-29SUNRPC: change svc_recv() to return void.NeilBrown1-11/+2
2023-08-29SUNRPC: call svc_process() from svc_recv().NeilBrown1-2/+1
2023-08-29nfsd: separate nfsd_last_thread() from nfsd_put()NeilBrown1-33/+19
2023-08-29nfsd: Simplify code around svc_exit_thread() call in nfsd()NeilBrown1-23/+0
2023-08-29nfsd: don't allow nfsd threads to be signalled.NeilBrown1-12/+0
2023-08-29NFSD: Rename struct svc_cacherepChuck Lever1-1/+1
2023-08-29NFSD: Remove svc_rqst::rq_cacherepChuck Lever1-4/+6
2023-06-18NFSD: Distinguish per-net namespace initializationChuck Lever1-0/+5
2023-02-20NFSD: copy the whole verifier in nfsd_copy_write_verifierChuck Lever1-1/+1
2023-02-20nfsd: move reply cache initialization into nfsd startupJeff Layton1-1/+9
2023-02-20SUNRPC: Refactor RPC server dispatch methodChuck Lever1-2/+2
2023-02-20SUNRPC: Push svcxdr_init_encode() into svc_process_common()Chuck Lever1-6/+0
2023-02-20SUNRPC: Push svcxdr_init_decode() into svc_process_common()Chuck Lever1-1/+0
2022-12-22nfsd: shut down the NFSv4 state objects before the filecacheJeff Layton1-1/+1
2022-12-10NFSD: Use only RQ_DROPME to signal the need to drop a replyChuck Lever1-1/+1
2022-11-28nfsd: allow disabling NFSv2 at compile timeJeff Layton1-0/+6
2022-09-26NFSD: move from strlcpy with unused retval to strscpyWolfram Sang1-1/+1
2022-03-11NFSD: Remove CONFIG_NFSD_V3Chuck Lever1-2/+0
2022-02-28NFSD: Move svc_serv_ops::svo_function into struct svc_servChuck Lever1-6/+1
2022-02-28NFSD: Remove svc_serv_ops::svo_moduleChuck Lever1-3/+0
2022-02-28SUNRPC: Remove svc_shutdown_net()Chuck Lever1-1/+1
2022-02-28SUNRPC: Rename svc_create_xprt()Chuck Lever1-4/+4
2022-02-28SUNRPC: Remove svo_shutdown methodChuck Lever1-1/+1
2022-02-28SUNRPC: Remove the .svo_enqueue_xprt methodChuck Lever1-1/+0
2022-01-17Merge branch 'signal-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+1
2022-01-08NFSD: Rename boot verifier functionsChuck Lever1-8/+8
2022-01-08NFSD: Clean up the nfsd_net::nfssvc_boot fieldChuck Lever1-13/+38
2022-01-08NFSD: Write verifier might go backwardsChuck Lever1-1/+1
2021-12-13NFSD: simplify locking for network notifier.NeilBrown1-18/+20
2021-12-13SUNRPC: discard svo_setup and rename svc_set_num_threads_sync()NeilBrown1-6/+5
2021-12-13NFSD: Make it possible to use svc_set_num_threads_syncNeilBrown1-21/+20
2021-12-13NFSD: narrow nfsd_mutex protection in nfsd threadNeilBrown1-6/+2
2021-12-13SUNRPC: use sv_lock to protect updates to sv_nrthreads.NeilBrown1-3/+2
2021-12-13nfsd: make nfsd_stats.th_cnt atomic_tNeilBrown1-3/+3
2021-12-13SUNRPC: stop using ->sv_nrthreads as a refcountNeilBrown1-16/+26
2021-12-13SUNRPC/NFSD: clean up get/put functions.NeilBrown1-14/+16
2021-12-13exit: Rename module_put_and_exit to module_put_and_kthread_exitEric W. Biederman1-1/+1
2021-10-19NFSD:fix boolreturn.cocci warningChangcheng Deng1-1/+1
2021-10-13SUNRPC: Change return value type of .pc_encodeChuck Lever1-4/+4
2021-10-13SUNRPC: Replace the "__be32 *p" parameter to .pc_encodeChuck Lever1-6/+3
2021-10-13SUNRPC: Change return value type of .pc_decodeChuck Lever1-3/+3
2021-10-13SUNRPC: Replace the "__be32 *p" parameter to .pc_decodeChuck Lever1-4/+3
2021-05-25NFSD: delay unmount source's export after inter-server copy completed.Dai Ngo1-0/+3
2021-04-15nfsd: removed unused argument in nfsd_startup_generic()Vasily Averin1-4/+4
2021-04-06NFSD: Use DEFINE_SPINLOCK() for spinlockGuobin Huang1-2/+1
2021-03-22nfsd: Ensure knfsd shuts down when the "nfsd" pseudofs is unmountedTrond Myklebust1-1/+34
2021-03-22NFSD: Extract the svcxdr_init_encode() helperChuck Lever1-2/+2
2021-01-25NFSD: Remove argument length checking in nfsd_dispatch()Chuck Lever1-34/+0
2020-12-18NFSD: Fix sparse warning in nfssvc.cChuck Lever1-6/+0
2020-12-09nfsd: Fix message level for normal terminationkazuo ito1-2/+1
2020-11-30NFSD: Add tracepoints in nfsd_dispatch()Chuck Lever1-12/+5
2020-11-30NFSD: Add common helpers to decode void args and encode void resultsChuck Lever1-0/+28
2020-11-30SUNRPC: Prepare for xdr_stream-style decoding on the server-sideChuck Lever1-0/+2
2020-10-12NFSD: Hoist status code encoding into XDR encoder functionsChuck Lever1-16/+5
2020-10-02NFSD: Map nfserr_wrongsec outside of nfsd_dispatchChuck Lever1-2/+0
2020-10-02NFSD: Call NFSv2 encoders on error returnsChuck Lever1-6/+2
2020-10-02NFSD: Refactor nfsd_dispatch() error pathsChuck Lever1-25/+35
2020-10-02NFSD: Clean up nfsd_dispatch() variablesChuck Lever1-8/+7
2020-10-02NFSD: Clean up stale comments in nfsd_dispatch()Chuck Lever1-10/+16
2020-10-02NFSD: Clean up switch statement in nfsd_dispatch()Chuck Lever1-4/+4
2020-10-02NFSD: Encoder and decoder functions are always presentChuck Lever1-3/+2
2020-09-25nfsd: rq_lease_breaker cleanupJ. Bruce Fields1-1/+0
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-1/+1
2020-05-11nfsd: Fix old-style function definitionMa Feng1-1/+1
2020-05-08nfsd: clients don't need to break their own delegationsJ. Bruce Fields1-0/+6
2020-03-16nfsd: set the server_scope during service startupScott Mayhew1-0/+3
2020-01-22nfsd: Containerise filecache laundretteTrond Myklebust1-2/+7
2020-01-03nfsd: use true,false for bool variable in nfssvc.czhengbin1-3/+3
2019-12-09NFSD add nfs4 inter ssc to nfsd4_copyOlga Kornievskaia1-0/+6
2019-11-19nfsd: restore NFSv3 ACL supportJ. Bruce Fields1-2/+1
2019-09-23nfsd: Make nfsd_reset_boot_verifier_locked staticYueHaibing1-1/+1
2019-09-10nfsd: Support the server resetting the boot verifierTrond Myklebust1-1/+30
2019-09-10nfsd: nfsd_file cache entries should be per net namespaceTrond Myklebust1-0/+1
2019-08-19nfsd: rip out the raparms cacheJeff Layton1-12/+1
2019-08-19nfsd: add a new struct file caching facility to nfsdJeff Layton1-1/+8
2019-04-24lockd: Pass the user cred from knfsd when starting the lockd serverTrond Myklebust1-1/+1
2019-04-24SUNRPC: Cache the process user cred in the RPC server listenerTrond Myklebust1-7/+7
2019-04-24nfsd: Allow containers to set supported nfs versionsTrond Myklebust1-46/+168
2019-04-24nfsd: Add custom rpcbind callbacks for knfsdTrond Myklebust1-2/+46
2019-04-24SUNRPC: Allow further customisation of RPC program registrationTrond Myklebust1-1/+2
2019-04-24SUNRPC: Add a callback to initialise server requestsTrond Myklebust1-0/+2
2017-11-27race of nfsd inetaddr notifiers vs nn->nfsd_serv changeVasily Averin1-3/+11
2017-11-18Merge tag 'nfsd-4.15' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-2/+2
2017-11-07nfds: avoid gettimeofday for nfssvc_boot timeArnd Bergmann1-1/+1
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-10-04nfsd: increase DRC cache limitJ. Bruce Fields1-1/+1
2017-08-24sunrpc: Const-ify struct sv_serv_opsChuck Lever1-1/+1
2017-05-15sunrpc: mark all struct svc_version instances as constChristoph Hellwig1-4/+4
2017-05-15sunrpc: mark all struct svc_procinfo instances as constChristoph Hellwig1-2/+2
2017-05-15sunrpc: properly type pc_encode callbacksChristoph Hellwig1-4/+1
2017-05-15sunrpc: properly type pc_decode callbacksChristoph Hellwig1-3/+2
2017-05-15sunrpc: properly type pc_func callbacksChristoph Hellwig1-1/+1
2017-04-25nfsd: check for oversized NFSv2/v3 argumentsJ. Bruce Fields1-0/+36
2017-03-10NFSD: fix nfsd_reset_versions for NFSv4.NeilBrown1-14/+11
2017-03-10NFSD: fix nfsd_minorversion(.., NFSD_AVAIL)NeilBrown1-1/+2
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-1/+1
2017-02-27nfsd: fix configuration of supported minor versionsTrond Myklebust1-0/+14
2017-01-31nfsd: initialize sin6_scope_id in nfsd_inet6addr_event()Scott Mayhew1-0/+2
2016-12-15nfsd: add support for the umask attributeAndreas Gruenbacher1-2/+2
2016-09-26NFSD: fix corruption in notifier registrationVasily Averin1-4/+14
2016-01-07nfsd: Fix nfsd leaks sunrpc module referencesKinglong Mee1-4/+3
2015-12-23nfsd: Register callbacks on the inetaddr_chain and inet6addr_chainScott Mayhew1-0/+68
2015-08-10nfsd/sunrpc: abstract out svc_set_num_threads to sv_opsJeff Layton1-3/+5
2015-08-10nfsd/sunrpc: turn enqueueing a svc_xprt into a svc_serv operationJeff Layton1-5/+6
2015-08-10nfsd/sunrpc: move sv_module parm into sv_opsJeff Layton1-1/+2
2015-08-10nfsd/sunrpc: move sv_function into sv_opsJeff Layton1-1/+2
2015-08-10nfsd/sunrpc: add a new svc_serv_ops struct and move sv_shutdown into itJeff Layton1-1/+5
2015-02-09nfsd: default NFSv4.2 to onJ. Bruce Fields1-0/+1
2014-12-09sunrpc: move rq_dropme flag into rq_flagsJeff Layton1-1/+1
2014-08-01NFSD: Decrease nfsd_users in nfsd_startup_generic failKinglong Mee1-1/+4
2014-07-08nfsd: add a new /proc/fs/nfsd/max_connections fileJeff Layton1-0/+5
2014-06-23NFSD: Using min/max/min_t/max_t for calculateKinglong Mee1-6/+5
2014-05-22nfsd: Only set PF_LESS_THROTTLE when really needed.NeilBrown1-6/+0
2014-01-06NFSD: fix compile warning without CONFIG_NFSD_V3Kinglong Mee1-0/+4
2014-01-03NFSD: Don't start lockd when only NFSv4 is runningKinglong Mee1-5/+21
2013-07-12nfsd4: fix minorversion support interfaceJ. Bruce Fields1-6/+7
2013-07-08nfsd4: support minorversion 1 by defaultJ. Bruce Fields1-1/+1
2013-02-28Merge branch 'for-3.9' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-4/+2
2013-02-23fs/nfsd: change type of max_delegations, nfsd_drc_max_mem and nfsd_drc_mem_usedZhang Yanfei1-3/+3
2013-02-15nfsd: containerize NFSd filesystemStanislav Kinsbursky1-3/+2
2013-02-04nfsd: get rid of RC_INTRJeff Layton1-1/+0
2012-12-10nfsd: pass proper net to nfsd_destroy() from NFSd kthreadsStanislav Kinsbursky1-1/+3
2012-12-10nfsd: simplify service shutdownStanislav Kinsbursky1-7/+2
2012-12-10nfsd: replace boolean nfsd_up flag by users counterStanislav Kinsbursky1-4/+5
2012-12-10nfsd: simplify NFSv4 state init and shutdownStanislav Kinsbursky1-29/+15
2012-12-10nfsd: introduce helpers for generic resources init and shutdownStanislav Kinsbursky1-16/+34
2012-12-10nfsd: make NFSd service structure allocated per netStanislav Kinsbursky1-34/+57
2012-12-10nfsd: make NFSd service boot time per-netStanislav Kinsbursky1-2/+2
2012-12-10nfsd: per-net NFSd up flag introducedStanislav Kinsbursky1-0/+12
2012-12-10nfsd: move per-net startup code to separated functionStanislav Kinsbursky1-15/+33
2012-12-10nfsd: pass net to nfsd_set_nrthreads()Stanislav Kinsbursky1-2/+1
2012-12-10nfsd: pass net to nfsd_svc()Stanislav Kinsbursky1-2/+1
2012-12-10nfsd: pass net to nfsd_create_serv()Stanislav Kinsbursky1-3/+2
2012-12-10nfsd: pass net to nfsd_startup() and nfsd_shutdown()Stanislav Kinsbursky1-9/+6
2012-12-10nfsd: pass net to nfsd_init_socks()Stanislav Kinsbursky1-4/+4
2012-12-10nfsd: use "init_net" for portmapperStanislav Kinsbursky1-2/+1
2012-11-28nfsd: call state init and shutdown twiceStanislav Kinsbursky1-2/+13
2012-11-26nfsd: fix v4 reply cachingJ. Bruce Fields1-1/+1
2012-08-21svcrpc: remove handling of unknown errors from svc_recvJ. Bruce Fields1-11/+1
2012-08-21nfsd: remove redundant "port" argumentJ. Bruce Fields1-7/+7
2012-07-25NFSd: set nfsd_serv to NULL after service destructionStanislav Kinsbursky1-5/+5
2012-07-25NFSd: introduce nfsd_destroy() helperStanislav Kinsbursky1-11/+3
2012-05-31SUNRPC: move per-net operations from svc_destroy()Stanislav Kinsbursky1-0/+14
2012-05-31SUNRPC: new svc_bind() routine introducedStanislav Kinsbursky1-0/+9
2012-04-12nfsd: make export cache allocated per network namespace contextStanislav Kinsbursky1-1/+1
2012-04-11Lockd: pass network namespace to creation and destruction routinesStanislav Kinsbursky1-3/+3
2012-03-26Merge nfs containerization work from Trond's treeJ. Bruce Fields1-2/+2
2012-02-03nfsd: fix default iosize calculation on 32bitJ. Bruce Fields1-1/+1
2012-02-03nfsd: cleanup setting of default max_block_sizeJ. Bruce Fields1-20/+24
2012-01-31SUNRPC: unregister service on creation in current network namespaceStanislav Kinsbursky1-2/+2
2011-11-06Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-0/+1
2011-10-31fs: add module.h to files that were implicitly using itPaul Gortmaker1-0/+1
2011-10-25NFSd: call svc rpcbind cleanup explicitlyStanislav Kinsbursky1-0/+2
2011-07-18nfsd: turn on reply cache for NFSv4J. Bruce Fields1-11/+15
2011-07-15nfsd: Remove deprecated nfsctl system call and related code.NeilBrown1-7/+0
2011-01-04svcrpc: simpler request droppingJ. Bruce Fields1-1/+1
2010-10-01sunrpc: Add net argument to svc_create_xprtPavel Emelyanov1-2/+3
2010-08-06nfsd: initialize nfsd versions before creating svcJ. Bruce Fields1-1/+1
2010-08-06nfsd: fix startup/shutdown order bugJ. Bruce Fields1-14/+16
2010-07-23nfsd: minor nfsd_svc() cleanupJ. Bruce Fields1-6/+7
2010-07-23nfsd: move more into nfsd_startup()J. Bruce Fields1-34/+35
2010-07-23nfsd: just keep single lockd reference for nfsdJeff Layton1-11/+14
2010-07-23nfsd: clean up nfsd_create_serv error handlingJeff Layton1-3/+2
2010-07-23nfsd4: fix v4 state shutdown error pathsJeff Layton1-9/+42
2010-05-14NFSD: don't report compiled-out versions as presentPavel Emelyanov1-1/+1
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-15/+0
2009-11-13nfsd: make fs/nfsd/vfs.h for common includesJ. Bruce Fields1-0/+1
2009-09-22Merge branch 'for-2.6.32' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-14/+40
2009-09-15nfsd4: allow nfs4 state startup to failJ. Bruce Fields1-1/+3
2009-09-02CRED: Add some configurable debugging [try #6]David Howells1-0/+2
2009-09-01nfsd41: replace page based DRC with buffer based DRCAndy Adamson1-4/+0
2009-08-25knfsd: Replace lock_kernel with a mutex in nfsd pool stats.Ryusei Yamaguchi1-2/+21
2009-08-21Merge branch 'nfs-for-2.6.32' of git://git.linux-nfs.org/projects/trondmy/nfs...J. Bruce Fields1-1/+0
2009-07-28nfsd41: hange from page to memory based drc limitsAndy Adamson1-7/+6
2009-07-28nfsd41: reserve less memory for DRCAndy Adamson1-2/+1
2009-07-14nfsd41: use globals for DRC limitsAndy Adamson1-4/+15
2009-07-12headers: smp_lock.h reduxAlexey Dobriyan1-1/+0