aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_file.c
AgeCommit message (Expand)AuthorFilesLines
2025-11-05xfs: support sub-block aligned vectors in always COW modeChristoph Hellwig1-10/+11
2025-11-05xfs: error tag to force zeroing on debug kernelsBrian Foster1-7/+22
2025-09-23xfs: rework datasync tracking and executionDave Chinner1-41/+34
2025-08-11xfs: disallow atomic writes on DAXJohn Garry1-3/+3
2025-07-31Merge tag 'mm-stable-2025-07-30-15-25' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+1
2025-07-28Merge tag 'vfs-6.17-rc1.iomap' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-2/+4
2025-07-28Merge tag 'vfs-6.17-rc1.mmap_prepare' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-7/+8
2025-07-24xfs: stop passing an inode to the zone space reservation helpersChristoph Hellwig1-12/+12
2025-07-14iomap: replace iomap_folio_ops with iomap_write_opsChristoph Hellwig1-2/+4
2025-07-09mm: remove callers of pfn_t functionalityAlistair Popple1-1/+1
2025-07-08xfs: rename the bt_bdev_* buftarg fieldsChristoph Hellwig1-1/+1
2025-06-30xfs: add FALLOC_FL_ALLOCATE_RANGE to supported flags maskYouling Tang1-3/+4
2025-06-17fs/xfs: transition from deprecated .mmap hook to .mmap_prepareLorenzo Stoakes1-7/+7
2025-06-17fs/dax: make it possible to check dev dax support without a VMALorenzo Stoakes1-1/+2
2025-05-07xfs: update atomic write limitsJohn Garry1-1/+1
2025-05-07xfs: add xfs_file_dio_write_atomic()John Garry1-0/+68
2025-05-07xfs: commit CoW-based atomic writes atomicallyJohn Garry1-1/+4
2025-05-07xfs: refine atomic write size check in xfs_file_write_iter()John Garry1-7/+5
2025-05-07xfs: rename xfs_inode_can_atomicwrite() -> xfs_inode_can_hw_atomic_write()John Garry1-1/+1
2025-03-18Merge branch 'xfs-6.15-zoned_devices' into XFS-for-linus-6.15-mergeCarlos Maiolino1-39/+312
2025-03-13Revert "xfs: add pre-content fsnotify hook for DAX faults"Amir Goldstein1-13/+0
2025-03-03xfs: implement direct writes to zoned RT devicesChristoph Hellwig1-8/+72
2025-03-03xfs: implement buffered writes to zoned RT devicesChristoph Hellwig1-25/+216
2025-03-03xfs: don't call xfs_can_free_eofblocks from ->release for zoned inodesChristoph Hellwig1-4/+11
2025-03-03xfs: allow internal RT devices for zoned modeChristoph Hellwig1-1/+1
2025-03-03xfs: refine the unaligned check for always COW inodes in xfs_file_dio_writeChristoph Hellwig1-1/+10
2025-02-27xfs: flag as supporting FOP_DONTCACHEJens Axboe1-1/+2
2025-02-06iomap: pass private data to iomap_page_mkwriteChristoph Hellwig1-1/+2
2025-01-23Merge tag 'fsnotify_hsm_for_v6.14-rc1' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-0/+13
2024-12-12xfs: don't drop errno values when we fail to ficlone the entire rangeDarrick J. Wong1-0/+8
2024-12-11xfs: add pre-content fsnotify hook for DAX faultsJosef Bacik1-0/+13
2024-11-21Merge tag 'xfs-6.13-merge-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-36/+30
2024-11-18Merge tag 'vfs-6.13.untorn.writes' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-0/+16
2024-11-05xfs: remove xfs_page_mkwrite_iomap_opsChristoph Hellwig1-1/+1
2024-11-05xfs: remove __xfs_filemap_faultChristoph Hellwig1-18/+11
2024-11-05xfs: split write fault handling out of __xfs_filemap_faultChristoph Hellwig1-22/+19
2024-11-05xfs: split the page fault trace eventChristoph Hellwig1-2/+6
2024-11-04xfs: Support setting FMODE_CAN_ATOMIC_WRITEJohn Garry1-0/+2
2024-11-04xfs: Validate atomic writesJohn Garry1-0/+14
2024-10-15xfs: take XFS_MMAPLOCK_EXCL xfs_file_write_zero_eofChristoph Hellwig1-1/+7
2024-10-15xfs: factor out a xfs_file_write_zero_eof helperChristoph Hellwig1-58/+82
2024-09-20Merge tag 'vfs-6.12.blocksize' of gitolite.kernel.org:pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2024-09-19Merge tag 'xfs-6.12-merge-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-3/+69
2024-09-03iomap: add a private argument for iomap_file_buffered_writeJosef Bacik1-1/+1
2024-09-03xfs: reclaim speculative preallocations for append only filesChristoph Hellwig1-0/+4
2024-09-03xfs: check XFS_EOFBLOCKS_RELEASED earlier in xfs_release_eofblocksChristoph Hellwig1-3/+2
2024-09-03xfs: only free posteof blocks on first closeDarrick J. Wong1-21/+11
2024-09-03xfs: don't free post-EOF blocks on read closeDave Chinner1-1/+7
2024-09-03xfs: skip all of xfs_file_release when shut downChristoph Hellwig1-4/+6
2024-09-03xfs: don't bother returning errors from xfs_file_releaseChristoph Hellwig1-9/+9
2024-09-03xfs: refactor f_op->release handlingChristoph Hellwig1-3/+68
2024-08-28xfs: refactor xfs_file_fallocateChristoph Hellwig1-122/+208
2024-08-28xfs: move the xfs_is_always_cow_inode check into xfs_alloc_file_spaceChristoph Hellwig1-5/+3
2024-08-28xfs: call xfs_flush_unmap_range from xfs_free_file_spaceChristoph Hellwig1-21/+0
2024-07-01xfs: fold xfs_ilock_for_write_fault into xfs_write_faultChristoph Hellwig1-18/+15
2024-07-01xfs: always take XFS_MMAPLOCK shared in xfs_dax_read_faultChristoph Hellwig1-3/+2
2024-07-01xfs: refactor __xfs_filemap_faultChristoph Hellwig1-26/+45
2024-07-01xfs: simplify xfs_dax_faultChristoph Hellwig1-21/+13
2024-07-01xfs: cleanup xfs_ilock_iocb_for_writeChristoph Hellwig1-7/+11
2024-05-20Merge tag 'xfs-6.10-merge-6' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-82/+8
2024-04-24xfs: don't call xfs_file_open from xfs_dir_openChristoph Hellwig1-1/+3
2024-04-24xfs: drop fop_flags for directoriesChristoph Hellwig1-2/+0
2024-04-24xfs: fix overly long line in the file_operationsChristoph Hellwig1-4/+4
2024-04-15xfs: refactor non-power-of-two alignment checksDarrick J. Wong1-9/+3
2024-04-15xfs: create a new helper to return a file's allocation unitDarrick J. Wong1-20/+12
2024-04-15xfs: declare xfs_file.c symbols in xfs_file.hDarrick J. Wong1-0/+1
2024-04-15xfs: move inode lease breaking functions to xfs_inode.cDarrick J. Wong1-61/+0
2024-04-07fs: claw back a few FMODE_* bitsChristian Brauner1-3/+5
2024-02-19xfs: Replace xfs_isilocked with xfs_assert_ilockedMatthew Wilcox (Oracle)1-2/+2
2023-10-23xfs: allow read IO and FICLONE to run concurrentlyCatherine Hoang1-13/+50
2023-08-24mm: remove enum page_entry_sizeMatthew Wilcox (Oracle)1-12/+12
2023-06-29Merge tag 'xfs-6.5-merge-2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-1/+1
2023-06-28Merge tag 'mm-stable-2023-06-24-19-15' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-6/+0
2023-06-12xfs: set FMODE_CAN_ODIRECT instead of a dummy direct_IO methodChristoph Hellwig1-1/+1
2023-06-09iomap: update ki_pos in iomap_file_buffered_writeChristoph Hellwig1-2/+0
2023-06-09backing_dev: remove current->backing_dev_infoChristoph Hellwig1-4/+0
2023-05-24xfs: Provide a splice-read wrapperDavid Howells1-1/+29
2023-04-27Merge tag 'mm-stable-2023-04-27-15-30' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-16/+1
2023-04-05xfs: remove xfs_filemap_map_pages() wrapperMatthew Wilcox (Oracle)1-16/+1
2023-04-03fs: add FMODE_DIO_PARALLEL_WRITE flagJens Axboe1-1/+2
2023-02-23Merge tag 'mm-stable-2023-02-20-13-37' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+1
2023-02-09mm: replace vma->vm_flags direct modifications with modifier callsSuren Baghdasaryan1-1/+1
2023-01-19fs: port ->setattr() to pass mnt_idmapChristian Brauner1-1/+1
2022-11-07xfs: write page faults in iomap are not buffered writesDave Chinner1-1/+1
2022-10-31xfs: fix incorrect return type for fsdax fault handlersDarrick J. Wong1-3/+4
2022-08-13Merge tag 'xfs-5.20-merge-8' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-8/+14
2022-08-05xfs: check return codes when flushing block devicesDarrick J. Wong1-8/+14
2022-08-05Merge tag 'mm-stable-2022-08-03' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-6/+29
2022-07-24xfs: Add async buffered write supportStefan Roesch1-6/+5
2022-07-17xfs: add dax dedupe supportShiyang Ruan1-1/+1
2022-07-17xfs: support CoW in fsdax modeShiyang Ruan1-5/+28
2022-06-01Merge tag 'xfs-5.19-for-linus-2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-l...Linus Torvalds1-1/+1
2022-05-25Merge tag 'xfs-5.19-for-linus' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-15/+9
2022-05-22xfs: reduce IOCB_NOWAIT judgment for retry exclusive unaligned DIOKaixu Xia1-1/+1
2022-05-16iomap: add per-iomap_iter private dataChristoph Hellwig1-3/+3
2022-04-21Merge branch 'guilt/xfs-unsigned-flags-5.18' into xfs-5.19-for-nextDave Chinner1-6/+6
2022-04-21xfs: convert inode lock flags to unsigned.Dave Chinner1-6/+6
2022-04-21xfs: simplify local variable assignment in file write codeKaixu Xia1-6/+2
2022-04-12xfs: Use generic_file_open()Matthew Wilcox (Oracle)1-3/+1
2022-02-01xfs: ensure log flush at the end of a synchronous fallocate callDave Chinner1-16/+16
2022-02-01xfs: move xfs_update_prealloc_flags() to xfs_pnfs.cDave Chinner1-32/+0
2022-02-01xfs: set prealloc flag in xfs_alloc_file_space()Dave Chinner1-8/+0
2022-02-01xfs: fallocate() should call file_modified()Dave Chinner1-4/+9
2022-02-01xfs: remove XFS_PREALLOC_SYNCDave Chinner1-6/+7
2022-01-21Merge tag 'xfs-5.17-merge-5' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-2/+1
2022-01-17xfs: kill the XFS_IOC_{ALLOC,FREE}SP* ioctlsDarrick J. Wong1-2/+1
2021-12-04xfs: add xfs_zero_range and xfs_truncate_page helpersShiyang Ruan1-2/+1
2021-11-02Merge tag 'gfs2-v5.15-rc5-mmap-fault' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-3/+3
2021-10-24iomap: Add done_before argument to iomap_dio_rwAndreas Gruenbacher1-3/+3
2021-10-18block: switch polling to be bio basedChristoph Hellwig1-1/+1
2021-09-02Merge tag 'xfs-5.15-merge-6' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-9/+9
2021-08-19xfs: replace XFS_FORCED_SHUTDOWN with xfs_is_shutdownDave Chinner1-7/+7
2021-08-19xfs: convert mount flags to featuresDave Chinner1-1/+1
2021-08-19xfs: replace xfs_sb_version checks with feature flag checksDave Chinner1-1/+1
2021-07-13xfs: Convert to use invalidate_lockJan Kara1-5/+8
2021-07-02Merge tag 'xfs-5.14-merge-6' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-25/+45
2021-06-21xfs: xfs_log_force_lsn isn't passed a LSNDave Chinner1-7/+7
2021-06-21xfs: remove xfs_blkdev_issue_flushDave Chinner1-3/+3
2021-06-08xfs: rename struct xfs_eofblocks to xfs_icwalkDarrick J. Wong1-3/+3
2021-06-08xfs: change the prefix of XFS_EOF_FLAGS_* to XFS_ICWALK_FLAG_Darrick J. Wong1-2/+2
2021-06-02xfs: don't take a spinlock unconditionally in the DIO fastpathDave Chinner1-11/+31
2021-05-26xfs: Fix fall-through warnings for ClangGustavo A. R. Silva1-1/+1
2021-04-07xfs: move the di_flags2 field to struct xfs_inodeChristoph Hellwig1-2/+2
2021-04-07xfs: move the di_flags field to struct xfs_inodeChristoph Hellwig1-2/+2
2021-04-07xfs: move the di_cowextsize field to struct xfs_inodeChristoph Hellwig1-1/+1
2021-04-07xfs: move the di_size field to struct xfs_inodeChristoph Hellwig1-1/+1
2021-02-23Merge tag 'idmapped-mounts-v5.12' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+3
2021-02-21Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/a...Linus Torvalds1-2/+4
2021-02-21Merge tag 'xfs-5.12-merge-5' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-49/+65
2021-02-03xfs: refactor xfs_icache_free_{eof,cow}blocks call sitesDarrick J. Wong1-2/+1
2021-02-03xfs: pass flags and return gc errors from xfs_blockgc_free_quotaDarrick J. Wong1-5/+5
2021-02-03xfs: move and rename xfs_inode_free_quota_blocks to avoid conflictsDarrick J. Wong1-1/+1
2021-02-03xfs: trigger all block gc scans when low on quota spaceDarrick J. Wong1-9/+6
2021-02-01xfs: reduce exclusive locking on unaligned dioDave Chinner1-13/+45
2021-02-01xfs: split the unaligned DIO write code outDave Chinner1-85/+85
2021-02-01xfs: improve the reflink_bounce_dio_write tracepointChristoph Hellwig1-1/+1
2021-02-01xfs: simplify the read/write tracepointsChristoph Hellwig1-12/+8
2021-02-01xfs: remove the buffered I/O fallback assertChristoph Hellwig1-6/+0
2021-02-01xfs: cleanup the read/write helper namingChristoph Hellwig1-15/+15
2021-02-01xfs: make xfs_file_aio_write_checks IOCB_NOWAIT-awareChristoph Hellwig1-4/+21
2021-02-01xfs: factor out a xfs_ilock_iocb helperChristoph Hellwig1-26/+29
2021-01-24xfs: support idmapped mountsChristoph Hellwig1-1/+3
2021-01-23iomap: pass a flags argument to iomap_dio_rwChristoph Hellwig1-3/+2
2021-01-22xfs: reduce ilock acquisitions in xfs_file_fsyncChristoph Hellwig1-1/+8
2021-01-22xfs: refactor xfs_file_fsyncChristoph Hellwig1-31/+50
2021-01-22xfs: remove a stale comment from xfs_file_aio_write_checks()Eric Biggers1-6/+0
2021-01-20mm: Cleanup faultaround and finish_fault() codepathsKirill A. Shutemov1-2/+4
2020-10-21xfs: fix fallocate functions when rtextsize is larger than 1Darrick J. Wong1-5/+35
2020-09-15xfs: force the log after remapping a synchronous-writes fileDarrick J. Wong1-1/+16
2020-09-05xfs: don't update mtime on COW faultsMikulas Patocka1-2/+10
2020-08-07Merge tag 'xfs-5.9-merge-7' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-6/+22
2020-08-06Merge tag 'iomap-5.9-merge-5' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-4/+4
2020-08-05iomap: fall back to buffered writes for invalidation failuresChristoph Hellwig1-2/+2
2020-08-05xfs: use ENOTBLK for direct I/O to buffered I/O fallbackChristoph Hellwig1-2/+2
2020-07-06xfs: add an inode item lockDave Chinner1-3/+6
2020-07-06xfs: use MMAPLOCK around filemap_map_pages()Dave Chinner1-1/+14
2020-07-06xfs: move helpers that lock and unlock two inodes against userspace IODarrick J. Wong1-1/+1
2020-07-06xfs: refactor locking and unlocking two inodes against userspace IODarrick J. Wong1-1/+1
2020-07-06xfs: fix xfs_reflink_remap_prep calling conventionsDarrick J. Wong1-1/+1
2020-06-21xfs: flag files as supporting buffered async readsJens Axboe1-1/+1
2020-06-09mmap locking API: convert mmap_sem commentsMichel Lespinasse1-1/+1
2020-05-19xfs: move the per-fork nextents fields into struct xfs_iforkChristoph Hellwig1-1/+1
2020-04-06xfs: reflink should force the log out if mounted with wsyncChristoph Hellwig1-0/+4
2020-04-06xfs: factor out a new xfs_log_force_inode helperChristoph Hellwig1-11/+1
2020-01-15xfs: fix IOCB_NOWAIT handling in xfs_file_dio_aio_readChristoph Hellwig1-1/+6
2019-11-22xfs: remove the mappedbno argument to xfs_da_reada_bufChristoph Hellwig1-1/+1
2019-10-31xfs: properly serialise fallocate against AIO+DIODave Chinner1-0/+30
2019-10-28xfs: consolidate preallocation in xfs_file_fallocateChristoph Hellwig1-8/+24
2019-10-28xfs: use xfs_inode_buftarg in xfs_file_dio_aio_writeChristoph Hellwig1-2/+1
2019-10-28xfs: add a xfs_inode_buftarg helperChristoph Hellwig1-7/+7
2019-10-21xfs: split the iomap ops for buffered vs direct writesChristoph Hellwig1-6/+10
2019-10-21xfs: split out a new set of read-only iomap opsChristoph Hellwig1-3/+6
2019-10-15xfs: Use iomap_dio_rw to wait for unaligned direct IOJan Kara1-8/+4
2019-10-15iomap: Allow forcing of waiting for running DIO in iomap_dio_rw()Jan Kara1-2/+3
2019-09-25Merge tag 'iomap-5.4-merge-6' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-4/+10
2019-09-19iomap: move the iomap_dio_rw ->end_io callback into a structureChristoph Hellwig1-1/+5
2019-09-19iomap: split size and error for iomap_dio_rw ->end_ioMatthew Bobrowski1-3/+5
2019-08-30xfs: Fix stale data exposure when readahead races with hole punchJan Kara1-0/+26
2019-07-18Merge tag 'libnvdimm-for-5.3' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-3/+6
2019-07-05xfs: disable map_sync for async flushPankaj Gupta1-3/+6
2019-06-30xfs: remove XFS_TRANS_NOFSChristoph Hellwig1-3/+15
2019-06-28xfs: remove unused header filesEric Sandeen1-5/+0
2019-06-09xfs: use file_modified() helperAmir Goldstein1-14/+1
2019-04-23xfs: abort unaligned nowait directio earlyDarrick J. Wong1-3/+3
2019-03-26xfs: serialize unaligned dio writes against all other dio writesBrian Foster1-10/+17
2019-03-08Merge tag 'for-5.1/block-20190302' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+1
2019-02-24iomap: wire up the iopoll methodChristoph Hellwig1-0/+1
2019-02-21xfs: introduce an always_cow modeChristoph Hellwig1-7/+20
2019-02-21xfs: fix SEEK_DATA for speculative COW fork preallocationChristoph Hellwig1-2/+2
2018-11-19xfs: make xfs_file_remap_range() staticEric Biggers1-1/+1
2018-10-30xfs: remove xfs_reflink_remap_rangeDarrick J. Wong1-9/+56
2018-10-30xfs: support returning partial reflink resultsDarrick J. Wong1-4/+1
2018-10-30vfs: make remap_file_range functions take and return bytes completedDarrick J. Wong1-3/+6
2018-10-30vfs: pass remap flags to generic_remap_file_range_prepDarrick J. Wong1-1/+1
2018-10-30vfs: combine the clone and dedupe into a single remap_file_rangeDarrick J. Wong1-16/+7
2018-08-21Merge tag 'ovl-update-4.19' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-22/+7
2018-08-17dax: remove VM_MIXEDMAP for fsdax and device daxDave Jiang1-1/+1
2018-08-12xfs: Close race between direct IO and xfs_break_layouts()Dave Jiang1-5/+4
2018-07-11xfs: remove unused iolock arg from xfs_break_dax_layoutsEric Sandeen1-2/+1
2018-07-06vfs: dedupe: rationalize argsMiklos Szeredi1-6/+6