aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/relocation.c
AgeCommit message (Expand)AuthorFilesLines
12 daysbtrfs: handle errors in btrfs_reloc_clone_csums properlyJosef Bacik1-1/+3
12 daysbtrfs: drop unused argument of calcu_metadata_size()Naohiro Aota1-6/+5
12 daysbtrfs: reuse ret instead of err in relocate_tree_blocks()Anand Jain1-11/+8
12 daysbtrfs: rename err and ret to ret in build_backref_tree()Anand Jain1-11/+7
12 daysbtrfs: change root->root_key.objectid to btrfs_root_id()Josef Bacik1-33/+30
12 daysbtrfs: rename ->len to ->num_bytes in btrfs_refJosef Bacik1-7/+7
12 daysbtrfs: move ref_root into btrfs_refJosef Bacik1-13/+13
12 daysbtrfs: do not use a function to initialize btrfs_refJosef Bacik1-19/+39
12 daysbtrfs: export find_next_inode() as btrfs_find_first_inode()Filipe Manana1-80/+25
12 daysbtrfs: make NOCOW checks for existence of checksums in a range more efficientFilipe Manana1-1/+1
12 daysbtrfs: remove search_commit parameter from btrfs_lookup_csums_list()Filipe Manana1-1/+1
12 daysbtrfs: stop locking the source extent range during reflinkFilipe Manana1-1/+7
12 daysbtrfs: convert relocate_one_page() to folios and renameGoldwyn Rodrigues1-46/+47
12 daysbtrfs: page to folio conversion: prealloc_file_extent_cluster()Goldwyn Rodrigues1-6/+6
12 daysbtrfs: rename err to ret in create_reloc_inode()Anand Jain1-9/+9
2024-03-04btrfs: open code btrfs_backref_iter_free()David Sterba1-1/+2
2024-03-04btrfs: add helper to get fs_info from struct inode pointerDavid Sterba1-1/+1
2023-12-15btrfs: migrate subpage code to folio interfacesQu Wenruo1-2/+3
2023-12-15btrfs: use the flags of an extent map to identify the compression typeFilipe Manana1-1/+1
2023-10-30Merge tag 'for-6.7-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdav...Linus Torvalds1-81/+127
2023-10-23btrfs: fix unwritten extent buffer after snapshotting a new subvolumeFilipe Manana1-3/+4
2023-10-12btrfs: change test_range_bit to scan the whole rangeDavid Sterba1-1/+1
2023-10-12btrfs: relocation: constify parameters where possibleDavid Sterba1-28/+28
2023-10-12btrfs: relocation: return bool from btrfs_should_ignore_reloc_rootDavid Sterba1-10/+9
2023-10-12btrfs: switch btrfs_backref_cache::is_reloc to boolDavid Sterba1-1/+1
2023-10-12btrfs: relocation: open code mapping_tree_initDavid Sterba1-8/+2
2023-10-12btrfs: relocation: switch bitfields to bool in reloc_controlDavid Sterba1-9/+9
2023-10-12btrfs: relocation: use enum for stagesDavid Sterba1-7/+9
2023-10-12btrfs: relocation: use more natural types for tree_block bitfieldsDavid Sterba1-4/+4
2023-10-12btrfs: track data relocation with simple quotaBoris Burkov1-1/+48
2023-10-12btrfs: track owning root in btrfs_refBoris Burkov1-7/+11
2023-10-12btrfs: abort transaction on generation mismatch when marking eb as dirtyFilipe Manana1-5/+5
2023-10-12btrfs: drop __must_check annotationsDavid Sterba1-1/+1
2023-08-21btrfs: remove v0 extent handlingQu Wenruo1-5/+6
2023-08-21btrfs: set page extent mapped after read_folio in relocate_one_pageJosef Bacik1-3/+9
2023-08-21btrfs: make find_first_extent_bit() return a booleanFilipe Manana1-4/+6
2023-08-10btrfs: exit gracefully if reloc roots don't matchQu Wenruo1-8/+37
2023-06-19btrfs: pass an ordered_extent to btrfs_reloc_clone_csumsChristoph Hellwig1-21/+14
2023-06-19btrfs: rename the bytenr field in struct btrfs_ordered_sum to logicalChristoph Hellwig1-2/+2
2023-06-19btrfs: drop gfp from parameter extent state helpersDavid Sterba1-3/+2
2023-06-19btrfs: open code set_extent_bitsDavid Sterba1-5/+6
2023-06-19btrfs: output affected files when relocation failsQu Wenruo1-0/+16
2023-05-09btrfs: fix backref walking not returning all inode refsFilipe Manana1-1/+1
2023-04-17btrfs: open code btrfs_bin_search()Anand Jain1-3/+3
2023-02-13btrfs: use PAGE_{ALIGN, ALIGNED, ALIGN_DOWN} macroYushan Zhou1-1/+1
2022-12-05btrfs: split the bio submission path into a separate fileChristoph Hellwig1-0/+1
2022-12-05btrfs: introduce a bitmap based csum range search functionQu Wenruo1-2/+2
2022-12-05btrfs: concentrate all tree block parentness check parameters into one structureQu Wenruo1-3/+8
2022-12-05btrfs: pass btrfs_inode to btrfs_add_delayed_iputDavid Sterba1-2/+2
2022-12-05btrfs: drop private_data parameter from extent_io_tree_initDavid Sterba1-2/+1
2022-12-05btrfs: pass btrfs_inode to btrfs_inode_unlockDavid Sterba1-1/+1
2022-12-05btrfs: pass btrfs_inode to btrfs_inode_lockDavid Sterba1-1/+1
2022-12-05btrfs: use a structure to pass arguments to backref walking functionsFilipe Manana1-8/+11
2022-12-05btrfs: use a single argument for extent offset in backref walking functionsFilipe Manana1-1/+1
2022-12-05btrfs: move super_block specific helpers into super.hJosef Bacik1-0/+1
2022-12-05btrfs: move relocation prototypes into relocation.hJosef Bacik1-0/+1
2022-12-05btrfs: move file-item prototypes into their own headerJosef Bacik1-0/+1
2022-12-05btrfs: move root tree prototypes to their own headerJosef Bacik1-0/+1
2022-12-05btrfs: move extent-tree helpers into their own header fileJosef Bacik1-0/+1
2022-12-05btrfs: sink gfp_t parameter to btrfs_backref_iter_allocDavid Sterba1-1/+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: move flush related definitions to space-info.hJosef Bacik1-0/+1
2022-12-05btrfs: use a cached_state everywhere in relocationJosef Bacik1-14/+26
2022-12-05btrfs: add a cached_state to try_lock_extentJosef Bacik1-1/+1
2022-09-29btrfs: add helper to replace extent map range with a new extent mapFilipe Manana1-11/+3
2022-09-29btrfs: move btrfs_drop_extent_cache() to extent_map.cFilipe Manana1-4/+4
2022-09-29btrfs: make can_nocow_extent nowait compatibleJosef Bacik1-1/+1
2022-09-26btrfs: unify the lock/unlock extent variantsJosef Bacik1-9/+9
2022-08-17btrfs: fix lockdep splat with reloc root extent buffersJosef Bacik1-0/+2
2022-08-17btrfs: unset reloc control if transaction commit fails in prepare_to_relocate()Zixuan Fu1-1/+6
2022-05-24Merge tag 'folio-5.19' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-6/+7
2022-05-16btrfs: remove unnecessary check of iput argumentLv Ruyi1-2/+1
2022-05-16btrfs: remove unnecessary type castsYu Zhe1-1/+1
2022-05-16btrfs: assert that relocation is protected with sb_start_write()Naohiro Aota1-0/+11
2022-05-16btrfs: avoid blocking on space revervation when doing nowait dio writesFilipe Manana1-1/+2
2022-05-09btrfs: Convert btrfs to read_folioMatthew Wilcox (Oracle)1-4/+4
2022-05-08mm/readahead: Convert page_cache_async_readahead to take a folioMatthew Wilcox (Oracle)1-2/+3
2022-03-14btrfs: unify the error handling pattern for read_tree_block()Qu Wenruo1-2/+2
2022-03-14btrfs: pass btrfs_fs_info to btrfs_recover_relocationJosef Bacik1-3/+2
2022-03-14btrfs: support different disk extent size for delallocOmar Sandoval1-1/+1
2022-03-02btrfs: do not start relocation until in progress drops are doneJosef Bacik1-0/+13
2022-01-07btrfs: add an inode-item.hJosef Bacik1-0/+1
2022-01-07btrfs: make send work with concurrent block group relocationFilipe Manana1-13/+0
2022-01-03btrfs: stop accessing ->csum_root directlyJosef Bacik1-1/+3
2022-01-03btrfs: stop accessing ->extent_root directlyJosef Bacik1-2/+2
2022-01-03btrfs: change root to fs_info for btrfs_reserve_metadata_bytesJosef Bacik1-8/+9
2022-01-03btrfs: drop the _nr from the item helpersJosef Bacik1-1/+1
2021-10-26btrfs: fix deadlock between chunk allocation and chunk btree modificationsFilipe Manana1-0/+4
2021-10-26btrfs: pull up qgroup checks from delayed-ref core to init timeNikolay Borisov1-7/+0
2021-10-26btrfs: add additional parameters to btrfs_init_tree_ref/btrfs_init_data_refNikolay Borisov1-7/+14
2021-10-26btrfs: rename setup_extent_mapping in relocation codeJohannes Thumshirn1-4/+3
2021-10-26btrfs: zoned: allow preallocation for relocation inodesJohannes Thumshirn1-33/+2
2021-10-26btrfs: introduce btrfs_is_data_reloc_rootJohannes Thumshirn1-2/+1
2021-10-26btrfs: zoned: finish relocating block groupNaohiro Aota1-0/+4
2021-08-23btrfs: subpage: fix relocation potentially overwriting last page dataQu Wenruo1-0/+60
2021-08-23btrfs: make relocate_one_page() handle subpage caseQu Wenruo1-29/+77
2021-08-23btrfs: reloc: factor out relocation page read and dirty partQu Wenruo1-105/+93
2021-06-22btrfs: ensure relocation never runs while we have send operations runningFilipe Manana1-0/+13
2021-06-21btrfs: add cancellable chunk relocation supportDavid Sterba1-2/+60
2021-04-19btrfs: check return value of btrfs_commit_transaction in relocationJosef Bacik1-4/+5
2021-04-19btrfs: do proper error handling in merge_reloc_rootsJosef Bacik1-2/+23
2021-04-19btrfs: handle extent corruption with select_one_root properlyJosef Bacik1-3/+16
2021-04-19btrfs: cleanup error handling in prepare_to_mergeJosef Bacik1-2/+12
2021-04-19btrfs: do not panic in __add_reloc_rootJosef Bacik1-1/+5
2021-04-19btrfs: handle __add_reloc_root failures in btrfs_recover_relocationJosef Bacik1-2/+11
2021-04-19btrfs: do proper error handling in create_reloc_inodeJosef Bacik1-2/+37
2021-04-19btrfs: remove the extent item sanity checks in relocate_block_groupJosef Bacik1-28/+1
2021-04-19btrfs: handle extent reference errors in do_relocationJosef Bacik1-4/+5
2021-04-19btrfs: handle errors in reference count manipulation in replace_pathJosef Bacik1-4/+16
2021-04-19btrfs: handle btrfs_search_slot failure in replace_pathJosef Bacik1-1/+5
2021-04-19btrfs: handle btrfs_cow_block errors in replace_pathJosef Bacik1-2/+10
2021-04-19btrfs: convert logic BUG_ON()'s in replace_path to ASSERT()'sJosef Bacik1-3/+3
2021-04-19btrfs: do proper error handling in btrfs_update_reloc_rootJosef Bacik1-4/+2
2021-04-19btrfs: handle btrfs_update_reloc_root failure in prepare_to_mergeJosef Bacik1-1/+12
2021-04-19btrfs: handle btrfs_update_reloc_root failure in insert_dirty_subvolJosef Bacik1-1/+4
2021-04-19btrfs: change insert_dirty_subvol to return errorsJosef Bacik1-5/+10
2021-04-19btrfs: validate root::reloc_root after recording root in transJosef Bacik1-0/+15
2021-04-19btrfs: do proper error handling in create_reloc_rootJosef Bacik1-6/+28
2021-04-19btrfs: have proper error handling in btrfs_init_reloc_rootJosef Bacik1-1/+7
2021-04-19btrfs: handle btrfs_record_root_in_trans failure in relocate_tree_blockJosef Bacik1-1/+3
2021-04-19btrfs: do proper error handling in record_reloc_root_in_transJosef Bacik1-2/+21
2021-04-19btrfs: check record_root_in_trans related failures in select_reloc_rootJosef Bacik1-2/+7
2021-04-19btrfs: convert BUG_ON()'s in select_reloc_root() to proper errorsJosef Bacik1-4/+43
2021-04-19btrfs: handle errors from select_reloc_root()Josef Bacik1-3/+12
2021-04-19btrfs: convert BUG_ON()'s in relocate_tree_blockJosef Bacik1-2/+22
2021-04-19btrfs: convert some BUG_ON()'s to ASSERT()'s in do_relocationJosef Bacik1-3/+16
2021-04-19btrfs: use btrfs_inode_lock/btrfs_inode_unlock inode lock helpersJosef Bacik1-2/+2
2021-02-09btrfs: zoned: enable relocation on a zoned filesystemNaohiro Aota1-2/+32
2021-02-08btrfs: introduce btrfs_subpage for data inodesQu Wenruo1-2/+9
2021-02-08btrfs: fix reloc root leak with 0 ref reloc roots on recoveryJosef Bacik1-3/+1
2021-02-08btrfs: keep track of the root owner for relocation readsJosef Bacik1-3/+43
2021-02-08btrfs: noinline btrfs_should_cancel_balanceJosef Bacik1-1/+1
2021-02-08btrfs: rename btrfs_find_free_objectid to btrfs_get_free_objectidNikolay Borisov1-1/+1
2021-01-07btrfs: reloc: fix wrong file extent type check to avoid false ENOENTQu Wenruo1-1/+6
2020-12-09btrfs: remove inode number cache featureNikolay Borisov1-1/+0
2020-12-08btrfs: remove err variable from do_relocationNikolay Borisov1-21/+12
2020-12-08btrfs: eliminate err variable from merge_reloc_rootNikolay Borisov1-17/+7
2020-12-08btrfs: pass the owner_root and level to alloc_extent_bufferJosef Bacik1-1/+2
2020-12-08btrfs: pass root owner to read_tree_blockJosef Bacik1-2/+2
2020-12-08btrfs: use btrfs_read_node_slot in replace_pathJosef Bacik1-9/+1
2020-12-08btrfs: use btrfs_read_node_slot in do_relocationJosef Bacik1-11/+1
2020-12-08btrfs: use btrfs_read_node_slot in walk_down_reloc_treeJosef Bacik1-13/+2
2020-12-08btrfs: cleanup extent buffer readaheadJosef Bacik1-1/+1
2020-12-08btrfs: locking: remove all the blocking helpersJosef Bacik1-4/+0
2020-12-08btrfs: add set/get accessors for root_item::drop_levelDavid Sterba1-5/+5
2020-11-05btrfs: fix min reserved size calculation in merge_reloc_rootJosef Bacik1-1/+3
2020-10-07btrfs: introduce BTRFS_NESTING_COW for cow'ing blocksJosef Bacik1-4/+7
2020-07-27btrfs: relocation: review the call sites which can be interrupted by signalQu Wenruo1-2/+10
2020-07-27btrfs: relocation: allow signal to cancel balanceQu Wenruo1-1/+2
2020-07-27btrfs: make prealloc_file_extent_cluster take btrfs_inodeNikolay Borisov1-12/+12
2020-07-27btrfs: make btrfs_free_reserved_data_space_noquota take btrfs_fs_infoNikolay Borisov1-1/+1
2020-07-27btrfs: make btrfs_set_extent_delalloc take btrfs_inodeNikolay Borisov1-2/+2
2020-07-27btrfs: use for loop in prealloc_file_extent_clusterNikolay Borisov1-3/+2
2020-07-27btrfs: perform data management operations outside of inode lockNikolay Borisov1-7/+5
2020-07-27btrfs: remove hole check in prealloc_file_extent_clusterNikolay Borisov1-3/+0
2020-07-27btrfs: make btrfs_reloc_clone_csums take btrfs_inodeNikolay Borisov1-4/+4
2020-07-27btrfs: make btrfs_lookup_ordered_extent take btrfs_inodeNikolay Borisov1-1/+1
2020-07-27btrfs: use btrfs_alloc_data_chunk_ondemand() when allocating space for reloca...Filipe Manana1-8/+6
2020-05-25btrfs: simplify iget helpersDavid Sterba1-11/+2
2020-05-25btrfs: open code read_fs_rootDavid Sterba1-12/+9
2020-05-25btrfs: simplify root lookup by idDavid Sterba1-7/+1
2020-05-25btrfs: reloc: clear DEAD_RELOC_TREE bit for orphan roots to prevent runaway b...Qu Wenruo1-0/+2
2020-05-25btrfs: reloc: fix reloc root leak and NULL pointer dereferenceQu Wenruo1-3/+9
2020-05-25btrfs: don't set SHAREABLE flag for data reloc treeQu Wenruo1-11/+5
2020-05-25btrfs: rename BTRFS_ROOT_REF_COWS to BTRFS_ROOT_SHAREABLEQu Wenruo1-11/+14
2020-05-25btrfs: remove the redundant parameter level in btrfs_bin_search()Qu Wenruo1-5/+3
2020-05-25btrfs: use list_for_each_entry_safe in free_reloc_rootsNikolay Borisov1-11/+5
2020-05-25btrfs: reloc: move error handling of build_backref_tree() to backref.cQu Wenruo1-47/+1
2020-05-25btrfs: backref: rename and move finish_upper_links()Qu Wenruo1-115/+1
2020-05-25btrfs: backref: rename and move handle_one_tree_block()Qu Wenruo1-355/+2
2020-05-25btrfs: reloc: open code read_fs_root() for handle_indirect_tree_backref()Qu Wenruo1-1/+5
2020-05-25btrfs: backref: rename and move should_ignore_root()Qu Wenruo1-4/+6
2020-05-25btrfs: backref: rename and move backref_tree_panic()Qu Wenruo1-20/+9
2020-05-25btrfs: backref: rename and move backref_cache_cleanup()Qu Wenruo1-31/+1
2020-05-25btrfs: backref: rename and move remove_backref_node()Qu Wenruo1-48/+5
2020-05-25btrfs: backref: rename and move drop_backref_node()Qu Wenruo1-38/+7
2020-05-25btrfs: backref: rename and move free_backref_(node|edge)Qu Wenruo1-31/+11
2020-05-25btrfs: backref: rename and move link_backref_edge()Qu Wenruo1-19/+4
2020-05-25btrfs: backref: rename and move alloc_backref_edge()Qu Wenruo1-14/+3
2020-05-25btrfs: backref: rename and move alloc_backref_node()Qu Wenruo1-26/+6
2020-05-25btrfs: backref: rename and move backref_cache_init()Qu Wenruo1-17/+1
2020-05-25btrfs: rename tree_entry to rb_simple_node and export itQu Wenruo1-77/+32
2020-05-25btrfs: backref: move btrfs_backref_(node|edge|cache) structures to backref.hQu Wenruo1-113/+0
2020-05-25btrfs: reloc: add btrfs_ prefix for backref_node/edge/cacheQu Wenruo1-137/+141
2020-05-25btrfs: reloc: refactor useless nodes handling into its own functionQu Wenruo1-37/+76
2020-05-25btrfs: reloc: refactor finishing part of upper linkage into finish_upper_links()Qu Wenruo1-69/+117
2020-05-25btrfs: reloc: remove the open-coded goto loop for breadth-first searchQu Wenruo1-81/+88
2020-05-25btrfs: reloc: pass essential members for alloc_backref_node()Qu Wenruo1-20/+20
2020-05-25btrfs: reloc: use wrapper to replace open-coded edge linkingQu Wenruo1-16/+37
2020-05-25btrfs: reloc: refactor indirect tree backref processing into its own functionQu Wenruo1-135/+159
2020-05-25btrfs: reloc: refactor direct tree backref processing into its own functionQu Wenruo1-52/+78
2020-05-25btrfs: reloc: make reloc root search-specific for relocation backref cacheQu Wenruo1-11/+39
2020-05-25btrfs: reloc: add backref_cache::fs_info memberQu Wenruo1-2/+6
2020-05-25btrfs: reloc: add backref_cache::pending_edge and backref_cache::useless_nodeQu Wenruo1-28/+46
2020-05-25btrfs: reloc: rename mark_block_processed and __mark_block_processedQu Wenruo1-34/+22
2020-05-25btrfs: reloc: use btrfs_backref_iter infrastructureQu Wenruo1-129/+62
2020-04-23btrfs: fix transaction leak in btrfs_recover_relocationXiyu Yang1-0/+1
2020-04-17btrfs: fix setting last_trans for reloc rootsJosef Bacik1-2/+17
2020-04-08btrfs: check commit root generation in should_ignore_rootJosef Bacik1-2/+2