aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ordered-data.c
AgeCommit message (Expand)AuthorFilesLines
17 hoursMerge tag 'for-6.19-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kda...Linus Torvalds1-41/+33
10 daysbtrfs: relax btrfs_inode::ordered_tree_lock IRQ locking contextQu Wenruo1-32/+25
10 daysbtrfs: avoid repeated computations in btrfs_mark_ordered_io_finished()Filipe Manana1-10/+8
10 daysbtrfs: truncate ordered extent when skipping writeback past i_sizeFilipe Manana1-2/+3
2025-10-31btrfs: Use folio_next_pos()Matthew Wilcox (Oracle)1-1/+1
2025-07-21btrfs: use folio_end() where appropriateDavid Sterba1-1/+1
2025-05-15btrfs: fold error checks when allocating ordered extent and update commentsFilipe Manana1-12/+14
2025-05-15btrfs: check we grabbed inode reference when allocating an ordered extentFilipe Manana1-8/+15
2025-05-15btrfs: fix qgroup reservation leak on failure to allocate ordered extentFilipe Manana1-3/+9
2025-05-15btrfs: simplify csum list release at btrfs_put_ordered_extent()Filipe Manana1-8/+4
2025-05-15btrfs: use unsigned types for constants defined as bit shiftsDavid Sterba1-2/+2
2025-05-15btrfs: add btrfs prefix to main lock, try lock and unlock extent functionsFilipe Manana1-4/+4
2025-03-18btrfs: introduce a read path dedicated extent lock helperQu Wenruo1-5/+18
2025-01-23btrfs: fix assertion failure when splitting ordered extent after transaction ...Filipe Manana1-0/+12
2024-11-22Merge tag 'cxl-for-6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl...Linus Torvalds1-5/+5
2024-11-08range: Add range_overlaps()Ira Weiny1-5/+5
2024-10-04btrfs: Switch from using the private_2 flag to owner_2Matthew Wilcox (Oracle)1-2/+2
2024-09-10btrfs: add and use helper to verify the calling task has locked the inodeFilipe Manana1-1/+1
2024-09-10btrfs: convert btrfs_mark_ordered_io_finished() to take a folioJosef Bacik1-5/+4
2024-09-10btrfs: convert btrfs_finish_ordered_extent() to take a folioJosef Bacik1-3/+3
2024-09-10btrfs: convert can_finish_ordered_extent() to use a folioJosef Bacik1-10/+11
2024-07-11btrfs: switch btrfs_ordered_extent::inode to struct btrfs_inodeDavid Sterba1-11/+11
2024-07-11btrfs: update panic message when splitting ordered extentFilipe Manana1-1/+1
2024-07-11btrfs: mark ordered extent insertion failure checks as unlikelyFilipe Manana1-2/+2
2024-07-11btrfs: avoid removal and re-insertion of split ordered extentFilipe Manana1-14/+6
2024-07-11btrfs: add comment about locking to btrfs_split_ordered_extent()Filipe Manana1-0/+17
2024-07-11btrfs: reduce critical section at btrfs_wait_ordered_extents()Filipe Manana1-1/+1
2024-07-11btrfs: reduce critical section at btrfs_wait_ordered_roots()Filipe Manana1-3/+3
2024-07-11btrfs: cleanup duplicated parameters related to create_io_em()Qu Wenruo1-1/+1
2024-07-11btrfs: cleanup duplicated parameters related to btrfs_alloc_ordered_extentQu Wenruo1-6/+28
2024-07-11btrfs: simplify range parameters of btrfs_wait_ordered_roots()David Sterba1-7/+21
2024-07-11btrfs: pass a btrfs_inode to btrfs_wait_ordered_range()Filipe Manana1-4/+4
2024-07-11btrfs: pass a btrfs_inode to btrfs_fdatawrite_range()Filipe Manana1-1/+1
2024-07-11btrfs: make btrfs_finish_ordered_extent() return voidFilipe Manana1-2/+1
2024-07-11btrfs: fix function name in comment for btrfs_remove_ordered_extent()Filipe Manana1-1/+1
2024-05-28btrfs: ensure fast fsync waits for ordered extents after a write failureFilipe Manana1-0/+31
2024-05-07btrfs: handle errors in btrfs_reloc_clone_csums properlyJosef Bacik1-0/+6
2024-05-07btrfs: change root->root_key.objectid to btrfs_root_id()Josef Bacik1-1/+1
2024-04-30btrfs: set correct ram_bytes when splitting ordered extentQu Wenruo1-0/+1
2024-03-05btrfs: remove SLAB_MEM_SPREAD flag useChengming Zhou1-1/+1
2024-03-04btrfs: use KMEM_CACHE() to create btrfs_ordered_extent cacheKunwu Chan1-4/+1
2024-03-04btrfs: remove unused included headersDavid Sterba1-1/+0
2023-12-15btrfs: migrate subpage code to folio interfacesQu Wenruo1-2/+3
2023-12-06btrfs: fix qgroup_free_reserved_data int overflowBoris Burkov1-3/+4
2023-12-06btrfs: free qgroup reserve when ORDERED_IOERR is setBoris Burkov1-1/+3
2023-10-12btrfs: open code btrfs_ordered_inode_tree in btrfs_inodeDavid Sterba1-68/+54
2023-10-12btrfs: merge ordered work callbacks in btrfs_work into oneDavid Sterba1-2/+2
2023-10-12btrfs: add support for inserting raid stripe extentsJohannes Thumshirn1-0/+1
2023-09-08btrfs: check for BTRFS_FS_ERROR in pending ordered assertJosef Bacik1-1/+1
2023-08-21btrfs: use LIST_HEAD() to initialize the list_headRuan Jinjie1-3/+1
2023-08-21btrfs: remove btrfs_writepage_endio_finish_orderedChristoph Hellwig1-0/+4
2023-06-19btrfs: add a btrfs_finish_ordered_extent helperChristoph Hellwig1-0/+19
2023-06-19btrfs: factor out a btrfs_queue_ordered_fn helperChristoph Hellwig1-9/+12
2023-06-19btrfs: factor out a can_finish_ordered_extent helperChristoph Hellwig1-45/+55
2023-06-19btrfs: remove btrfs_add_ordered_extentChristoph Hellwig1-24/+1
2023-06-19btrfs: handle completed ordered extents in btrfs_split_ordered_extentChristoph Hellwig1-8/+32
2023-06-19btrfs: atomically insert the new extent in btrfs_split_ordered_extentChristoph Hellwig1-16/+27
2023-06-19btrfs: split btrfs_alloc_ordered_extent to allocation and insertion helpersChristoph Hellwig1-49/+65
2023-06-19btrfs: return the new ordered_extent from btrfs_split_ordered_extentChristoph Hellwig1-9/+10
2023-06-19btrfs: optimize the logical to physical mapping for zoned writesChristoph Hellwig1-1/+0
2023-04-17btrfs: fold btrfs_clone_ordered_extent into btrfs_split_ordered_extentChristoph Hellwig1-23/+14
2023-04-17btrfs: sink parameter len to btrfs_split_ordered_extentChristoph Hellwig1-16/+15
2023-04-17btrfs: move ordered_extent internal sanity checks into btrfs_split_ordered_ex...Christoph Hellwig1-0/+10
2023-04-17btrfs: pass flags as unsigned long to btrfs_add_ordered_extentBoris Burkov1-1/+1
2023-04-17btrfs: add function to create and return an ordered extentBoris Burkov1-9/+37
2023-02-13btrfs: remove the wait argument to btrfs_start_ordered_extentChristoph Hellwig1-14/+11
2022-12-12Merge tag 'for-6.2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdav...Linus Torvalds1-10/+15
2022-12-05btrfs: pass btrfs_inode to btrfs_add_delayed_iputDavid Sterba1-1/+1
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: update function commentsDavid Sterba1-6/+7
2022-12-05btrfs: move the printk helpers out of ctree.hJosef Bacik1-0/+1
2022-12-05btrfs: use cached_state for btrfs_check_nocow_lockJosef Bacik1-3/+4
2022-12-05btrfs: add a cached_state to try_lock_extentJosef Bacik1-1/+1
2022-11-25btrfs: replace INT_LIMIT(loff_t) with OFFSET_MAXZhen Lei1-3/+3
2022-09-29btrfs: add btrfs_try_lock_ordered_rangeJosef Bacik1-0/+25
2022-09-26btrfs: unify the lock/unlock extent variantsJosef Bacik1-2/+2
2022-09-26btrfs: add lockdep annotations for the ordered extents wait eventIoannis Angelakopoulos1-0/+18
2022-09-26btrfs: add lockdep annotations for pending_ordered wait eventIoannis Angelakopoulos1-0/+3
2022-07-25btrfs: remove the finish_func argument to btrfs_mark_ordered_io_finishedChristoph Hellwig1-6/+11
2022-07-25btrfs: add tracepoints for ordered extentsJohannes Thumshirn1-3/+16
2022-07-25btrfs: fix typos in commentsDavid Sterba1-2/+2
2022-03-14btrfs: add BTRFS_IOC_ENCODED_WRITEOmar Sandoval1-3/+9
2022-03-14btrfs: add ram_bytes and offset to btrfs_ordered_extentOmar Sandoval1-85/+35
2021-09-07btrfs: zoned: fix double counting of split ordered extentNaohiro Aota1-0/+8
2021-08-23btrfs: remove uptodate parameter from btrfs_dec_test_first_ordered_pendingDavid Sterba1-4/+1
2021-07-22btrfs: store a block_device in struct btrfs_ordered_extentChristoph Hellwig1-2/+0
2021-06-21btrfs: make page Ordered bit to be subpage compatibleQu Wenruo1-2/+3
2021-06-21btrfs: rename PagePrivate2 to PageOrdered inside btrfsQu Wenruo1-4/+4
2021-06-21btrfs: introduce btrfs_lookup_first_ordered_range()Qu Wenruo1-0/+75
2021-06-21btrfs: refactor how we finish ordered extent io for endio functionsQu Wenruo1-58/+119
2021-04-28btrfs: zoned: fix silent data loss after failure splitting ordered extentFilipe Manana1-1/+1
2021-04-19btrfs: replace offset_in_entry with in_rangeNikolay Borisov1-15/+4
2021-02-09btrfs: zoned: use ZONE_APPEND write for zoned modeNaohiro Aota1-0/+3
2021-02-09btrfs: save irq flags when looking up an ordered extentJohannes Thumshirn1-2/+3
2021-02-09btrfs: zoned: split ordered extent when bio is sentNaohiro Aota1-0/+78
2021-02-08btrfs: track ordered bytes instead of just dio ordered bytesJosef Bacik1-7/+6
2021-02-08btrfs: rework the order of btrfs_ordered_extent::flagsQu Wenruo1-5/+16
2021-02-08btrfs: refactor btrfs_dec_test_* functions for ordered extentsQu Wenruo1-46/+58
2020-12-09btrfs: remove btrfs_find_ordered_sum call from btrfs_lookup_bio_sumsQu Wenruo1-44/+0
2020-12-08btrfs: switch cached fs_info::csum_size from u16 to u32David Sterba1-1/+1
2020-12-08btrfs: use cached value of fs_info::csum_size everywhereDavid Sterba1-1/+1
2020-12-08btrfs: replace s_blocksize_bits with fs_info::sectorsize_bitsDavid Sterba1-3/+3
2020-12-08btrfs: use precalculated sectorsize_bits from fs_infoDavid Sterba1-2/+1
2020-10-07btrfs: remove inode argument from btrfs_start_ordered_extentNikolay Borisov1-8/+7
2020-10-07btrfs: switch btrfs_remove_ordered_extent to btrfs_inodeNikolay Borisov1-4/+3
2020-10-07btrfs: make btrfs_find_ordered_sum take btrfs_inodeNikolay Borisov1-10/+9
2020-10-07btrfs: convert btrfs_inode_sectorsize to take btrfs_inodeNikolay Borisov1-1/+1
2020-10-07btrfs: make btrfs_dec_test_ordered_pending take btrfs_inodeNikolay Borisov1-4/+3
2020-10-07btrfs: make ordered extent tracepoint take btrfs_inodeNikolay Borisov1-4/+4
2020-10-07btrfs: make btrfs_lookup_first_ordered_extent take btrfs_inodeNikolay Borisov1-3/+3
2020-10-07btrfs: make fast fsyncs wait only for writebackFilipe Manana1-0/+59
2020-07-27btrfs: make btrfs_add_ordered_extent_dio take btrfs_inodeNikolay Borisov1-2/+2
2020-07-27btrfs: make btrfs_dec_test_first_ordered_pending take btrfs_inodeNikolay Borisov1-4/+3
2020-07-27btrfs: make btrfs_qgroup_release_data take btrfs_inodeNikolay Borisov1-2/+1
2020-07-27btrfs: make btrfs_add_ordered_extent_compress take btrfs_inodeNikolay Borisov1-2/+2
2020-07-27btrfs: make btrfs_add_ordered_extent take btrfs_inodeNikolay Borisov1-2/+2
2020-07-27btrfs: make btrfs_qgroup_free_data take btrfs_inodeNikolay Borisov1-2/+1
2020-07-27btrfs: make btrfs_lookup_ordered_extent take btrfs_inodeNikolay Borisov1-3/+3
2020-07-27btrfs: make __btrfs_add_ordered_extent take struct btrfs_inodeNikolay Borisov1-15/+15
2020-07-27btrfs: remove no longer used trans_list member of struct btrfs_ordered_extentFilipe Manana1-2/+0
2020-07-27btrfs: remove no longer used log_list member of struct btrfs_ordered_extentFilipe Manana1-2/+0
2020-07-27btrfs: change timing for qgroup reserved space for ordered extents to fix res...Qu Wenruo1-1/+21
2020-03-23btrfs: drop argument tree from btrfs_lock_and_flush_ordered_rangeDavid Sterba1-7/+3
2020-03-23btrfs: add assertions for tree == inode->io_tree to extent IO helpersDavid Sterba1-0/+2
2020-03-23btrfs: rename btrfs_put_fs_root and btrfs_grab_fs_rootJosef Bacik1-2/+2
2020-03-23btrfs: delete the ordered isize update codeJosef Bacik1-128/+0
2020-02-19Btrfs: fix btrfs_wait_ordered_range() so that it waits for all ordered extentsFilipe Manana1-1/+6
2020-01-20btrfs: make btrfs_ordered_extent naming consistent with btrfs_file_extent_itemOmar Sandoval1-35/+34
2020-01-20btrfs: Opencode ordered_data_tree_panicNikolay Borisov1-9/+3
2019-11-18Btrfs: fix block group remaining RO forever after error during device replaceFilipe Manana1-5/+1
2019-11-18btrfs: get rid of unique workqueue helper functionsOmar Sandoval1-1/+0
2019-09-09btrfs: move cond_wake_up functions out of ctreeDavid Sterba1-0/+1
2019-07-26btrfs: fix extent_state leak in btrfs_lock_and_flush_ordered_rangeNaohiro Aota1-5/+6
2019-07-04btrfs: migrate the delalloc space stuff to it's own homeJosef Bacik1-0/+1
2019-07-01btrfs: don't assume ordered sums to be 4 bytesJohannes Thumshirn1-4/+6
2019-07-01btrfs: Always use a cached extent_state in btrfs_lock_and_flush_ordered_rangeNikolay Borisov1-3/+15
2019-07-01btrfs: add new helper btrfs_lock_and_flush_ordered_rangeNikolay Borisov1-0/+33
2019-04-29btrfs: track DIO bytes in flightJosef Bacik1-1/+8
2019-04-29btrfs: Remove redundant inode argument from btrfs_add_ordered_sumNikolay Borisov1-3/+2
2019-04-25btrfs: Switch memory allocations in async csum calculation path to kvmallocNikolay Borisov1-1/+2
2018-12-17Btrfs: remove no longer used stuff for tracking pending ordered extentsFilipe Manana1-30/+0
2018-08-06btrfs: prune unused includesDavid Sterba1-1/+0
2018-08-06btrfs: remove remaing full_sync logic from btrfs_sync_fileDavid Sterba1-14/+0
2018-08-06btrfs: remove the logged extents infrastructureJosef Bacik1-123/+0
2018-05-28btrfs: replace waitqueue_actvie with cond_wake_upDavid Sterba1-10/+4
2018-04-12btrfs: replace GPL boilerplate by SPDX -- sourcesDavid Sterba1-14/+1
2018-03-31btrfs: qgroup: Use separate meta reservation type for delallocQu Wenruo1-1/+1
2018-03-26btrfs: add more __cold annotationsDavid Sterba1-1/+1
2017-11-01Btrfs: rework outstanding_extentsJosef Bacik1-2/+19
2017-06-29btrfs: fix integer overflow in calc_reclaim_items_nrChris Mason1-9/+8
2017-04-18btrfs: convert btrfs_ordered_extent.refs from atomic_t to refcount_tElena Reshetova1-9/+9
2017-04-18btrfs: convert btrfs_transaction.use_count from atomic_t to refcount_tElena Reshetova1-1/+1
2017-02-28btrfs: Make btrfs_lookup_ordered_range take btrfs_inodeNikolay Borisov1-5/+4
2017-02-14Btrfs: clean up btrfs_ordered_update_i_sizeLiu Bo1-16/+13
2017-02-14Btrfs: fix btrfs_ordered_update_i_size to update disk_i_size properlyLiu Bo1-2/+12
2017-02-14btrfs: Make btrfs_get_logged_extents take btrfs_inodeNikolay Borisov1-2/+2
2016-12-06btrfs: root->fs_info cleanup, add fs_info convenience variablesJeff Mahoney1-16/+18
2016-12-06btrfs: pull node/sector/stripe sizes out of root and into fs_infoJeff Mahoney1-2/+2
2016-09-26btrfs: unsplit printed stringsJeff Mahoney1-2/+2
2016-07-26btrfs: Fix slab accounting flagsNikolay Borisov1-1/+1
2016-06-23btrfs: fix disk_i_size update bug when fallocate() failsWang Xiaoguang1-1/+2
2016-05-30Btrfs: fix race setting block group readonly during device replaceFilipe Manana1-1/+5
2016-05-13Btrfs: don't wait for unrelated IO to finish before relocationFilipe Manana1-7/+19
2016-03-14btrfs: Fix misspellings in comments.Adam Buchbinder1-1/+1
2016-03-11btrfs: move btrfs_compression_type to compression.hAnand Jain1-0/+1
2016-02-18btrfs: drop null testing before destroy functionsKinglong Mee1-2/+1
2015-10-21Btrfs: change how we wait for pending ordered extentsJosef Bacik1-14/+50
2015-10-10btrfs: add comments to barriers before waitqueue_activeDavid Sterba1-0/+6
2015-07-01Btrfs: fix memory corruption on failure to submit bio for direct IOFilipe Manana1-0/+5
2015-06-10Btrfs: don't attach unnecessary extents to transaction on fsyncFilipe Manana1-1/+15
2015-06-10Btrfs: avoid syncing log in the fast fsync path when not necessaryFilipe Manana1-0/+14
2015-06-03Btrfs: remove csum_bytes_leftLiu Bo1-7/+0
2015-05-11Btrfs: fix panic when starting bg cache writeout after IO errorFilipe Manana1-4/+10
2015-03-02Btrfs: fix fsync race leading to ordered extent memory leaksFilipe Manana1-5/+2
2014-11-21Btrfs: collect only the necessary ordered extents on ranged fsyncFilipe Manana1-3/+13
2014-11-21Btrfs: make sure logged extents complete in the current transaction V3Josef Bacik1-2/+7
2014-11-20Btrfs: add helper btrfs_fdatawrite_rangeFilipe Manana1-22/+2
2014-08-24Btrfs: fix task hang under heavy compressed writeLiu Bo1-0/+1
2014-08-15btrfs: disable strict file flushes for renames and truncatesChris Mason1-123/+0
2014-07-19Btrfs: fix abnormal long waiting in fsyncLiu Bo1-0/+11
2014-06-09btrfs: remove stale newlines from log messagesDavid Sterba1-1/+1
2014-03-10Btrfs: split the global ordered extents mutexMiao Xie1-13/+4
2014-03-10Btrfs: wake up the tasks that wait for the io earlierMiao Xie1-4/+10
2014-03-10Btrfs: fix early enospc due to the race of the two ordered extent waitMiao Xie1-3/+14
2014-03-10btrfs: Cleanup the "_struct" suffix in btrfs_workequeueQu Wenruo1-1/+1
2014-03-10btrfs: Replace fs_info->flush_workers with btrfs_workqueue.Qu Wenruo1-6/+7
2014-03-10Btrfs: don't mix the ordered extents of all files together during logging the...Miao Xie1-8/+29
2014-01-28Btrfs: convert printk to btrfs_ and fix BTRFS prefixFrank Holton1-5/+7
2014-01-28Btrfs: avoid unnecessary ordered extent cache resetsFilipe David Borba Manana1-1/+2
2013-11-20Btrfs: fix list delete warning when removing ordered root from the listMiao Xie1-0/+1
2013-11-20Btrfs: don't wait for ordered data outside desired rangeFilipe David Borba Manana1-1/+1
2013-11-11Btrfs: don't wait for the completion of all the ordered extentsMiao Xie1-5/+17
2013-11-11Btrfs: take ordered root lock when removing ordered operations inodeJosef Bacik1-0/+2
2013-11-11Btrfs: return an error from btrfs_wait_ordered_rangeJosef Bacik1-8/+18
2013-11-11Btrfs: btrfs_add_ordered_operation: Fix last modified transaction comparison.chandan1-1/+1
2013-09-21Btrfs: kill delay_iput arg to the wait_ordered functionsJosef Bacik1-21/+3
2013-09-01Btrfs: allow partial ordered extent completionJosef Bacik1-4/+9
2013-09-01Btrfs: Remove superfluous casts from u64 to unsigned long longGeert Uytterhoeven1-7/+4
2013-09-01Btrfs: fix heavy delalloc related deadlockJosef Bacik1-2/+2