aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_iomap.c
AgeCommit message (Expand)AuthorFilesLines
2024-02-22xfs: report block map corruption errors to the health tracking systemDarrick J. Wong1-3/+12
2024-02-21xfs: fix SEEK_HOLE/DATA for regions with active COW extentsDave Chinner1-2/+2
2023-05-02xfs: don't allocate into the data fork for an unshare requestDarrick J. Wong1-2/+3
2023-03-24xfs: pass the correct cursor to xfs_iomap_prealloc_sizeDarrick J. Wong1-1/+4
2023-01-18iomap: Rename page_ops to folio_opsAndreas Gruenbacher1-2/+2
2022-12-26xfs: make xfs_iomap_page_ops staticDarrick J. Wong1-1/+1
2022-12-14Merge tag 'xfs-6.2-merge-8' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-71/+114
2022-12-11xfs: use dax ops for zero and truncate in fsdax modeShiyang Ruan1-2/+2
2022-12-11fsdax,xfs: set the shared flag when file extent is sharedShiyang Ruan1-1/+1
2022-12-04xfs: Remove duplicated include in xfs_iomap.cYang Li1-2/+0
2022-11-30xfs: attach dquots to inode before reading data/cow fork mappingsDarrick J. Wong1-4/+4
2022-11-28xfs: add debug knob to slow down write for funDarrick J. Wong1-2/+12
2022-11-29xfs: drop write error injection is unfixable, remove itDave Chinner1-9/+0
2022-11-29xfs: use iomap_valid method to detect stale cached iomapsDave Chinner1-20/+75
2022-11-29xfs: xfs_bmap_punch_delalloc_range() should take a byte rangeDave Chinner1-6/+2
2022-11-23xfs,iomap: move delalloc punching to iomapDave Chinner1-39/+8
2022-11-23xfs: use byte ranges for write cleanup rangesDave Chinner1-15/+25
2022-11-23xfs: punching delalloc extents on write failure is racyDave Chinner1-18/+23
2022-11-07xfs: write page faults in iomap are not buffered writesDave Chinner1-0/+9
2022-08-05Merge tag 'mm-stable-2022-08-03' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+29
2022-08-04Merge tag 'xfs-5.20-merge-6' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-4/+4
2022-07-24xfs: Add async buffered write supportStefan Roesch1-1/+4
2022-07-24xfs: Specify lockmode when calling xfs_ilock_for_iomap()Stefan Roesch1-3/+3
2022-07-17xfs: support CoW in fsdax modeShiyang Ruan1-1/+29
2022-07-12xfs: replace XFS_IFORK_Q with a proper predicate functionDarrick J. Wong1-1/+1
2022-07-09xfs: make inode attribute forks a permanent part of struct xfs_inodeDarrick J. Wong1-2/+2
2022-07-09xfs: convert XFS_IFORK_PTR to a static inline helperDarrick J. Wong1-2/+2
2022-04-13xfs: Conditionally upgrade existing inodes to use large extent countersChandan Babu R1-0/+5
2022-04-11xfs: Define max extent length based on on-disk format definitionChandan Babu R1-14/+14
2021-12-04fsdax: shift partition offset handling into the file systemsChristoph Hellwig1-2/+8
2021-12-04iomap: add a IOMAP_DAX flagChristoph Hellwig1-3/+4
2021-12-04xfs: pass the mapping flags to xfs_bmbt_to_iomapChristoph Hellwig1-15/+20
2021-12-04xfs: use xfs_direct_write_iomap_ops for DAX zeroingChristoph Hellwig1-2/+2
2021-12-04fsdax: decouple zeroing from the iomap buffered I/O codeChristoph Hellwig1-1/+6
2021-12-04xfs: add xfs_zero_range and xfs_truncate_page helpersShiyang Ruan1-0/+25
2021-08-23xfs: only set IOMAP_F_SHARED when providing a srcmap to a writeDarrick J. Wong1-4/+4
2021-08-19xfs: replace XFS_FORCED_SHUTDOWN with xfs_is_shutdownDave Chinner1-6/+6
2021-08-19xfs: convert mount flags to featuresDave Chinner1-2/+2
2021-05-26xfs: Fix fall-through warnings for ClangGustavo A. R. Silva1-1/+1
2021-04-15xfs: remove XFS_IFEXTENTSChristoph Hellwig1-2/+2
2021-04-15xfs: move the XFS_IFEXTENTS check into xfs_iread_extentsChristoph Hellwig1-10/+6
2021-04-07xfs: move the di_size field to struct xfs_inodeChristoph Hellwig1-1/+1
2021-04-07xfs: Fix dax inode extent calculation when direct write is performed on an un...Chandan Babu R1-2/+3
2021-02-21Merge tag 'xfs-5.12-merge-5' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-30/+23
2021-02-10xfs: restore shutdown check in mapped write fault pathBrian Foster1-0/+3
2021-02-03xfs: refactor reflink functions to use xfs_trans_alloc_inodeDarrick J. Wong1-1/+2
2021-02-03xfs: allow reservation of rtblocks with xfs_trans_alloc_inodeDarrick J. Wong1-17/+5
2021-02-03xfs: refactor common transaction/inode/quota allocation idiomDarrick J. Wong1-9/+2
2021-02-03xfs: reserve data and rt quota at the same timeDarrick J. Wong1-13/+13
2021-02-03xfs: remove xfs_trans_unreserve_quota_nblks completelyDarrick J. Wong1-4/+2
2021-02-03xfs: reduce quota reservation when doing a dax unwritten extent conversionDarrick J. Wong1-1/+1
2021-02-01xfs: reduce exclusive locking on unaligned dioDave Chinner1-8/+21
2021-01-22xfs: Check for extent overflow when writing to unwritten extentChandan Babu R1-0/+5
2021-01-22xfs: Check for extent overflow when trivally adding a new extentChandan Babu R1-0/+5
2020-11-19xfs: don't allow NOWAIT DIO across extent boundariesDave Chinner1-0/+29
2020-08-05xfs: delete duplicated words + other fixesRandy Dunlap1-1/+1
2020-07-28xfs: create xfs_dqtype_t to represent quota typesDarrick J. Wong1-12/+12
2020-07-28xfs: rename XFS_DQ_{USER,GROUP,PROJ} to XFS_DQTYPE_*Darrick J. Wong1-6/+6
2020-07-28xfs: use a per-resource struct for incore dquot dataDarrick J. Wong1-3/+3
2020-05-27xfs: refactor xfs_iomap_prealloc_sizeDarrick J. Wong1-48/+35
2020-05-27xfs: measure all contiguous previous extents for prealloc sizeDarrick J. Wong1-13/+27
2020-05-27xfs: don't fail unwritten extent conversion on writeback due to edquotDarrick J. Wong1-1/+1
2020-05-19xfs: move the fork format fields into struct xfs_iforkChristoph Hellwig1-2/+2
2020-05-19xfs: move the per-fork nextents fields into struct xfs_iforkChristoph Hellwig1-1/+1
2020-01-20xfs: change return value of xfs_inode_need_cow to intzhengbin1-1/+1
2019-11-13xfs: convert open coded corruption check to use XFS_IS_CORRUPTDarrick J. Wong1-4/+2
2019-11-11xfs: attach dquots and reserve quota blocks during unwritten conversionDarrick J. Wong1-0/+10
2019-11-10xfs: refactor "does this fork map blocks" predicateDarrick J. Wong1-2/+1
2019-11-03xfs: simplify the xfs_iomap_write_direct callingChristoph Hellwig1-53/+29
2019-11-03xfs: remove the extsize argument to xfs_eof_alignmentChristoph Hellwig1-15/+13
2019-11-03xfs: mark xfs_eof_alignment staticChristoph Hellwig1-1/+1
2019-11-03xfs: simplify xfs_iomap_eof_align_last_fsbChristoph Hellwig1-25/+22
2019-10-29xfs: rename the XFS_MOUNT_DFLT_IOSIZE option toChristoph Hellwig1-2/+2
2019-10-29xfs: rename the m_writeio_* fields in struct xfs_mountChristoph Hellwig1-8/+8
2019-10-28xfs: add a xfs_inode_buftarg helperChristoph Hellwig1-4/+7
2019-10-23xfs: don't set bmapi total block req where minleft isBrian Foster1-2/+2
2019-10-21xfs: improve the IOMAP_NOWAIT check for COW inodesChristoph Hellwig1-18/+5
2019-10-21xfs: cleanup xfs_direct_write_iomap_beginChristoph Hellwig1-42/+46
2019-10-21xfs: rename the whichfork variable in xfs_buffered_write_iomap_beginChristoph Hellwig1-11/+11
2019-10-21xfs: split the iomap ops for buffered vs direct writesChristoph Hellwig1-40/+21
2019-10-21xfs: move xfs_file_iomap_begin_delay aroundChristoph Hellwig1-213/+221
2019-10-21xfs: split out a new set of read-only iomap opsChristoph Hellwig1-16/+47
2019-10-21xfs: factor out a helper to calculate the end_fsbChristoph Hellwig1-20/+20
2019-10-21xfs: fill out the srcmap in iomap_beginChristoph Hellwig1-25/+24
2019-10-21xfs: refactor xfs_file_iomap_begin_delayChristoph Hellwig1-24/+24
2019-10-21xfs: pass two imaps to xfs_reflink_allocate_cowChristoph Hellwig1-4/+4
2019-10-21xfs: also call xfs_file_iomap_end_delalloc for zeroing operationsChristoph Hellwig1-1/+2
2019-10-21iomap: use a srcmap for a read-modify-write I/OGoldwyn Rodrigues1-3/+6
2019-10-21xfs: set IOMAP_F_NEW more carefullyChristoph Hellwig1-3/+6
2019-10-21xfs: initialize iomap->flags in xfs_bmbt_to_iomapChristoph Hellwig1-12/+18
2019-10-17iomap: iomap that extends beyond EOF should be marked dirtyDave Chinner1-0/+7
2019-09-03xfs: add a xfs_valid_startblock helperChristoph Hellwig1-3/+3
2019-06-30xfs: remove XFS_TRANS_NOFSChristoph Hellwig1-1/+1
2019-06-28xfs: remove unused header filesEric Sandeen1-3/+0
2019-02-25xfs: rework breaking of shared extents in xfs_file_iomap_beginDarrick J. Wong1-5/+7
2019-02-25xfs: don't pass iomap flags to xfs_reflink_allocate_cowDarrick J. Wong1-6/+7
2019-02-21xfs: introduce an always_cow modeChristoph Hellwig1-10/+18
2019-02-21xfs: report IOMAP_F_SHARED from xfs_file_iomap_begin_delayChristoph Hellwig1-3/+4
2019-02-21xfs: merge COW handling into xfs_file_iomap_begin_delayChristoph Hellwig1-39/+94
2019-02-21xfs: don't use delalloc extents for COW on files with extsize hintsChristoph Hellwig1-11/+18
2019-02-21xfs: fix SEEK_DATA for speculative COW fork preallocationChristoph Hellwig1-0/+86
2019-02-21xfs: make xfs_bmbt_to_iomap more usefulChristoph Hellwig1-46/+38
2019-02-17xfs: move xfs_iomap_write_allocate to xfs_aops.cChristoph Hellwig1-81/+0
2019-02-17xfs: move stat accounting to xfs_bmapi_convert_delallocChristoph Hellwig1-4/+0
2019-02-17xfs: move transaction handling to xfs_bmapi_convert_delallocChristoph Hellwig1-28/+4
2019-02-17xfs: remove the io_type field from the writeback context and ioendChristoph Hellwig1-4/+4
2019-02-11xfs: use the latest extent at writeback delalloc conversion timeBrian Foster1-113/+57
2019-02-11xfs: validate writeback mapping using data fork seq counterBrian Foster1-3/+2
2018-10-18xfs: remove the unused trimmed argument from xfs_reflink_trim_around_sharedChristoph Hellwig1-3/+2
2018-10-18xfs: remove the unused shared argument to xfs_reflink_reserve_cowChristoph Hellwig1-4/+2
2018-10-18xfs: handle zeroing in xfs_file_iomap_begin_delayChristoph Hellwig1-6/+38
2018-08-07xfs: use WRITE_ONCE to update if_seqChristoph Hellwig1-1/+2
2018-08-02xfs: automatic dfops inode reloggingBrian Foster1-3/+0
2018-08-02xfs: add missing defer ijoins for held inodesBrian Foster1-0/+3
2018-07-31xfs: avoid COW fork extent lookups in writeback if the fork didn't changeChristoph Hellwig1-1/+4
2018-07-26xfs: remove all boilerplate defer init/finish codeBrian Foster1-24/+2
2018-07-11xfs: remove xfs_defer_init() firstblock paramBrian Foster1-3/+3
2018-07-11xfs: remove xfs_bmapi_write() firstblock paramBrian Foster1-6/+4
2018-07-11xfs: use ->t_firstblock for all xfs_bmapi_write() callersBrian Foster1-11/+9
2018-07-11xfs: refactor dfops init to attach to transactionBrian Foster1-6/+3
2018-07-11xfs: remove xfs_bmapi_write() dfops paramBrian Foster1-4/+3
2018-07-11xfs: use ->t_dfops for all xfs_bmapi_write() callersBrian Foster1-9/+12
2018-07-11xfs: update my copyrights for the writeback and iomap codeChristoph Hellwig1-1/+1
2018-07-11xfs: add support for sub-pagesize writeback without buffer_headsChristoph Hellwig1-3/+0
2018-07-11xfs: allow writeback on pages without buffer headsChristoph Hellwig1-1/+2
2018-07-11xfs: move locking into xfs_bmap_punch_delalloc_rangeChristoph Hellwig1-3/+0
2018-07-11Merge branch 'iomap-4.19-merge' into xfs-4.19-mergeDarrick J. Wong1-2/+4
2018-06-24xfs: recheck reflink state after grabbing ILOCK_SHARED for a writeDarrick J. Wong1-1/+14
2018-06-20iomap: add initial support for writes without buffer headsChristoph Hellwig1-2/+4
2018-06-08xfs: clean up MIN/MAXDave Chinner1-3/+3
2018-06-06xfs: convert to SPDX license tagsDave Chinner1-13/+1
2018-05-10xfs: split out dqget for inodes from regular dqgetDarrick J. Wong1-1/+1
2018-05-10xfs: remove unnecessary xfs_qm_dqattach parameterDarrick J. Wong1-2/+2
2018-05-09xfs: clean up locking in xfs_file_iomap_beginDave Chinner1-37/+61
2018-05-09xfs: simplify xfs_file_iomap_begin() logicDave Chinner1-36/+46
2018-03-01xfs: don't block on the ilock for RWF_NOWAITChristoph Hellwig1-8/+19
2018-03-01xfs: don't start out with the exclusive ilock for direct I/OChristoph Hellwig1-4/+2
2018-03-01xfs: don't allocate COW blocks for zeroing holes or unwritten extentsChristoph Hellwig1-1/+10
2018-01-02xfs: fix s_maxbytes overflow problemsDarrick J. Wong1-1/+1
2017-12-08xfs: make iomap_begin functions trim iomaps consistentlyDarrick J. Wong1-1/+1
2017-11-17Merge tag 'libnvdimm-for-4.15' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-0/+5
2017-11-14Merge tag 'xfs-4.15-merge-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-6/+9
2017-11-13fs, dax: unify IOMAP_F_DIRTY read vs write handling policy in the dax coreDan Williams1-2/+2
2017-11-06xfs: introduce the xfs_iext_cursor abstractionChristoph Hellwig1-6/+8
2017-11-03xfs: support for synchronous DAX faultsChristoph Hellwig1-0/+5
2017-11-01xfs: move error injection tags into their own fileDarrick J. Wong1-0/+1
2017-10-01iomap: Switch from blkno to disk offsetAndreas Gruenbacher1-3/+3
2017-09-26xfs: update i_size after unwritten conversion in dio completionEryu Guan1-2/+5
2017-09-11Merge tag 'libnvdimm-for-4.14' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-9/+1
2017-09-01xfs: remove unused flags arg from xfs_file_iomap_begin_delayEric Sandeen1-3/+1
2017-09-01xfs: remove the ip argument to xfs_defer_finishChristoph Hellwig1-3/+3
2017-08-31xfs: perform dax_device lookup at mountDan Williams1-9/+1
2017-07-10Merge tag 'xfs-4.13-merge-5' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-2/+2
2017-06-27xfs: convert drop_writes to use the errortag mechanismDarrick J. Wong1-1/+1
2017-06-27xfs: remove unneeded parameter from XFS_TEST_ERRORDarrick J. Wong1-1/+1
2017-06-20xfs: nowait aio supportGoldwyn Rodrigues1-0/+22
2017-05-13dax, xfs, ext4: compile out iomap-dax paths in the FS_DAX=n caseDan Williams1-2/+2
2017-05-06Merge tag 'xfs-4.12-merge-7' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-4/+4
2017-04-25ext2, ext4, xfs: retrieve dax_device for iomap operationsDan Williams1-0/+10
2017-04-06xfs: actually report xattr extents via iomapDarrick J. Wong1-2/+2
2017-04-03xfs: remove the ISUNWRITTEN macroChristoph Hellwig1-2/+2
2017-03-08xfs: use iomap new flag for newly allocated delalloc blocksBrian Foster1-7/+18
2017-02-16xfs: resurrect debug mode drop buffered writes mechanismBrian Foster1-0/+4
2017-02-16xfs: clear delalloc and cache on buffered write failureBrian Foster1-1/+12
2017-02-06xfs: allocate direct I/O COW blocks in iomap_beginChristoph Hellwig1-19/+12
2017-02-06xfs: introduce xfs_aligned_fsb_countChristoph Hellwig1-9/+2
2017-02-06xfs: reject all unaligned direct writes to reflinked filesChristoph Hellwig1-11/+1
2017-02-02xfs: mark speculative prealloc CoW fork extents unwrittenDarrick J. Wong1-1/+1
2017-01-30iomap: constify struct iomap_opsChristoph Hellwig1-2/+2
2017-01-23xfs: fix COW writeback raceChristoph Hellwig1-1/+1
2016-11-30xfs: use iomap_dio_rwChristoph Hellwig1-8/+42
2016-11-28xfs: pass post-eof speculative prealloc blocks to bmapiBrian Foster1-20/+13
2016-11-28xfs: track preallocation separately in xfs_bmapi_reserve_delalloc()Brian Foster1-1/+1
2016-11-24xfs: use new extent lookup helpers xfs_file_iomap_begin_delayChristoph Hellwig1-11/+9
2016-11-24xfs: remove prev argument to xfs_bmapi_reserve_delallocChristoph Hellwig1-2/+1
2016-10-20xfs: optimize writes to reflink filesChristoph Hellwig1-17/+39
2016-10-20xfs: don't bother looking at the refcount tree for readsChristoph Hellwig1-5/+8
2016-10-05xfs: create a separate cow extent size hint for the allocatorDarrick J. Wong1-1/+1
2016-10-05xfs: report shared extent mappings to userspace correctlyDarrick J. Wong1-1/+11
2016-10-04xfs: support allocating delayed extents in CoW forkDarrick J. Wong1-1/+6
2016-10-04xfs: create delalloc extents in CoW forkDarrick J. Wong1-2/+10
2016-10-04xfs: support bmapping delalloc extents in the CoW forkDarrick J. Wong1-1/+1
2016-09-19xfs: use iomap to implement DAXChristoph Hellwig1-4/+7
2016-09-19xfs: take the ilock shared if possible in xfs_file_iomap_beginChristoph Hellwig1-4/+6
2016-09-19iomap: add IOMAP_F_NEW flagChristoph Hellwig1-0/+1
2016-09-19xfs: rewrite and optimize the delalloc write pathChristoph Hellwig1-223/+172
2016-09-19xfs: factor our a helper to calculate the EOF alignmentChristoph Hellwig1-10/+21
2016-09-19xfs: move xfs_bmbt_to_iomap upChristoph Hellwig1-26/+26
2016-08-17Merge branch 'iomap-fixes-4.8-rc3' into for-nextDave Chinner1-10/+49
2016-08-17xfs: (re-)implement FIEMAP_FLAG_XATTRChristoph Hellwig1-0/+45
2016-08-17xfs: simplify xfs_file_iomap_beginChristoph Hellwig1-10/+4
2016-08-17xfs: fix bogus space reservation in xfs_iomap_write_allocateChristoph Hellwig1-3/+7
2016-08-03xfs: rename flist/free_list to dfopsDarrick J. Wong1-15/+15
2016-08-03xfs: change xfs_bmap_{finish,cancel,init,free} -> xfs_defer_*Darrick J. Wong1-12/+12
2016-08-03xfs: rework xfs_bmap_free callers to use xfs_defer_opsDarrick J. Wong1-0/+1
2016-06-21xfs: implement iomap based buffered write pathChristoph Hellwig1-0/+144
2016-06-21xfs: make xfs_bmbt_to_iomap available outside of xfs_pnfs.cChristoph Hellwig1-0/+27
2016-04-06xfs: better xfs_trans_alloc interfaceChristoph Hellwig1-36/+17
2016-01-12Merge branch 'xfs-misc-fixes-for-4.5-2' into for-nextDave Chinner1-6/+4
2016-01-11xfs: eliminate committed arg from xfs_bmap_finishEric Sandeen1-6/+4