aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/read.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-09NFS: Read unlock folio on nfs_page_create_from_folio() errorBenjamin Coddington1-0/+2
2023-08-23NFSv4.2: Rework scratch handling for READ_PLUS (again)Anna Schumaker1-0/+10
2023-04-11NFS: Convert buffered read paths to use netfs when fscache is enabledDave Wysochanski1-32/+29
2023-04-11NFS: Rename readpage_async_filler to nfs_read_add_folioDave Wysochanski1-27/+27
2023-03-14NFS: Fix /proc/PID/io read_bytes for buffered readsDave Wysochanski1-0/+3
2023-02-14NFS: Remove unnecessary check in nfs_read_folio()Trond Myklebust1-7/+1
2023-02-14NFS: Convert buffered reads to use foliosTrond Myklebust1-44/+42
2022-06-29nfs: Leave pages in the pagecache if readpage failedMatthew Wilcox (Oracle)1-4/+0
2022-05-09nfs: Convert nfs to read_folioMatthew Wilcox (Oracle)1-1/+2
2022-03-13NFS: discard NFS_RPC_SWAPFLAGS and RPC_TASK_ROOTCREDSNeilBrown1-4/+0
2022-03-13NFS: Rename fscache read and write pages functionsDave Wysochanski1-2/+2
2022-02-25Convert NFS from readpages to readaheadMatthew Wilcox (Oracle)1-8/+13
2022-01-10nfs: Implement cache I/O by accessing the cache directlyDavid Howells1-17/+8
2021-11-02NFS: Add offset to nfs_aop_readahead tracepointDave Wysochanski1-1/+1
2021-10-20NFS: Replace dprintk callsites in nfs_readpage(s)Chuck Lever1-6/+5
2021-08-30NFS: Always provide aligned buffers to the RPC read layersTrond Myklebust1-2/+6
2021-07-08NFS: Fix fscache read from NFS after cache errorDave Wysochanski1-2/+3
2021-07-08NFS: Ensure nfs_readpage returns promptly when internal error occursDave Wysochanski1-3/+3
2021-06-28NFS: Remove unnecessary inode parameter from nfs_pageio_complete_read()Dave Wysochanski1-6/+5
2021-02-01NFS: Add nfs_pageio_complete_read() and remove nfs_readpage_async()Dave Wysochanski1-76/+61
2021-02-01NFS: Call readpage_async_filler() from nfs_readpage_async()Dave Wysochanski1-17/+11
2021-02-01NFS: Refactor nfs_readpage() and nfs_readpage_async() to use nfs_readdescDave Wysochanski1-32/+30
2021-02-01NFS: In nfs_readpage() only increment NFSIOS_READPAGES when read succeedsDave Wysochanski1-1/+1
2021-02-01NFS: Clean up nfs_readpage() and nfs_readpages()Dave Wysochanski1-22/+23
2020-06-11NFS: Trace short NFS READsChuck Lever1-0/+2
2020-04-06NFS: Clean up process of marking inode stale.Trond Myklebust1-1/+1
2020-01-15NFS: When resending after a short write, reset the reply count to zeroTrond Myklebust1-0/+2
2020-01-15NFS: Clean up generic file read tracepointsTrond Myklebust1-3/+2
2019-08-26NFS: Fix spurious EIO read errorsTrond Myklebust1-9/+26
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-04-25NFS: Add a helper to return a pointer to the open context of a struct nfs_pageTrond Myklebust1-1/+1
2019-04-25NFS: Remove unused argument from nfs_create_request()Trond Myklebust1-2/+2
2019-02-20NFS: Pass error information to the pgio error cleanup routineTrond Myklebust1-1/+1
2018-09-30NFS: Remove private spinlock in struct nfs_pgio_headerTrond Myklebust1-6/+4
2017-09-11NFS: Add static NFS I/O tracepointsChuck Lever1-0/+4
2017-08-20NFS: Remove unused parameter gfp_flags from nfs_pageio_init()Trond Myklebust1-1/+1
2017-04-20NFS: move rw_mode to nfs_pageio_headerBenjamin Coddington1-3/+6
2016-10-07mm: remove page_file_indexHuang Ying1-1/+1
2016-06-24NFS: Fix a double page unlockTrond Myklebust1-2/+2
2016-04-04mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macrosKirill A. Shutemov1-8/+8
2015-12-28nfs: handle request add failure properlyPeng Tao1-18/+23
2015-12-28NFS41: pop some layoutget errors to applicationPeng Tao1-1/+1
2015-10-21NFSv4.1/pnfs: Retry through MDS when getting bad length of dataKinglong Mee1-1/+8
2015-09-20NFS: Do cleanup before resetting pageio read/write to mdsKinglong Mee1-0/+3
2015-04-26Merge tag 'nfs-for-4.1-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-1/+1
2015-04-23Revert "nfs: replace nfs_add_stats with nfs_inc_stats when add one"Nicolas Iooss1-1/+1
2015-04-15VFS: normal filesystems (and lustre): d_inode() annotationsDavid Howells1-1/+1
2015-04-15NFS: Don't use d_inode as a variable nameDavid Howells1-4/+4
2015-02-03nfs: add mirroring support to pgio layerWeston Andros Adamson1-5/+25
2015-02-03pnfs: Add nfs_rpc_ops in calls to nfs_initiate_pgioTom Haynes1-1/+2
2014-11-24nfs: replace nfs_add_stats with nfs_inc_stats when add oneLi RongQing1-1/+1
2014-06-25nfs: get rid of duplicate dprintkWeston Andros Adamson1-6/+0
2014-06-24nfs: merge nfs_pgio_data into _headerWeston Andros Adamson1-20/+22
2014-06-24nfs: move nfs_pgio_data and remove nfs_rw_headerWeston Andros Adamson1-3/+3
2014-05-29nfs: support page groups in nfs_read_completionWeston Andros Adamson1-7/+17
2014-05-29nfs: page group syncing in read pathWeston Andros Adamson1-5/+17
2014-05-29nfs: add support for multiple nfs reqs per pageWeston Andros Adamson1-2/+2
2014-05-29nfs: remove unused arg from nfs_create_requestWeston Andros Adamson1-3/+2
2014-05-29NFS: Create a common nfs_pageio_ops structAnna Schumaker1-8/+2
2014-05-29NFS: Create a common generic_pg_pgios()Anna Schumaker1-24/+1
2014-05-29NFS: Create a common multiple_pgios() functionAnna Schumaker1-30/+2
2014-05-29NFS: Create a common initiate_pgio() functionAnna Schumaker1-36/+6
2014-05-28NFS: Create a generic_pgio functionAnna Schumaker1-80/+1
2014-05-28NFS: Create a common pgio_error functionAnna Schumaker1-21/+4
2014-05-28NFS: Create a common rpcsetup function for reads and writesAnna Schumaker1-24/+2
2014-05-28NFS: Create a common rpc_call_ops structAnna Schumaker1-9/+2
2014-05-28NFS: Create a common nfs_pgio_result_common functionAnna Schumaker1-17/+8
2014-05-28NFS: Create a common pgio_rpc_prepare functionAnna Schumaker1-16/+3
2014-05-28NFS: Create a common rw_header_alloc and rw_header_free functionAnna Schumaker1-21/+13
2014-05-28NFS: Create a common pgio_alloc and pgio_release functionAnna Schumaker1-50/+4
2014-05-28NFS: Create a common read and write header structAnna Schumaker1-7/+7
2014-05-28NFS: Create a common read and write data structAnna Schumaker1-16/+16
2014-05-28NFS: Create a common results structure for reads and writesAnna Schumaker1-1/+1
2014-05-28NFS: Create a common argument structure for reads and writesAnna Schumaker1-1/+1
2014-05-28nfs: remove ->read_pageio_init from rpc opsChristoph Hellwig1-5/+14
2014-01-05NFS: dprintk() should not print negative fileids and inode numbersNiels de Vos1-6/+6
2013-09-04NFSv4: Don't try to recover NFSv4 locks when they are lost.NeilBrown1-3/+4
2013-03-25NFS: Don't accept more reads/writes if the open context recovery failedTrond Myklebust1-0/+2
2013-01-04NFS: Ensure that we free the rpc_task after read and write cleanups are doneTrond Myklebust1-3/+7
2012-07-31Merge branch 'akpm' (Andrew's patch-bomb)Linus Torvalds1-3/+3
2012-07-31nfs: teach the NFS client how to treat PG_swapcache pagesMel Gorman1-3/+3
2012-07-30NFS: Convert v4 into a moduleBryan Schumaker1-0/+4
2012-07-30NFS: Convert v2 into a moduleBryan Schumaker1-0/+1
2012-06-29NFS: Create an read_pageio_init() functionBryan Schumaker1-13/+3
2012-05-24NFSv4.1 add nfs_inode book keeping for mdsthresholdAndy Adamson1-0/+2
2012-05-19NFSv4.1 set RPC_TASK_SOFTCONN for filelayout DS RPC callsAndy Adamson1-3/+3
2012-05-04NFS: Fix sparse warningsTrond Myklebust1-1/+1
2012-05-01NFS: Simplify the nfs_read_completion functionsTrond Myklebust1-26/+18
2012-05-01NFS: Clean up nfs read and write error pathsTrond Myklebust1-17/+21
2012-05-01NFS: Read cleanupsTrond Myklebust1-9/+4
2012-04-27NFS: rewrite directio read to use async coalesce codeFred Isaman1-5/+5
2012-04-27NFS: create completion structure to pass into page_init functionsFred Isaman1-14/+22
2012-04-27NFS: merge _full and _partial read rpc_opsFred Isaman1-181/+157
2012-04-27NFS: create struct nfs_page_arrayFred Isaman1-14/+8
2012-04-27NFS: create common nfs_pgio_header for both read and writeFred Isaman1-38/+51
2012-04-27NFS: reverse arg order in nfs_initiate_[read|write]Fred Isaman1-2/+3
2012-04-20NFS: put open context on error in nfs_pagein_multiFred Isaman1-1/+1
2012-03-28Merge tag 'split-asm_system_h-for-linus-20120328' of git://git.kernel.org/pub...Linus Torvalds1-1/+0
2012-03-28Remove all #inclusions of asm/system.hDavid Howells1-1/+0
2012-03-21NFS: Remove nfs4_setup_sequence from generic read codeBryan Schumaker1-12/+1
2012-03-17NFSv4.1: Clean ups and bugfixes for the pNFS read/writeback/commit codeTrond Myklebust1-1/+0
2012-01-31NFSv41: Add a new helper nfs4_init_sequence()Trond Myklebust1-1/+1
2011-11-10NFS: Revert pnfs ugliness from the generic NFS read code pathTrond Myklebust1-12/+2
2011-10-19NFS: Get rid of the nfs_rdata_mempoolTrond Myklebust1-13/+4
2011-10-19NFS: Don't rely on PageError in nfs_readpage_release_partialTrond Myklebust1-5/+2
2011-10-19NFS: Get rid of unnecessary calls to ClearPageError() in read codeTrond Myklebust1-2/+0
2011-10-19NFS: Get rid of nfs_restart_rpc()Trond Myklebust1-1/+1
2011-10-18pnfs: recoalesce when ld read pagelist failsPeng Tao1-1/+11
2011-07-25Merge branch 'master' into devel and apply fixup from Stephen Rothwell:Stephen Rothwell1-5/+5
2011-07-20nfs_open_context doesn't need struct path eitherAl Viro1-4/+4
2011-07-15NFS: Clean up - simplify the switch to read/write-through-MDSTrond Myklebust1-2/+2
2011-07-15NFS: Move the pnfs read code into pnfs.cTrond Myklebust1-26/+20
2011-07-15NFS: Use the nfs_pageio_descriptor->pg_bsize in the read/write requestTrond Myklebust1-1/+1
2011-07-15NFS: Cache rpc_ops in struct nfs_pageio_descriptorTrond Myklebust1-11/+8
2011-07-15NFS: Clean up: split out the RPC transmission from nfs_pagein_multi/oneTrond Myklebust1-42/+50
2011-07-15NFS: fix return value of nfs_pagein_one/nfs_flush_onePeng Tao1-1/+2
2011-07-12NFS: Clean up nfs_read_rpcsetup and nfs_write_rpcsetupTrond Myklebust1-17/+25
2011-07-12NFSv4.1: File layout only supports whole file layoutsAndy Adamson1-0/+1
2011-07-12NFSv4.1: Fall back to ordinary i/o through the mds if we have no layout segmentTrond Myklebust1-1/+1
2011-07-12NFSv4.1: Add an initialisation callback for pNFSTrond Myklebust1-12/+4
2011-07-12NFS: Cleanup of the nfs_pageio code in preparation for a pnfs bugfixTrond Myklebust1-11/+32
2011-05-29NFSv4.1: unify pnfs_pageio_init functionsBenny Halevy1-1/+0
2011-05-29pnfs: Use byte-range for layoutgetBenny Halevy1-2/+6
2011-05-11NFSv4.1: Ensure that layoutget uses the correct gfp modesTrond Myklebust1-2/+2
2011-03-15nfs: BKL is no longer needed, so remove the includeStephen Rothwell1-1/+0
2011-03-11NFSv4.1: Clear lseg pointer in ->doio functionFred Isaman1-0/+2
2011-03-11NFSv4.1: rearrange ->doio argsFred Isaman1-17/+25
2011-03-11NFSv4.1: filelayout async error handlerAndy Adamson1-0/+1
2011-03-11NFSv4.1: filelayout readAndy Adamson1-1/+2
2011-03-11NFSv4.1: generic readAndy Adamson1-25/+40
2011-03-11NFSv4.1: shift pnfs_update_layout locationsFred Isaman1-16/+24
2011-03-11NFSv4.1: coelesce across layout stripesFred Isaman1-0/+1
2010-12-07nfs: remove extraneous and problematic calls to nfs_clear_requestTrond Myklebust1-1/+0
2010-10-24NFS: create and destroy inode's layout cacheBenny Halevy1-0/+3
2010-09-24NFSv4.1: keep seq_res.sr_slot as pointer rather than an indexBenny Halevy1-1/+0
2010-07-30NFSv4: Ensure that we track the NFSv4 lock state in read/write requests.Trond Myklebust1-0/+1
2010-06-22NFSv4.1: Make nfs4_setup_sequence take a nfs_server argumentTrond Myklebust1-1/+1
2010-05-14NFS: Read requests can use GFP_KERNEL.Trond Myklebust1-2/+2
2009-12-07NFS: Fix up the declaration of nfs4_restart_rpc when NFSv4 not configuredTrond Myklebust1-1/+1
2009-12-05NFSv41: Clean up slot table managementTrond Myklebust1-10/+3
2009-12-04nfs41: call free slot from nfs4_restart_rpcAndy Adamson1-1/+2
2009-08-12NFS: Fix an O_DIRECT Oops...Trond Myklebust1-4/+2
2009-07-12headers: smp_lock.h reduxAlexey Dobriyan1-1/+0
2009-06-17nfs41: use rpc prepare call state for session resetAndy Adamson1-1/+1
2009-06-17nfs41: read sequence setup/done supportAndy Adamson1-2/+28
2009-06-17nfs41: set up seq_res.sr_slotidAndy Adamson1-0/+1
2009-04-03NFS: Store pages from an NFS inode into a local cacheDavid Howells1-0/+5
2009-04-03NFS: Read pages from FS-Cache into an NFS inodeDavid Howells1-0/+18
2009-04-03NFS: nfs_readpage_async() needs to be accessible as a fallback for local cachingDavid Howells1-2/+2
2008-12-23nfs: remove redundant tests on reading new pagesWu Fengguang1-6/+0
2008-05-16nfs: replace remaining __FUNCTION__ occurrencesHarvey Harrison1-1/+1
2008-04-19NFS: Ensure that rpc_run_task() errors are propagated back to the callerTrond Myklebust1-8/+15
2008-04-19NFS: Ensure that the read code cleans up properly when rpc_run_task() failsTrond Myklebust1-20/+33
2008-03-19nfs: remove duplicate initializations of nfs_read_data fieldFred Isaman1-2/+0
2008-03-19Merge branch 'hotfixes' into develTrond Myklebust1-1/+4
2008-03-19nfs: don't ignore return value from nfs_pageio_add_requestFred Isaman1-1/+4
2008-02-28SUNRPC: Remove now-redundant RCU-safe rpc_task free pathTrond Myklebust1-7/+1
2008-02-25NFS: Ensure that the asynchronous RPC calls complete on nfsiod.Trond Myklebust1-0/+1
2008-02-25NFS: Fix a deadlock with lazy umountTrond Myklebust1-2/+5
2008-02-05Pagecache zeroing: zero_user_segment, zero_user_segments and zero_userChristoph Lameter1-5/+5
2008-01-30nfs: obliterate NFS_FLAGS macroBenny Halevy1-1/+1
2008-01-30NFS/SUNRPC: Convert users of rpc_init_task+rpc_execute to rpc_run_task()Trond Myklebust1-12/+5
2008-01-30NFS: Clean up the (commit|read|write)_setup() callback routinesTrond Myklebust1-18/+20
2008-01-30SUNRPC: Clean up the initialisation of priority queue scheduling info.Trond Myklebust1-2/+0
2008-01-30SUNRPC: Cleanup of rpc_task initialisationTrond Myklebust1-5/+10
2007-10-09NFS: Fix atime revalidation in read()Trond Myklebust1-3/+0
2007-10-09NFS: Replace file->private_data with calls to nfs_file_open_context()Trond Myklebust1-4/+2
2007-07-20mm: Remove slab destructors from kmem_cache_create().Paul Mundt1-1/+1
2007-07-10NFS: Replace vfsmount and dentry in nfs_open_context with struct pathTrond Myklebust1-3/+3
2007-07-10NFS: Minor read optimisation...Trond Myklebust1-11/+23
2007-05-14NFS: use zero_user_pageNate Diller1-5/+5
2007-04-30NFS: Fix a buffer overflow in the allocation of struct nfs_read/writedataTrond Myklebust1-10/+9
2007-04-30NFS: Cleanup for nfs_readpages()Trond Myklebust1-32/+15
2007-04-30NFS: Another cleanup of the read/write request coalescing codeTrond Myklebust1-35/+27
2007-04-30NFS: Cleanup the coalescing codeTrond Myklebust1-11/+13
2007-02-03NFS: fix print format for tk_pidChuck Lever1-2/+2
2007-02-03NFS: Remove nfs_readpage_sync()Trond Myklebust1-103/+2
2006-12-07Merge branch 'master' of /home/trondmy/kernel/linux-2.6/ into merge_linusTrond Myklebust1-2/+2
2006-12-07[PATCH] slab: remove kmem_cache_tChristoph Lameter1-1/+1
2006-12-07[PATCH] slab: remove SLAB_NOFSChristoph Lameter1-1/+1
2006-12-06NFS: Cleanup: add common helper nfs_page_length()Trond Myklebust1-18/+3
2006-12-06NFS: Remove use of the Big Kernel Lock around calls to rpc_execute.Frank Filz1-2/+0
2006-12-06NFS: Fix missing page_unlock() in nfs_readpageTrond Myklebust1-4/+6
2006-12-06NFS: Fix asynchronous read error handlingTrond Myklebust1-71/+69
2006-12-06SUNRPC: Fix a potential race in rpc_wake_up_task()Trond Myklebust1-1/+7
2006-09-27[PATCH] Really ignore kmem_cache_destroy return valueAlexey Dobriyan1-2/+1
2006-09-22NFS: Make read() return an ESTALE if the file has been deletedTrond Myklebust1-3/+16
2006-09-22NFS: Share NFS superblocks per-protocol per-server per-FSIDDavid Howells1-1/+1
2006-09-19NFS: Fix Oopsable condition in nfs_readpage_sync()Trond Myklebust1-2/+4
2006-09-08[PATCH] NFS: large non-page-aligned direct I/O clobbers memoryTrond Myklebust1-11/+13
2006-08-24NFS: Fix issue with EIO on NFS readTrond Myklebust1-8/+15
2006-08-03NFS: make 2 functions staticAdrian Bunk1-1/+1
2006-06-30Remove obsolete #include <linux/config.h>Jörn Engel1-1/+0
2006-06-27[PATCH] fix static linking of NFSDavid Brownell1-1/+1
2006-06-09NFS: Split fs/nfs/inode.cDavid Howells1-2/+2
2006-06-09NFS: Optimize allocation of nfs_read/write_data structuresChuck Lever1-7/+4
2006-06-09NFS: Clean up and fix page zeroing when we have short readsTrond Myklebust1-32/+75
2006-03-26[PATCH] mempool: use mempool_create_slab_pool()Matthew Dobson1-4/+2
2006-03-20NFS: Uninline nfs_writedata_(alloc|free) and nfs_readdata_(alloc|free)Trond Myklebust1-1/+31
2006-03-20NFS: Cleanup of NFS read codeTrond Myklebust1-17/+41