aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/callback_proc.c
AgeCommit message (Expand)AuthorFilesLines
2024-01-04NFSv4.1: if referring calls are complete, trust the stateid argumentTrond Myklebust1-20/+24
2024-01-04NFSv4: Track the number of referring calls in struct cb_process_stateTrond Myklebust1-3/+8
2023-10-18nfs: convert to new timestamp accessorsJeff Layton1-1/+1
2023-07-24nfs: convert to ctime accessor functionsJeff Layton1-1/+1
2022-06-06pNFS: Avoid a live lock condition in pnfs_update_layout()Trond Myklebust1-0/+1
2022-03-28NFSv4/pNFS: Fix another issue with a list iterator pointing to the headTrond Myklebust1-18/+9
2022-02-25NFSv4.2/copyoffload: Convert GFP_NOFS to GFP_KERNELTrond Myklebust1-1/+1
2022-01-06NFSv4.1: Fix uninitialised variable in devicenotifyTrond Myklebust1-1/+1
2021-11-04NFSv4.2 add tracepoint to CB_OFFLOADOlga Kornievskaia1-0/+3
2021-04-16NFSv4.x: Don't return NFS4ERR_NOMATCHING_LAYOUT if we're unmountingTrond Myklebust1-8/+9
2020-12-15kernel.h: split out mathematical helpersAndy Shevchenko1-0/+5
2020-03-16NFSv4: Add support for CB_RECALL_ANY for flexfiles layoutsTrond Myklebust1-0/+13
2020-03-16NFSv4/pnfs: Clean up nfs_layout_find_inode()Trond Myklebust1-31/+21
2020-03-16NFSv4/pnfs: Return valid stateids in nfs_layout_find_inode_by_stateid()Trond Myklebust1-0/+2
2020-03-16NFSv4/pnfs: pnfs_set_layout_stateid() should update the layout credTrond Myklebust1-1/+1
2019-11-03NFSv4: nfs4_callback_getattr() should ignore revoked delegationsTrond Myklebust1-3/+1
2019-11-03NFSv4: NFSv4 callbacks also support 64-bit timestampsTrond Myklebust1-2/+2
2019-07-09NFS4: Add a trace event to record invalid CB sequence IDsChuck Lever1-8/+20
2018-11-22NFSv4.2 copy do not allocate memory under the lockOlga Kornievskaia1-11/+11
2018-11-13NFSv4: Fix an Oops during delegation callbacksTrond Myklebust1-2/+2
2018-08-15NFSv4: Fix a sleep in atomic context in nfs4_callback_sequence()Trond Myklebust1-4/+10
2018-08-09NFS handle COPY reply CB_OFFLOAD call raceOlga Kornievskaia1-3/+14
2018-08-09NFS add support for asynchronous COPYOlga Kornievskaia1-1/+37
2018-08-09NFS CB_OFFLOAD xdrOlga Kornievskaia1-0/+7
2018-07-26NFSv4.1: Fix a potential layoutget/layoutrecall deadlockTrond Myklebust1-2/+2
2018-07-26pNFS: Parse the results of layoutget on open even if permissions checks failTrond Myklebust1-2/+0
2018-07-26pNFS: Don't update the stateid when replying NFS4ERR_DELAY to a layout recallTrond Myklebust1-1/+1
2018-07-26pNFS: Don't discard layout segments that are marked for returnTrond Myklebust1-9/+12
2018-06-14Merge branch 'vfs_timespec64' of https://github.com/deepa-hub/vfs into vfs-ti...Arnd Bergmann1-2/+2
2018-06-09NFSv4: Revert commit 5f83d86cf531d ("NFSv4.x: Fix wraparound issues..")Trond Myklebust1-5/+2
2018-06-08NFSv4: Return NFS4ERR_DELAY when a layout recall fails due to igrab()Trond Myklebust1-12/+14
2018-06-08NFSv4: Return NFS4ERR_DELAY when a delegation recall fails due to igrab()Trond Myklebust1-2/+6
2018-06-05vfs: change inode times to use struct timespec64Deepa Dinamani1-2/+2
2018-05-31pnfs: Add barrier to prevent lgopen using LAYOUTGET during recallFred Isaman1-0/+2
2018-02-21NFSv4: Fix broken cast in nfs4_callback_recallany()Trond Myklebust1-8/+6
2017-11-17Merge tag 'nfs-for-4.15-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-1/+1
2017-11-17NFS: Fix bool initialization/comparisonThomas Meyer1-1/+1
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-08-15NFS: Use an atomic_long_t to count the number of requestsTrond Myklebust1-1/+1
2017-05-15nfs: don't cast callback decode/proc/encode routinesChristoph Hellwig1-12/+21
2017-05-08NFSv4: Fix an rcu lock leakTrond Myklebust1-2/+4
2017-04-20NFS: Remove extra dprintk()s from callback_proc.cAnna Schumaker1-22/+0
2017-04-20NFS: Clean up nfs4_callback_layoutrecall()Anna Schumaker1-7/+1
2017-04-20NFS: Clean up do_callback_layoutrecall()Anna Schumaker1-9/+2
2016-12-01pNFS: Delay getting the layout header in CB_LAYOUTRECALL handlersTrond Myklebust1-32/+67
2016-09-22nfs: allow blocking locks to be awoken by lock callbacksJeff Layton1-0/+4
2016-09-22nfs: add handling for CB_NOTIFY_LOCK in clientJeff Layton1-0/+12
2016-08-28NFSv4.1: Remove obsolete and incorrrect assignment in nfs4_callback_sequenceTrond Myklebust1-1/+0
2016-08-28NFSv4.1: Delay callback processing when there are referring triplesTrond Myklebust1-2/+2
2016-08-28NFSv4.1: Fix Oopsable condition in server callback racesTrond Myklebust1-4/+1
2016-07-24pNFS: Remove redundant pnfs_mark_layout_returned_if_empty()Trond Myklebust1-1/+0
2016-07-24pNFS: Fix CB_LAYOUTRECALL stateid verificationTrond Myklebust1-19/+44
2016-05-17pnfs: only tear down lsegs that precede seqid in LAYOUTRETURN argsJeff Layton1-1/+2
2016-05-17Fixing oops in callback pathOlga Kornievskaia1-2/+4
2016-02-01NFSv4.x: Fix NFS4ERR_RETRY_UNCACHED_REP in nfs4_callback_sequenceTrond Myklebust1-7/+10
2016-01-25NFSv4.x: Allow multiple callbacks in flightTrond Myklebust1-4/+10
2016-01-24NFSv4.x: Fix wraparound issues when validing the callback sequence idTrond Myklebust1-26/+17
2016-01-24NFSv4.x: Enforce the ca_maxresponsesize_cached on the back channelTrond Myklebust1-3/+6
2016-01-24NFSv4.x: CB_SEQUENCE should return NFS4ERR_DELAY if still executingTrond Myklebust1-0/+2
2016-01-24NFSv4.x: Remove hard coded slotids in callback channelTrond Myklebust1-3/+3
2016-01-04NFSv4.1/pNFS: Fix a race in initiate_file_draining()Trond Myklebust1-4/+1
2015-12-31NFSv4.1/pNFS: Don't queue up a new commit if the layout segment is invalidTrond Myklebust1-0/+2
2015-12-28NFSv4: List stateid information in the callback tracepointsTrond Myklebust1-4/+12
2015-12-28NFSv4.1/pNFS: Don't return NFS4ERR_DELAY unnecessarily in CB_LAYOUTRECALLTrond Myklebust1-1/+1
2015-12-28NFSv4.1/pNFS: Ensure we enforce RFC5661 Section 12.5.5.2.1Trond Myklebust1-0/+20
2015-12-28pNFS: If we have to delay the layout callback, mark the layout for returnTrond Myklebust1-2/+12
2015-12-28NFSv4.1/pNFS: Add a helper to mark the layout as returnedTrond Myklebust1-0/+1
2015-10-21NFS: Remove unneeded NFS_DEBUG checking before define NFSDBG_FACILITYKinglong Mee1-2/+0
2015-08-25NFSv4: Add a tracepoint for CB_LAYOUTRECALLTrond Myklebust1-1/+2
2015-08-25NFSv4: Add a tracepoint for CB_GETATTRTrond Myklebust1-1/+5
2015-08-17NFS: Remove nfs41_server_notify_{target|highest}_slotid_update()Anna Schumaker1-1/+1
2015-06-11NFS: Ensure that we update the sequence id under the slot table lockTrond Myklebust1-5/+5
2015-06-11nfs: Initialize cb_sequenceres information before validate_seqid()Kinglong Mee1-7/+7
2015-06-11nfs: Only update callback sequnce id when CB_SEQUENCE successKinglong Mee1-4/+12
2015-02-18NFSv4.1: Don't set up a backchannel if the server didn't agree to do soTrond Myklebust1-0/+2
2014-11-24NFS: fix subtle change in COMMIT behaviorWeston Andros Adamson1-1/+1
2014-09-12pnfs: enable CB_NOTIFY_DEVICEID supportChristoph Hellwig1-3/+0
2014-09-10pnfs: add return_range methodChristoph Hellwig1-3/+9
2014-09-10pnfs: force a layout commit when encountering busy segments during recallChristoph Hellwig1-1/+7
2014-02-19NFSv4.1: Minor optimisation in get_layout_by_fh_locked()Trond Myklebust1-2/+2
2014-02-19NFSv4.1: Ensure that the layout recall callback matches layout stateidsTrond Myklebust1-5/+10
2013-09-03NFS: When displaying session slot numbers, use "%u" consistentlyChuck Lever1-4/+4
2013-08-22NFSv4.1: Add tracepoints for debugging slot table operationsTrond Myklebust1-0/+1
2013-08-22NFSv4: Add tracepoints for debugging delegationsTrond Myklebust1-0/+2
2013-06-28Merge branch 'labeled-nfs' into linux-nextTrond Myklebust1-1/+2
2013-06-08NFS: Make callbacks minor version genericBryan Schumaker1-1/+2
2013-05-20NFSv4.1 Fix a pNFS session draining deadlockAndy Adamson1-1/+1
2013-04-05NFSv4: Fix CB_RECALL_ANY to only return delegations that are not in useTrond Myklebust1-1/+1
2013-02-14NFSv4.1: Fix bulk recall and destroy of layoutsTrond Myklebust1-53/+8
2013-01-05nfs: avoid dereferencing null pointer in initiate_bulk_drainingNickolai Zeldovich1-1/+1
2012-12-06NFSv4.1: Cleanup move session slot management to fs/nfs/nfs4session.cTrond Myklebust1-0/+1
2012-12-06NFSv4.1: CB_RECALL_SLOT must schedule a sequence op after updating targetsTrond Myklebust1-0/+1
2012-12-06NFSv4.1: Remove the state manager code to resize the slot tableTrond Myklebust1-1/+0
2012-12-06NFSv4.1: Allow the server to recall all but one slotTrond Myklebust1-5/+0
2012-12-06NFSv4.1: Don't confuse target_highest_slotid and max_slots in cb_recall_slotTrond Myklebust1-7/+5
2012-12-06NFSv4.1: Fix nfs4_callback_recallslot to work with dynamic slot allocationTrond Myklebust1-1/+1
2012-12-06NFSv4.1: Ensure that the client tracks the server target_highest_slotidTrond Myklebust1-1/+1
2012-11-04NFSv4: Get rid of unnecessary BUG_ON()sTrond Myklebust1-1/+0
2012-09-28NFSv4.1: Clean up the removal of pnfs_layout_hdr from the server listTrond Myklebust1-1/+18
2012-09-28NFSv4.1: Cleanup; add "pnfs_" prefix to get_layout_hdr() and put_layout_hdr()Trond Myklebust1-4/+4
2012-09-28NFSv4.1: Cleanup add a "pnfs_" prefix to mark_matching_lsegs_invalidTrond Myklebust1-2/+2
2012-03-06NFSv4: Further clean-ups of delegation stateid validationTrond Myklebust1-24/+0
2012-03-06NFSv4.1: Fix matching of the stateids when returning a delegationTrond Myklebust1-5/+5
2012-03-02SUNRPC: Use RCU to dereference the rpc_clnt.cl_xprt fieldTrond Myklebust1-4/+5
2012-03-01NFSv4.1: Get rid of NFS4CLNT_LAYOUTRECALLTrond Myklebust1-5/+1
2012-02-06NFS: search for client session id in proper network namespaceStanislav Kinsbursky1-1/+1
2012-01-31pnfs: clean up initiate_file_draining layout lookupBenny Halevy1-18/+38
2012-01-05NFSv4.1: fix backchannel slotid off-by-one bugAndy Adamson1-1/+1
2011-08-04NFSv4.1: Return NFS4ERR_BADSESSION to callbacks during session resetsTrond Myklebust1-0/+5
2011-08-04NFSv4.1: Fix the callback 'highest_used_slotid' behaviourTrond Myklebust1-6/+14
2011-07-12NFS: move pnfs layouts to nfs_server structureWeston Andros Adamson1-21/+36
2011-05-29pnfs: Use byte-range for cb_layoutrecallBenny Halevy1-2/+2
2011-05-29NFSv4.1: use layout driver in global device cacheBenny Halevy1-1/+1
2011-05-29pnfs: CB_NOTIFY_DEVICEIDMarc Eshel1-0/+47
2011-03-11pnfs: fix pnfs lock inversion of i_lock and cl_lockFred Isaman1-1/+1
2011-01-25NFS fix cb_sequence error processingAndy Adamson1-1/+1
2011-01-25NFS do not find client in NFSv4 pg_authenticateAndy Adamson1-8/+2
2011-01-06pnfs: update nfs4_callback_recallany to handle layoutsAlexandros Batsakis1-3/+26
2011-01-06pnfs: add CB_LAYOUTRECALL handlingFred Isaman1-1/+118
2011-01-06pnfs: CB_LAYOUTRECALL xdr codeFred Isaman1-0/+6
2011-01-06NFS add session back channel drainingAndy Adamson1-0/+7
2011-01-06NFS refactor nfs_find_client and reference client across callback processingAndy Adamson1-102/+65
2010-10-24NFS: change stateid to be a unionAlexandros Batsakis1-4/+4
2010-08-06NFS: Fix the locking in nfs4_callback_getattrTrond Myklebust1-3/+3
2010-06-22NFSv41: Fix nfs_async_inode_return_delegation() uglinessTrond Myklebust1-12/+1
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-0/+1
2010-02-10nfs41: cleanup callback code to use __be32 typeAndy Adamson1-7/+8
2010-02-10nfs41: fix nfs4_callback_recallslotAndy Adamson1-3/+7
2010-02-10nfs41: implement cb_recall_slotAndy Adamson1-0/+32
2010-02-10nfs41: back channel drc minimal implementationAndy Adamson1-8/+17
2010-02-10nfs41: prepare for back channel drcAndy Adamson1-10/+9
2010-02-10nfs41: Process callback's referring call listMike Sager1-5/+14
2010-02-10nfs41: Check slot table for referring callsMike Sager1-0/+55
2009-12-05nfs41: v2 fix cb_recall bugAlexandros Batsakis1-2/+35
2009-12-05nfs41: V2 initial support for CB_RECALL_ANYAlexandros Batsakis1-0/+29
2009-06-17nfs41: Backchannel: CB_SEQUENCE validationRicardo Labiaga1-4/+67
2009-06-17nfs41: Backchannel: New find_client_with_session()Ricardo Labiaga1-0/+36
2009-06-17nfs41: cb_sequence proc implementationBenny Halevy1-0/+28
2008-05-16nfs: replace remaining __FUNCTION__ occurrencesHarvey Harrison1-2/+2
2008-01-30NFSv4: Iterate through all nfs_clients when the server recalls a delegationTrond Myklebust1-17/+22
2008-01-30NFS: Change nfs_find_client() to take "struct sockaddr *"Chuck Lever1-2/+2
2008-01-30NFS: Change cb_recallargs to pass "struct sockaddr *" instead of sockaddr_inChuck Lever1-1/+1
2008-01-30NFS: Change cb_getattrargs to pass "struct sockaddr *" instead of sockaddr_inChuck Lever1-1/+1
2008-01-30NFS: Move dprintks from callback.c to callback_proc.cChuck Lever1-1/+11
2006-10-20[PATCH] fs/nfs/callback* passes error values big-endianAl Viro1-3/+3
2006-09-22NFS: Generalise the nfs_client structureDavid Howells1-4/+5
2006-09-22NFS: Rename struct nfs4_client to struct nfs_clientDavid Howells1-2/+2
2006-06-30Remove obsolete #include <linux/config.h>Jörn Engel1-1/+0
2006-01-06NFSv4: Ensure change attribute returned by GETATTR callback conforms to specTrond Myklebust1-1/+3
2005-06-22[PATCH] NFS: Header file cleanup...Trond Myklebust1-0/+1
2005-04-16Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds1-0/+85