aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/file.c
AgeCommit message (Expand)AuthorFilesLines
2024-02-05nfs: adapt to breakup of struct file_lockJeff Layton1-10/+9
2024-02-05filelock: split common fields into struct file_lock_coreJeff Layton1-0/+1
2024-02-05nfs: convert to using new filelock helpersJeff Layton1-2/+2
2024-01-10Merge tag 'nfs-for-6.8-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-1/+0
2024-01-04nfs: Remove writepageMatthew Wilcox (Oracle)1-1/+0
2023-12-10fs: convert error_remove_page to error_remove_folioMatthew Wilcox (Oracle)1-1/+1
2023-08-24filemap: Fix errors in file.chuzhi001@208suo.com1-1/+1
2023-06-28Merge tag 'mm-stable-2023-06-24-19-15' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-5/+1
2023-06-09filemap: update ki_pos in generic_perform_writeChristoph Hellwig1-1/+0
2023-06-09backing_dev: remove current->backing_dev_infoChristoph Hellwig1-4/+1
2023-05-24nfs: Provide a splice-read wrapperDavid Howells1-1/+22
2023-04-27Merge tag 'mm-stable-2023-04-27-15-30' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-2/+2
2023-04-06fs: Add FGP_WRITEBEGINMatthew Wilcox1-10/+2
2023-04-05mm: return an ERR_PTR from __filemap_get_folioChristoph Hellwig1-2/+2
2023-02-22Merge tag 'nfs-for-6.3-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-52/+72
2023-02-14NFS: Enable tracing of nfs_invalidate_folio() and nfs_launder_folio()Trond Myklebust1-2/+7
2023-02-14NFS: fix up nfs_release_folio() to try to release the pageTrond Myklebust1-2/+7
2023-02-14NFS: Fix up nfs_vm_page_mkwrite() for foliosTrond Myklebust1-11/+10
2023-02-14NFS: Convert nfs_write_begin/end to use foliosTrond Myklebust1-34/+41
2023-02-14NFS: Convert buffered writes to use foliosTrond Myklebust1-5/+9
2023-02-14NFS: Add a helper nfs_wb_folio()Trond Myklebust1-1/+1
2023-01-11filelock: move file locking definitions to separate header fileJeff Layton1-0/+1
2022-10-13Merge tag 'nfs-for-6.1-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-3/+3
2022-10-10Merge tag 'sched-core-2022-10-07' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+2
2022-10-03NFS: clean up a needless assignment in nfs_file_write()Lukas Bulwahn1-3/+3
2022-09-07freezer,sched: Rewrite core freezer logicPeter Zijlstra1-1/+2
2022-08-22Merge tag 'nfs-for-5.20-2' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-9/+6
2022-08-13NFS: Fix another fsync() issue after a server rebootTrond Myklebust1-9/+6
2022-08-10Merge tag 'nfs-for-5.20-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-2/+0
2022-08-02nfs: Convert to migrate_folioMatthew Wilcox (Oracle)1-3/+1
2022-07-12NFS: remove redundant code in nfs_file_write()ChenXiaoSong1-2/+0
2022-05-31Merge tag 'nfs-for-5.19-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-29/+21
2022-05-26Merge tag 'mm-stable-2022-05-25' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-3/+15
2022-05-17NFS: Do not report flush errors in nfs_write_end()Trond Myklebust1-5/+2
2022-05-17NFS: Don't report ENOSPC write errors twiceTrond Myklebust1-20/+14
2022-05-17NFS: fsync() should report filesystem errors over EINTR/ERESTARTSYSTrond Myklebust1-4/+5
2022-05-09nfs: Convert to release_folioMatthew Wilcox (Oracle)1-11/+11
2022-05-09VFS: add FMODE_CAN_ODIRECT file flagNeilBrown1-1/+2
2022-05-09nfs: rename nfs_direct_IO and use as ->swap_rwNeilBrown1-4/+1
2022-05-09mm: introduce ->swap_rw and use it for reads from SWP_FS_OPS swap-spaceNeilBrown1-0/+4
2022-05-09mm: move responsibility for setting SWP_FS_OPS to ->swap_activateNeilBrown1-2/+12
2022-05-09nfs: Convert nfs to read_folioMatthew Wilcox (Oracle)1-2/+2
2022-05-08fs: Convert is_dirty_writeback() to take a folioMatthew Wilcox (Oracle)1-12/+9
2022-05-08fs: Remove flags parameter from aops->write_beginMatthew Wilcox (Oracle)1-1/+1
2022-05-08fs: Remove aop flags parameter from grab_cache_page_write_begin()Matthew Wilcox (Oracle)1-1/+1
2022-04-01fs: Pass an iocb to generic_perform_write()Matthew Wilcox (Oracle)1-1/+1
2022-03-29Merge tag 'nfs-for-5.18-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-11/+15
2022-03-15fs: Convert trivial uses of __set_page_dirty_nobuffers to filemap_dirty_folioMatthew Wilcox (Oracle)1-1/+1
2022-03-15nfs: Convert from launder_page to launder_folioMatthew Wilcox (Oracle)1-7/+7
2022-03-15nfs: Convert from invalidatepage to invalidate_folioMatthew Wilcox (Oracle)1-8/+8
2022-03-13NFS: swap IO handling is slightly different for O_DIRECT IONeilBrown1-2/+2
2022-03-13NFSv4: keep state manager thread active if swap is enabledNeilBrown1-3/+12
2022-03-13NFS: remove IS_SWAPFILE hackNeilBrown1-5/+0
2022-02-25Convert NFS from readpages to readaheadMatthew Wilcox (Oracle)1-1/+1
2022-01-10nfs: Convert to new fscache volume/cookie APIDave Wysochanski1-5/+8
2021-09-10locks: remove LOCK_MAND flock lock supportJeff Layton1-9/+0
2021-08-31Merge tag 'nfsd-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linuxLinus Torvalds1-0/+3
2021-08-26nfs: don't allow reexport reclaimsJ. Bruce Fields1-0/+3
2021-08-23fs: remove mandatory file locking supportJeff Layton1-4/+0
2021-04-12NFS: Replace use of NFS_INO_REVAL_PAGECACHE when checking cache validityTrond Myklebust1-1/+1
2021-02-16NFS: Add support for eager writesTrond Myklebust1-2/+17
2021-02-08NFS: Always clear an invalid mapping when attempting a buffered writeTrond Myklebust1-0/+2
2021-02-08NFS: Optimise sparse writes past the end of fileTrond Myklebust1-3/+1
2021-02-08NFS: Fix documenting comment for nfs_revalidate_file_size()Trond Myklebust1-1/+1
2020-08-15Merge tag 'nfs-for-5.9-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-4/+13
2020-08-04nfs: nfs_file_write() should check for writeback errorsScott Mayhew1-3/+9
2020-08-01nfs: ensure correct writeback errors are returned on close()Scott Mayhew1-1/+4
2020-07-17SUNRPC reverting d03727b248d0 ("NFSv4 fix CLOSE not waiting for direct IO com...Olga Kornievskaia1-1/+0
2020-06-26NFSv4 fix CLOSE not waiting for direct IO compeletionOlga Kornievskaia1-0/+1
2020-01-15NFS: Fix up fsync() when the server rebootedTrond Myklebust1-21/+16
2020-01-15fs/nfs, swapon: check holes in swapfileMurphy Zhou1-0/+12
2019-11-18NFS: Return -ETXTBSY when attempting to write to a swapfileAnna Schumaker1-1/+1
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-04-25NFS: Replace custom error reporting mechanism with generic oneTrond Myklebust1-21/+4
2019-04-25NFS: Don't inadvertently clear writeback errorsTrond Myklebust1-3/+3
2019-02-20pNFS: Avoid read/modify/write when it is not necessaryKazuo Ito1-14/+26
2019-02-20pNFS: Fix potential corruption of page being writtenKazuo Ito1-1/+1
2019-02-20NFS: Fix up documentation warningsTrond Myklebust1-2/+2
2018-07-30fs: nfs: Adding new return type vm_fault_tSouptick Joarder1-2/+2
2017-11-17NFS: Revert "NFS: Move the flock open mode check into nfs_flock()"Benjamin Coddington1-16/+2
2017-09-11NFS: various changes relating to reporting IO errors.NeilBrown1-6/+10
2017-09-07NFS: Sync the correct byte range during synchronous writestarangg@amazon.com1-3/+3
2017-09-06NFS: flush data when locking a file to ensure cache coherence for mmap.NeilBrown1-4/+7
2017-07-27NFS: Optimize fallocate by refreshing mapping when needed.NeilBrown1-0/+2
2017-07-27NFS: invalidate file size when taking a lock.NeilBrown1-1/+1
2017-04-26NFSv4: Don't special case "launder"Trond Myklebust1-1/+1
2017-04-21NFS: Always wait for I/O completion before unlockBenjamin Coddington1-5/+5
2017-04-21NFS: Move the flock open mode check into nfs_flock()Benjamin Coddington1-2/+16
2017-02-24mm, fs: reduce fault, page_mkwrite, and pfn_mkwrite to take only vmfDave Jiang1-2/+2
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-12-21Merge tag 'nfs-for-4.10-2' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-11/+1
2016-12-19NFS: Clean up cache validity checkingTrond Myklebust1-11/+1
2016-12-17Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+1
2016-12-09nfs_write_end(): fix handling of short copiesAl Viro1-1/+1
2016-12-04NFS: Fix incorrect size revalidation when holding a delegationTrond Myklebust1-1/+4
2016-10-13Merge tag 'nfs-for-4.9-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-7/+4
2016-10-05switch generic_file_splice_read() to use of ->read_iter()Al Viro1-24/+1
2016-09-22nfs: eliminate pointless and confusing do_vfs_lock wrappersJeff Layton1-7/+2
2016-09-20nfs: cover ->migratepage with CONFIG_MIGRATIONChao Yu1-0/+2
2016-09-03NFS: Fix error reporting in nfs_file_write()Trond Myklebust1-1/+4
2016-07-24Merge branch 'writeback'Trond Myklebust1-69/+27
2016-07-19sunrpc: move NO_CRKEY_TIMEOUT to the auth->au_flagsScott Mayhew1-2/+2
2016-07-05NFS nfs_vm_page_mkwrite: Don't freeze me, Bro...Trond Myklebust1-0/+3
2016-07-05NFS: Remove redundant waits for O_DIRECT in fsync() and write_begin()Trond Myklebust1-6/+0
2016-07-05NFS: Do not serialise O_DIRECT reads and writesTrond Myklebust1-4/+8
2016-07-05NFS: Move buffered I/O locking into nfs_file_write()Trond Myklebust1-12/+15
2016-07-05NFS Cleanup: move call to generic_write_checks() into fs/nfs/direct.cTrond Myklebust1-5/+1
2016-06-22NFS: Don't call COMMIT in ->releasepage()Trond Myklebust1-23/+0
2016-06-22NFS: Don't hold the inode lock across fsync()Trond Myklebust1-2/+0
2016-06-22NFS: Kill NFS_INO_NFS_INO_FLUSHING: it is a performance killerTrond Myklebust1-8/+0
2016-06-22NFS: Cache aggressively when file is open for writingTrond Myklebust1-11/+2
2016-05-01direct-io: eliminate the offset argument to ->direct_IOChristoph Hellwig1-1/+1
2016-04-04mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macrosKirill A. Shutemov1-10/+10
2016-03-16nfs: remove nfs_inode_dio_waitChristoph Hellwig1-2/+2
2016-03-16nfs: remove nfs4_file_fsyncChristoph Hellwig1-3/+5
2016-01-22wrappers for ->i_mutex accessAl Viro1-2/+2
2016-01-07NFS: Use wait_on_atomic_t() for unlock after readaheadBenjamin Coddington1-1/+1
2016-01-04Merge branch 'pnfs_generic'Trond Myklebust1-1/+1
2015-12-31NFS: Allow multiple commit requests in flight per fileTrond Myklebust1-1/+1
2015-12-28nfs: only remove page from mapping if launder_page failsPeng Tao1-1/+1
2015-11-06mm, page_alloc: distinguish between being unable to sleep, unwilling to sleep...Mel Gorman1-3/+3
2015-10-22Move locks API users to locks_lock_inode_wait()Benjamin Coddington1-12/+1
2015-09-07NFSv4: Respect the server imposed limit on how many changes we may cacheTrond Myklebust1-9/+1
2015-08-17NFS: Don't fsync twice for O_SYNC/IS_SYNC filesTrond Myklebust1-5/+3
2015-08-17NFS: Remove nfs_release()Anna Schumaker1-1/+2
2015-06-10sunrpc: keep a count of swapfiles associated with the rpc_clntJeff Layton1-13/+2
2015-04-26Merge tag 'nfs-for-4.1-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-1/+2
2015-04-15nfs: generic_write_checks() shouldn't be done on swapout...Al Viro1-4/+7
2015-04-11mirror O_APPEND and O_DIRECT into iocb->ki_flagsAl Viro1-3/+3
2015-04-11make new_sync_{read,write}() staticAl Viro1-2/+0
2015-04-11Merge branch 'iocb' into for-nextAl Viro1-1/+0
2015-03-27NFSv4.1/pnfs: Ensure that writes respect the O_SYNC flag when doing O_DIRECTTrond Myklebust1-0/+1
2015-03-27NFS: File unlock needs to be a metadata synchronisation pointTrond Myklebust1-1/+1
2015-03-25fs: move struct kiocb to fs.hChristoph Hellwig1-1/+0
2015-03-03NFS: Don't write enable new pages while an invalidation is proceedingTrond Myklebust1-0/+3
2015-03-03NFS: Fix a regression in the read() syscallTrond Myklebust1-2/+2
2015-03-01NFS: Ensure that buffered writes wait for O_DIRECT writes to completeTrond Myklebust1-0/+4
2015-02-10mm: drop vm_ops->remap_pages and generic_file_remap_pages() stubKirill A. Shutemov1-1/+0
2014-10-18Merge branch 'for-3.18/core' of git://git.kernel.dk/linux-blockLinus Torvalds1-2/+2
2014-10-14block: Remove REQ_KERNELMartin K. Petersen1-2/+2
2014-10-11Merge tag 'locks-v3.18-1' of git://git.samba.org/jlayton/linuxLinus Torvalds1-12/+1
2014-09-25NFS/SUNRPC: Remove other deadlock-avoidance mechanisms in nfs_release_page()NeilBrown1-8/+6
2014-09-25NFS: avoid waiting at all in nfs_release_page when congested.NeilBrown1-2/+7
2014-09-25NFS: avoid deadlocks with loop-back mounted NFS filesystems.NeilBrown1-10/+16
2014-09-10nfs: fix RCU cl_xprt handling in nfs_swap_activate/deactivateJeff Layton1-2/+14
2014-09-10pnfs: add flag to force read-modify-write in ->write_beginChristoph Hellwig1-0/+7
2014-09-09locks: consolidate "nolease" routinesJeff Layton1-12/+1
2014-07-16sched: Remove proliferation of wait_on_bit() action functionsNeilBrown1-2/+2
2014-06-12Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-48/+17
2014-06-12nfs: switch to iter_splice_write_file()Al Viro1-31/+1
2014-06-02locks: ensure that fl_owner is always initialized properly in flock and lease...Jeff Layton1-4/+0
2014-05-06nfs: switch to ->write_iter()Al Viro1-9/+7
2014-05-06nfs: switch to ->read_iter()Al Viro1-11/+6
2014-05-06start adding the tag to iov_iterAl Viro1-2/+2
2014-05-06new helper: generic_file_read_iter()Al Viro1-1/+1
2014-05-06convert the guts of nfs_direct_IO() to iov_iterAl Viro1-6/+12
2014-04-07mm: implement ->map_pages for page cacheKirill A. Shutemov1-0/+1
2014-01-05NFS: dprintk() should not print negative fileids and inode numbersNiels de Vos1-3/+3
2013-10-24nfs: use %p[dD] instead of open-coded (and often racy) equivalentsAl Viro1-74/+43
2013-09-03NFS avoid expired credential keys for buffered writesAndy Adamson1-1/+14
2013-08-22NFS: Add event tracing for generic NFS eventsTrond Myklebust1-0/+5
2013-07-03fs: nfs: inform the VM about pages being committed or unstableMel Gorman1-0/+30
2013-05-21mm: change invalidatepage prototype to accept lengthLukas Czerner1-3/+5
2013-04-08NFS: Ensure that NFS file unlock waits for readahead to completeTrond Myklebust1-0/+9
2013-02-22new helper: file_inode(file)Al Viro1-1/+1
2012-12-17lseek: the "whence" argument is called "whence"Andrew Morton1-5/+5
2012-10-10Merge tag 'nfs-for-3.7-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-12/+29
2012-10-09mm: kill vma flag VM_CAN_NONLINEARKonstantin Khlebnikov1-0/+1
2012-09-28NFS: Write the entire file if a server reboot occurs during fsync()Trond Myklebust1-0/+7
2012-09-28NFS: Fix fdatasync/fsync() when confronted with a server rebootTrond Myklebust1-12/+22
2012-09-11NFS: fsync() must exit with an error if page writeback failedTrond Myklebust1-1/+3
2012-07-31Merge branch 'akpm' (Andrew's patch-bomb)Linus Torvalds1-5/+23
2012-07-31nfs: enable swap on NFSMel Gorman1-2/+20
2012-07-31nfs: teach the NFS client how to treat PG_swapcache pagesMel Gorman1-3/+3
2012-07-31nfs: explicitly reject LOCK_MAND flock() requestsJeff Layton1-0/+9
2012-07-30NFS: Convert v4 into a moduleBryan Schumaker1-0/+13
2012-07-30NFS: Convert v2 into a moduleBryan Schumaker1-0/+2
2012-07-30nfs: skip commit in releasepage if we're freeing memory for fs-related reasonsJeff Layton1-2/+5
2012-07-17NFS: Split out NFS v4 file operationsBryan Schumaker1-135/+16
2012-07-17NFS: Split out NFS v3 inode operationsBryan Schumaker1-12/+0
2012-07-17NFS: Split out NFS v2 inode operationsBryan Schumaker1-6/+0
2012-06-29NFS: Create a have_delegation rpc_opBryan Schumaker1-3/+3
2012-06-29NFS: Create a v4-specific fsync functionBryan Schumaker1-8/+32
2012-06-01nfs: don't open in ->d_revalidateMiklos Szeredi1-4/+73
2012-05-24NFSv4.1 add nfs_inode book keeping for mdsthresholdAndy Adamson1-0/+1
2012-05-08NFS: Don't do a full flush to disk on close() if we hold a delegationTrond Myklebust1-0/+7
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-01-31NFS: Ensure that mmapped pages remain stable during writebackTrond Myklebust1-0/+2
2012-01-05NFS - fix recent breakage to NFS error handling.NeilBrown1-2/+2
2011-12-15NFS: Fix a regression in nfs_file_llseek()Trond Myklebust1-1/+1
2011-11-04nfs: move nfs_file_operations declaration to bottom of file.c (try #2)Jeff Layton1-40/+19
2011-11-04nfs: when attempting to open a directory, fall back on normal lookup (try #5)Jeff Layton1-0/+32
2011-11-02Merge branch 'osd-devel' into nfs-for-nextTrond Myklebust1-8/+2
2011-11-02nfs: Fix unused variable warning from file.cRakib Mullick1-6/+3
2011-10-28nfs: drop unnecessary locking in llseekAndi Kleen1-9/+2
2011-10-28vfs: do (nearly) lockless generic_file_llseekAndi Kleen1-2/+3
2011-07-20fs: push i_mutex and filemap_write_and_wait down into ->fsync() handlersJosef Bacik1-3/+8
2011-07-20fs: handle SEEK_HOLE/SEEK_DATA properly in all fs's that define their own llseekJosef Bacik1-2/+5
2011-03-31Fix common misspellingsLucas De Marchi1-1/+1