aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/file.c
AgeCommit message (Expand)AuthorFilesLines
5 daysMerge tag 'for-6.10-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kda...Linus Torvalds1-75/+252
12 daysbtrfs: change root->root_key.objectid to btrfs_root_id()Josef Bacik1-11/+11
12 daysbtrfs: rename ->len to ->num_bytes in btrfs_refJosef Bacik1-5/+5
12 daysbtrfs: move ref_root into btrfs_refJosef Bacik1-16/+14
12 daysbtrfs: do not use a function to initialize btrfs_refJosef Bacik1-18/+31
12 daysbtrfs: move btrfs_page_mkwrite() from inode.c into file.cFilipe Manana1-0/+166
12 daysbtrfs: rename err to ret in btrfs_direct_write()Anand Jain1-24/+24
12 daysbtrfs: rename err to ret in prepare_pages()Anand Jain1-12/+12
12 daysbtrfs: rename err to ret in btrfs_dirty_pages()Anand Jain1-4/+4
2024-04-07fs: claw back a few FMODE_* bitsChristian Brauner1-2/+2
2024-03-04btrfs: add helper to get fs_info from struct inode pointerDavid Sterba1-7/+7
2024-03-04btrfs: preallocate temporary extent buffer for inode logging when neededFilipe Manana1-0/+12
2024-03-04btrfs: remove unused included headersDavid Sterba1-2/+0
2024-03-04btrfs: replace i_blocksize by fs_info::sectorsizeDavid Sterba1-2/+2
2024-03-04btrfs: remove the pg_offset parameter from btrfs_get_extent()Qu Wenruo1-6/+5
2023-12-15btrfs: migrate subpage code to folio interfacesQu Wenruo1-5/+8
2023-12-15btrfs: use the flags of an extent map to identify the compression typeFilipe Manana1-6/+4
2023-12-15btrfs: migrate to use folio private instead of page privateQu Wenruo1-2/+2
2023-12-14Merge tag 'for-6.7-rc5-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+1
2023-12-06btrfs: fix qgroup_free_reserved_data int overflowBoris Burkov1-1/+1
2023-10-30Merge tag 'for-6.7-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdav...Linus Torvalds1-29/+32
2023-10-18btrfs: convert to new timestamp accessorsJeff Layton1-8/+10
2023-10-12btrfs: remove pointless barrier from btrfs_sync_file()Filipe Manana1-1/+0
2023-10-12btrfs: add and use helpers for reading and writing last_trans_committedFilipe Manana1-1/+1
2023-10-12btrfs: add and use helpers for reading and writing fs_info->generationFilipe Manana1-1/+1
2023-10-12btrfs: remove redundant root argument from btrfs_update_inode()Filipe Manana1-4/+4
2023-10-12btrfs: track owning root in btrfs_refBoris Burkov1-5/+8
2023-10-12btrfs: abort transaction on generation mismatch when marking eb as dirtyFilipe Manana1-17/+17
2023-10-12btrfs: include linux/iomap.h in file.cJosef Bacik1-0/+1
2023-09-21Merge tag 'v6.6-rc3.vfs.ctime.revert' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-4/+20
2023-09-20Merge tag 'for-6.6-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-2/+14
2023-09-20Revert "btrfs: convert to multigrain timestamps"Christian Brauner1-4/+20
2023-09-13btrfs: file_remove_privs needs an exclusive lock in direct io writeBernd Schubert1-2/+14
2023-08-28Merge tag 'for-6.6-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdav...Linus Torvalds1-2/+1
2023-08-28Merge tag 'iomap-6.6-merge-3' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-3/+3
2023-08-21btrfs: use LIST_HEAD() to initialize the list_headRuan Jinjie1-2/+1
2023-08-11btrfs: convert to multigrain timestampsJeff Layton1-20/+4
2023-07-24filemap: Add fgf_t typedefMatthew Wilcox (Oracle)1-3/+3
2023-07-13btrfs: convert to ctime accessor functionsJeff Layton1-12/+9
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-26Merge tag 'for-6.5/splice-2023-06-23' of git://git.kernel.dk/linuxLinus Torvalds1-1/+1
2023-06-19btrfs: set FMODE_CAN_ODIRECT instead of a dummy direct_IO methodChristoph Hellwig1-1/+2
2023-06-19btrfs: determine synchronous writers from bio or writeback controlChristoph Hellwig1-9/+0
2023-06-09backing_dev: remove current->backing_dev_infoChristoph Hellwig1-5/+1
2023-05-24splice: Use filemap_splice_read() instead of generic_file_splice_read()David Howells1-1/+1
2023-03-30iov_iter: add iter_iovec() helperJens Axboe1-3/+8
2023-02-13btrfs: remove the wait argument to btrfs_start_ordered_extentChristoph Hellwig1-1/+1
2023-01-16btrfs: fix invalid leaf access due to inline extent during lseekFilipe Manana1-3/+10
2023-01-03btrfs: fix off-by-one in delalloc search during lseekFilipe Manana1-1/+1
2022-12-05btrfs: do not BUG_ON() on ENOMEM when dropping extent items for a rangeFilipe Manana1-2/+8
2022-12-05btrfs: use cached state when looking for delalloc ranges with lseekFilipe Manana1-8/+32
2022-12-05btrfs: use cached state when looking for delalloc ranges with fiemapFilipe Manana1-3/+7
2022-12-05btrfs: allow passing a cached state record to count_range_bits()Filipe Manana1-1/+2
2022-12-05btrfs: search for delalloc more efficiently during lseek/fiemapFilipe Manana1-104/+48
2022-12-05btrfs: skip unnecessary delalloc searches during lseek/fiemapFilipe Manana1-1/+7
2022-12-05btrfs: add an early exit when searching for delalloc range for lseek/fiemapFilipe Manana1-6/+16
2022-12-05btrfs: pass btrfs_inode to btrfs_inode_unlockDavid Sterba1-16/+16
2022-12-05btrfs: pass btrfs_inode to btrfs_inode_lockDavid Sterba1-8/+8
2022-12-05btrfs: update stale comment for nowait direct IO writesFilipe Manana1-2/+2
2022-12-05btrfs: move super_block specific helpers into super.hJosef Bacik1-0/+1
2022-12-05btrfs: move file prototypes to file.hJosef Bacik1-0/+1
2022-12-05btrfs: move ioctl prototypes into ioctl.hJosef Bacik1-0/+1
2022-12-05btrfs: move file-item prototypes into their own headerJosef Bacik1-0/+1
2022-12-05btrfs: move the auto defrag code to defrag.cJosef Bacik1-340/+0
2022-12-05btrfs: move extent-tree helpers into their own header fileJosef Bacik1-0/+1
2022-12-05btrfs: move accessor helpers into accessors.hJosef Bacik1-0/+1
2022-12-05btrfs: move fs wide helpers out of ctree.hJosef Bacik1-0/+1
2022-12-05btrfs: skip unnecessary delalloc search during fiemap and lseekFilipe Manana1-13/+20
2022-12-05btrfs: skip unnecessary extent map searches during fiemap and lseekFilipe Manana1-0/+12
2022-12-05btrfs: get the next extent map during fiemap/lseek more efficientlyFilipe Manana1-17/+27
2022-12-05btrfs: use cached_state for btrfs_check_nocow_lockJosef Bacik1-3/+6
2022-12-05btrfs: add a cached_state to try_lock_extentJosef Bacik1-1/+2
2022-11-02btrfs: fix inode reserve space leak due to nowait buffered writeFilipe Manana1-1/+3
2022-11-02btrfs: fix nowait buffered write returning -ENOSPCFilipe Manana1-0/+3
2022-10-31btrfs: fix lost file sync on direct IO write with nowait and dsync iocbFilipe Manana1-6/+16
2022-09-29btrfs: add helper to replace extent map range with a new extent mapFilipe Manana1-7/+1
2022-09-29btrfs: move btrfs_drop_extent_cache() to extent_map.cFilipe Manana1-187/+3
2022-09-29btrfs: fix missed extent on fsync after dropping extent mapsFilipe Manana1-12/+46
2022-09-29btrfs: enable nowait async buffered writesStefan Roesch1-2/+2
2022-09-29btrfs: make btrfs_buffered_write nowait compatibleStefan Roesch1-2/+5
2022-09-29btrfs: plumb NOWAIT through the write pathStefan Roesch1-6/+13
2022-09-29btrfs: make lock_and_cleanup_extent_if_need nowait compatibleStefan Roesch1-3/+16
2022-09-29btrfs: make prepare_pages nowait compatibleStefan Roesch1-8/+35
2022-09-29btrfs: make btrfs_check_nocow_lock nowait compatibleJosef Bacik1-11/+22
2022-09-29btrfs: add the ability to use NO_FLUSH for data reservationsJosef Bacik1-1/+1
2022-09-29btrfs: make can_nocow_extent nowait compatibleJosef Bacik1-1/+1
2022-09-26btrfs: open code and remove btrfs_inode_sectorsize helperJosef Bacik1-6/+5
2022-09-26btrfs: replace delete argument with EXTENT_CLEAR_ALL_BITSJosef Bacik1-1/+1
2022-09-26btrfs: unify the lock/unlock extent variantsJosef Bacik1-24/+22
2022-09-26btrfs: remove the wake argument from clear_extent_bitsJosef Bacik1-1/+1
2022-09-26btrfs: make fiemap more efficient and accurate reporting extent sharednessFilipe Manana1-8/+8
2022-09-26btrfs: make hole and data seeking a lot more efficientFilipe Manana1-31/+406
2022-09-26btrfs: allow hole and data seeking to be interruptibleFilipe Manana1-0/+4
2022-09-26btrfs: log conflicting inodes without holding log mutex of the initial inodeFilipe Manana1-0/+1
2022-09-26btrfs: rename btrfs_insert_file_extent() to btrfs_insert_hole_extent()Omar Sandoval1-2/+2
2022-09-26btrfs: fix alignment of VMA for memory mapped files on THPAlexander Zhu1-0/+1
2022-08-28Merge tag 'for-6.0-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+2
2022-08-22btrfs: update generation of hole file extent item when merging holesFilipe Manana1-0/+2
2022-08-03Merge tag 'for-5.20-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kda...Linus Torvalds1-6/+23
2022-08-03Merge tag 'pull-work.iov_iter-base' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-18/+1
2022-07-25btrfs: don't fallback to buffered IO for NOWAIT direct IO writesFilipe Manana1-1/+15
2022-07-25btrfs: switch btrfs_block_rsv::failfast to boolDavid Sterba1-1/+1
2022-07-25btrfs: clean up chained assignmentsDavid Sterba1-3/+6
2022-07-25btrfs: tree-log: make the return value for log syncing consistentJosef Bacik1-1/+1
2022-06-26Merge tag 'for-5.19-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-17/+75
2022-06-21btrfs: fix deadlock with fsync+fiemap+transaction commitJosef Bacik1-15/+52
2022-06-21btrfs: do not BUG_ON() on failure to migrate space when replacing extentsFilipe Manana1-2/+4
2022-06-21btrfs: add missing inode updates on each iteration when replacing extentsFilipe Manana1-0/+19
2022-06-10iocb: delay evaluation of IS_SYNC(...) until we want to check IOCB_DSYNCAl Viro1-1/+1
2022-06-10btrfs: use IOMAP_DIO_NOSYNCAl Viro1-17/+0
2022-05-24Merge tag 'folio-5.19' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-4/+5
2022-05-16btrfs: add a btrfs_dio_rw wrapperChristoph Hellwig1-4/+2
2022-05-16btrfs: avoid blocking on space revervation when doing nowait dio writesFilipe Manana1-1/+1
2022-05-16btrfs: avoid double nocow check when doing nowait dio writesFilipe Manana1-69/+33
2022-05-16btrfs: add and use helper to assert an inode range is cleanFilipe Manana1-0/+4
2022-05-16btrfs: remove ordered extent check and wait during hole punching and zero rangeFilipe Manana1-36/+18
2022-05-16btrfs: lock the inode first before flushing range when punching holeFilipe Manana1-2/+3
2022-05-16btrfs: remove ordered extent check and wait during fallocateFilipe Manana1-34/+8
2022-05-16btrfs: remove useless dio wait call when doing fallocate zero rangeFilipe Manana1-2/+0
2022-05-16btrfs: only reserve the needed data space amount during fallocateFilipe Manana1-34/+37
2022-05-09btrfs: Convert to release_folioMatthew Wilcox (Oracle)1-1/+1
2022-05-09mm,fs: Remove aops->readpageMatthew Wilcox (Oracle)1-1/+1
2022-05-09btrfs: Convert btrfs to read_folioMatthew Wilcox (Oracle)1-2/+3
2022-05-09fs: Introduce aops->read_folioMatthew Wilcox (Oracle)1-1/+1
2022-03-24btrfs: fix fallocate to use file_modified to update permissions consistentlyDarrick J. Wong1-2/+11
2022-03-14btrfs: reset last_reflink_trans after fsyncing inodeFilipe Manana1-4/+3
2022-03-14btrfs: add BTRFS_IOC_ENCODED_WRITEOmar Sandoval1-11/+53
2022-03-14btrfs: support different disk extent size for delallocOmar Sandoval1-1/+2
2022-03-14btrfs: remove constraint on number of visited leaves when replacing extentsFilipe Manana1-4/+1
2022-02-24btrfs: reduce extent threshold for autodefragQu Wenruo1-1/+14
2022-02-23btrfs: autodefrag: only scan one inode onceQu Wenruo1-62/+22
2021-11-09btrfs: fix deadlock due to page faults during direct IO reads and writesFilipe Manana1-16/+123
2021-11-02Merge tag 'gfs2-v5.15-rc5-mmap-fault' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-3/+4
2021-10-26btrfs: add additional parameters to btrfs_init_tree_ref/btrfs_init_data_refNikolay Borisov1-5/+8
2021-10-26btrfs: add a BTRFS_FS_ERROR helperJosef Bacik1-1/+1
2021-10-26btrfs: subpage: add bitmap for PageChecked flagQu Wenruo1-5/+12
2021-10-26btrfs: unexport setup_items_for_insert()Filipe Manana1-1/+1
2021-10-26btrfs: loop only once over data sizes array when inserting an item batchFilipe Manana1-2/+1
2021-10-24iomap: Add done_before argument to iomap_dio_rwAndreas Gruenbacher1-2/+3
2021-10-18iov_iter: Turn iov_iter_fault_in_readable into fault_in_iov_iter_readableAndreas Gruenbacher1-1/+1
2021-10-07btrfs: fix abort logic in btrfs_replace_file_extentsJosef Bacik1-7/+9
2021-10-07btrfs: update refs for any root except tree log rootsJosef Bacik1-2/+1
2021-08-23btrfs: initial fsverity supportBoris Burkov1-0/+10
2021-08-23btrfs: subpage: fix a potential use-after-free in writeback helperQu Wenruo1-4/+4
2021-08-23btrfs: subpage: fix race between prepare_pages() and btrfs_releasepage()Qu Wenruo1-1/+12
2021-07-03Merge branch 'work.iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-12/+11
2021-06-21btrfs: eliminate insert label in add_falloc_rangeNikolay Borisov1-12/+11
2021-06-21btrfs: fix the filemap_range_has_page() call in btrfs_punch_hole_lock_range()Qu Wenruo1-1/+12
2021-06-21btrfs: make btrfs_dirty_pages() to be subpage compatibleQu Wenruo1-2/+5
2021-06-21btrfs: use list_last_entry in add_falloc_rangeNikolay Borisov1-4/+3
2021-06-10iov_iter: replace iov_iter_copy_from_user_atomic() with iterator-advancing va...Al Viro1-12/+11
2021-06-04btrfs: return value from btrfs_mark_extent_written() in case of errorRitesh Harjani1-2/+2
2021-04-28btrfs: fix race leading to unpersisted data and metadata on fsyncFilipe Manana1-10/+25
2021-04-19btrfs: fix a potential hole punching failureBingJing Chang1-3/+3
2021-04-19btrfs: update outdated comment at btrfs_replace_file_extents()Filipe Manana1-4/+2
2021-04-19btrfs: fix race between marking inode needs to be logged and log syncingFilipe Manana1-8/+2
2021-04-19btrfs: fix race between memory mapped writes and fsyncFilipe Manana1-9/+9
2021-04-19btrfs: exclude mmap from happening during all fallocate operationsJosef Bacik1-6/+6
2021-04-19btrfs: use btrfs_inode_lock/btrfs_inode_unlock inode lock helpersJosef Bacik1-9/+9
2021-04-19btrfs: make find_desired_extent take btrfs_inodeNikolay Borisov1-8/+7
2021-04-19btrfs: make btrfs_replace_file_extents take btrfs_inodeNikolay Borisov1-26/+25
2021-03-05Merge tag 'for-5.12-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+4
2021-03-02btrfs: unlock extents in btrfs_zero_range in case of quota reservation errorsNikolay Borisov1-1/+4
2021-02-24mm/filemap: rename generic_file_buffered_read to filemap_readChristoph Hellwig1-1/+1
2021-02-21Merge tag 'iomap-5.12-merge-2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-4/+3
2021-02-09btrfs: zoned: use ZONE_APPEND write for zoned modeNaohiro Aota1-1/+5
2021-02-08btrfs: introduce btrfs_subpage for data inodesQu Wenruo1-15/+9
2021-02-08btrfs: make concurrent fsyncs wait less when waiting for a transaction commitFilipe Manana1-0/+1
2021-02-08btrfs: update comment for btrfs_dirty_pagesQu Wenruo1-6/+5
2021-02-08btrfs: cleanup local variables in btrfs_file_write_iterNikolay Borisov1-9/+7
2021-01-23iomap: pass a flags argument to iomap_dio_rwChristoph Hellwig1-4/+3
2020-12-09btrfs: disable fallocate in ZONED modeNaohiro Aota1-0/+4
2020-12-08btrfs: make btrfs_cont_expand take btrfs_inodeNikolay Borisov1-2/+2
2020-12-08btrfs: make btrfs_truncate_block take btrfs_inodeNikolay Borisov1-7/+10
2020-12-08btrfs: make btrfs_insert_replace_extent take btrfs_inodeNikolay Borisov1-17/+17
2020-12-08btrfs: make find_first_non_hole take btrfs_inodeNikolay Borisov1-7/+8
2020-12-08btrfs: make btrfs_update_inode take btrfs_inodeNikolay Borisov1-4/+4
2020-12-08btrfs: make btrfs_inode_safe_disk_i_size_write take btrfs_inodeNikolay Borisov1-1/+1
2020-12-08btrfs: update the number of bytes used by an inode atomicallyFilipe Manana1-15/+28
2020-12-08btrfs: refactor btrfs_drop_extents() to make it easier to extendFilipe Manana1-74/+80
2020-12-08btrfs: locking: remove all the blocking helpersJosef Bacik1-2/+1
2020-12-08btrfs: replace s_blocksize_bits with fs_info::sectorsize_bitsDavid Sterba1-2/+1
2020-12-08btrfs: remove dio iomap DSYNC workaroundGoldwyn Rodrigues1-36/+2
2020-12-08btrfs: call iomap_dio_complete() without inode_lockGoldwyn Rodrigues1-13/+11
2020-12-08btrfs: remove btrfs_inode::dio_semGoldwyn Rodrigues1-13/+0
2020-12-08btrfs: use shared lock for direct writes within EOFGoldwyn Rodrigues1-11/+16
2020-12-08btrfs: push inode locking and unlocking into buffered/direct writeGoldwyn Rodrigues1-33/+57
2020-12-08btrfs: introduce btrfs_inode_lock()/unlock()Goldwyn Rodrigues1-16/+17
2020-12-08btrfs: introduce btrfs_write_check()Goldwyn Rodrigues1-74/+77
2020-12-08btrfs: check FS error state bit early during writeGoldwyn Rodrigues1-12/+8
2020-12-08btrfs: move pos increment and pagecache extension to btrfs_buffered_writeGoldwyn Rodrigues1-8/+5
2020-12-08btrfs: split btrfs_direct_IO to read and writeGoldwyn Rodrigues1-10/+87
2020-12-08btrfs: set EXTENT_NORESERVE bits side btrfs_dirty_pages()Goldwyn Rodrigues1-16/+10
2020-12-08btrfs: use round_down while calculating start position in btrfs_dirty_pages()Goldwyn Rodrigues1-1/+1
2020-12-08btrfs: calculate num_pages, reserve_bytes once in btrfs_buffered_writeGoldwyn Rodrigues1-22/+12
2020-11-13btrfs: fix missing delalloc new bit for new delalloc rangesFilipe Manana1-57/+0
2020-10-27btrfs: don't fallback to buffered read if we don't need toJohannes Thumshirn1-1/+2
2020-10-07btrfs: rename BTRFS_INODE_ORDERED_DATA_CLOSE flagNikolay Borisov1-5/+5
2020-10-07btrfs: remove inode argument from btrfs_start_ordered_extentNikolay Borisov1-2/+1
2020-10-07btrfs: sink total_data parameter in setup_items_for_insertNikolay Borisov1-2/+1