aboutsummaryrefslogtreecommitdiffstats
path: root/check
AgeCommit message (Expand)AuthorFilesLines
2024-04-30btrfs-progs: reorder key initializationsDavid Sterba5-17/+17
2024-04-30btrfs-progs: check: add more progress or error messagesDavid Sterba2-7/+14
2024-04-30btrfs-progs: check: print separate messages for damaged critical rootsDavid Sterba1-10/+27
2024-04-30btrfs-progs: check: use bool for option status variablesDavid Sterba2-18/+18
2024-04-18btrfs-progs: check: unify handling of unrecognized optionsDavid Sterba1-4/+4
2024-03-16btrfs-progs: check: make all transaction start failures verboseDavid Sterba1-18/+64
2024-03-16btrfs-progs: check: handle errors in leave_shared_node()David Sterba1-6/+20
2024-03-16btrfs-progs: check: handle errors in enter_shared_node()David Sterba1-27/+37
2024-03-16btrfs-progs: check: handle errors in splice_shared_node() and push the rest t...David Sterba1-7/+17
2024-03-16btrfs-progs: check: handle errors in add_inode_backref() and push the rest to...David Sterba1-11/+27
2024-03-16btrfs-progs: check: free memory on failure in get_inode_rec()David Sterba1-1/+4
2024-03-12btrfs-progs: make all parameters of rb_tree search/insert constDavid Sterba1-22/+22
2024-01-17btrfs-progs: convert: insert a dummy inode item before inode ref for ext2/4Qu Wenruo1-15/+0
2024-01-16btrfs-progs: add extra chunk alignment checksQu Wenruo3-0/+32
2023-12-05btrfs-progs: check: remove inode cache clearing functionalityQu Wenruo1-10/+2
2023-12-05btrfs-progs: docs: update the man page for btrfs check lowmem modeQu Wenruo1-7/+1
2023-11-03btrfs-progs: move space cache removal to rescue groupQu Wenruo1-1/+2
2023-11-03btrfs-progs: check: move --clear-ino-cache to deprecated sectionDavid Sterba1-1/+3
2023-11-03btrfs-progs: check: update error bit definitionsDavid Sterba2-74/+74
2023-11-03btrfs-progs: check: drop unsigned long long casts for printfDavid Sterba3-110/+55
2023-11-03btrfs-progs: check: lowmem, verify the sequence of inline backref itemsQu Wenruo2-0/+32
2023-10-21btrfs-progs: check: check order of inline extent refsMark Harmstone1-1/+41
2023-10-17btrfs-progs: introduce a basic metadata free space reservation checkQu Wenruo1-0/+8
2023-10-13btrfs-progs: move inode cache removal to rescue groupQu Wenruo1-0/+1
2023-10-13btrfs-progs: move clear-cache.[ch] from check/ to common/ directoryQu Wenruo3-650/+1
2023-10-10btrfs-progs: fix all variable shadowingQu Wenruo4-22/+22
2023-10-03btrfs-progs: properly cleanup aborted transactions in checkJosef Bacik1-2/+8
2023-10-03btrfs-progs: clean up includes, using include-what-you-useDavid Sterba8-7/+30
2023-10-03btrfs-progs: update read_tree_block to take a btrfs_parent_tree_checkJosef Bacik5-26/+57
2023-10-03btrfs-progs: update btrfs_del_ptr to match the kernelJosef Bacik1-2/+2
2023-10-03btrfs-progs: replace blocksize with parent argument for btrfs_alloc_tree_blockJosef Bacik1-2/+1
2023-10-03btrfs-progs: make btrfs_del_ptr a voidJosef Bacik1-4/+3
2023-10-03btrfs-progs: move btrfs_set_item_key_unsafe to check/Josef Bacik2-0/+46
2023-10-03btrfs-progs: drop btrfs_init_pathJosef Bacik6-167/+75
2023-10-03btrfs-progs: update btrfs_bin_search to match the kernel definitionJosef Bacik1-1/+1
2023-10-03btrfs-progs: stop using add_root_to_dirty_list in checkJosef Bacik1-2/+6
2023-10-03btrfs-progs: mkfs: add support for squotaBoris Burkov1-2/+5
2023-10-03btrfs-progs: check: add support for squotaBoris Burkov2-3/+79
2023-09-12btrfs-progs: check: add check for metadata level mismatchMark Harmstone2-2/+18
2023-08-28btrfs-progs: fix more typos found by codespellDavid Sterba2-2/+2
2023-07-27btrfs-progs: check: convert int to bool in a few helpersDavid Sterba3-34/+34
2023-07-26btrfs-progs: rename struct open_ctree_flags to open_ctree_argsAnand Jain1-7/+7
2023-06-09btrfs-progs: check: add a specific warning in --help for repairSam James1-1/+1
2023-05-26btrfs-progs: tune: add the ability to generate new data checksumsQu Wenruo1-5/+6
2023-05-26btrfs-progs: sync tree-checker.[ch] from kernelJosef Bacik3-1/+5
2023-05-26btrfs-progs: change btrfs_check_chunk_valid to match the kernel versionJosef Bacik2-6/+3
2023-05-26btrfs-progs: rename btrfs_check_* to __btrfs_check_*Josef Bacik1-2/+2
2023-05-26btrfs-progs: add an atomic parameter to btrfs_buffer_uptodateJosef Bacik2-2/+2
2023-05-26btrfs-progs: update read_tree_block to match the kernel definitionJosef Bacik5-13/+23
2023-05-26btrfs-progs: remove root argument from free_extent and inc_extent_refJosef Bacik3-13/+12
2023-05-26btrfs-progs: add btrfs_locking_nest to btrfs_alloc_tree_blockJosef Bacik1-1/+1
2023-05-26btrfs-progs: rename btrfs_alloc_free_block to btrfs_alloc_tree_blockJosef Bacik1-1/+1
2023-05-26btrfs-progs: copy btrfs_root::state from kernelJosef Bacik1-1/+2
2023-05-26btrfs-progs: sync extent-io-tree.[ch] and misc.h from the kernelJosef Bacik6-30/+36
2023-05-26btrfs-progs: sync file-item.h into progsJosef Bacik4-3/+12
2023-05-26btrfs-progs: sync accessors.[ch] from the kernelJosef Bacik3-7/+7
2023-05-26btrfs-progs: sync uapi/btrfs.h into btrfs-progsJosef Bacik1-1/+1
2023-05-26btrfs-progs: remove parent_key arg from btrfs_check_* helpersJosef Bacik1-2/+2
2023-05-26btrfs-progs: add a btrfs check helper for checking blocksJosef Bacik4-20/+37
2023-05-26btrfs-progs: remove fs_info argument from btrfs_check_* helpersJosef Bacik2-11/+11
2023-05-26btrfs-progs: rename the qgroup structs to match the kernelJosef Bacik1-8/+8
2023-05-26btrfs-progs: introduce UASSERT() for purely userspace codeJosef Bacik4-23/+23
2023-05-26btrfs-progs: tune: add --convert-to-free-space-tree optionQu Wenruo2-2/+3
2023-05-26btrfs-progs: make check/clear-cache.c to be separate from check/main.cQu Wenruo3-46/+51
2023-04-25btrfs-progs: check: document --force + --repairDavid Sterba1-2/+5
2023-02-28btrfs-progs: check: convert help text to option formatterDavid Sterba1-28/+26
2023-02-28btrfs-progs: make usage call properly return an exit valueQu Wenruo1-2/+2
2023-01-25btrfs-progs: check: enhance the error output for backref mismatchQu Wenruo1-54/+109
2023-01-03Revert "btrfs-progs: rename qgroup items to match the kernel naming scheme"David Sterba1-29/+31
2022-11-30btrfs-progs: replace btrfs_leaf_data with btrfs_item_nr_offsetJosef Bacik1-2/+2
2022-11-30btrfs-progs: sync compression.h from the kernelJosef Bacik2-0/+2
2022-11-28btrfs-progs: rename extent buffer flags to EXTENT_BUFFER_*Josef Bacik2-2/+2
2022-11-28btrfs-progs: rename btrfs_item_end to btrfs_item_data_endJosef Bacik1-6/+6
2022-11-28btrfs-progs: make btrfs_qgroup_level helper match the kernelJosef Bacik1-3/+3
2022-11-28btrfs-progs: rename qgroup items to match the kernel naming schemeJosef Bacik1-31/+29
2022-10-26btrfs-progs: unify naming of qgroup subvolid helpersDavid Sterba1-4/+4
2022-10-11btrfs-progs: device-utils: rename btrfs_device_sizeDavid Sterba2-2/+2
2022-10-11btrfs-progs: use template for transaction commit error messagesDavid Sterba1-4/+6
2022-10-11btrfs-progs: use template for transaction start error messagesDavid Sterba4-23/+26
2022-10-11btrfs-progs: use template for out of memory error messagesDavid Sterba2-10/+10
2022-10-11btrfs-progs: check: rename global repair optionDavid Sterba7-76/+77
2022-10-11btrfs-progs: move repair.c from common/ to check/David Sterba7-5/+352
2022-10-11btrfs-progs: check: factor out code for clearing cachesDavid Sterba3-577/+636
2022-10-11btrfs-progs: check: move global variables to common headersDavid Sterba5-45/+52
2022-10-11btrfs-progs: kernel-lib: remove radix-treeDavid Sterba1-2/+0
2022-10-11btrfs-progs: use error helper for messages in non-kernel codeDavid Sterba1-5/+3
2022-10-11btrfs-progs: common: update include lists, part 1David Sterba1-11/+8
2022-10-11btrfs-progs: factor string helpers out of utils.cDavid Sterba1-0/+1
2022-10-11btrfs-progs: check: update include listsDavid Sterba7-10/+43
2022-10-11btrfs-progs: check: reorder includesDavid Sterba5-23/+25
2022-09-12btrfs-progs: separate block group tree from extent tree v2Qu Wenruo1-6/+2
2022-09-12btrfs-progs: free extent buffer after repairing wrong transid ebSu Yue1-0/+1
2022-09-12btrfs-progs: check: verify the underlying block device size is validQu Wenruo2-0/+50
2022-09-10btrfs-progs: fix eb leak caused by missing btrfs_release_path() call.Qu Wenruo1-0/+1
2022-08-16btrfs-progs: check: check for invalid free space tree entriesJosef Bacik1-0/+78
2022-08-16btrfs-progs: add constant for initial getopt valuesDavid Sterba1-1/+1
2022-05-20btrfs-progs: do not use btrfs_commit_transaction() just to update super blocksQu Wenruo2-21/+6
2022-05-17btrfs-progs: remove unused header check/btrfsck.hQu Wenruo1-196/+0
2022-05-17btrfs-progs: check: lowmem, fix path leak when dev extents are invalidQu Wenruo1-0/+2
2022-04-25btrfs-progs: use read_data_from_disk() to replace read_extent_from_disk() and...Qu Wenruo2-3/+3
2022-04-25btrfs-progs: check: fix wrong total bytes check for seed deviceQu Wenruo1-6/+12
2022-04-25btrfs-progs: check: add check for overlong xattr namesMark Harmstone2-0/+50
2022-03-24btrfs-progs: check: add check and repair ability for super num devs mismatchQu Wenruo3-0/+100
2022-03-23btrfs-progs: check: fix two error messages used in qgroup verificationQu Wenruo1-1/+4
2022-03-09btrfs-progs: check: don't do the root item check for extent tree v2Josef Bacik1-0/+3
2022-03-09btrfs-progs: check: handle the block group tree properlyJosef Bacik1-10/+17
2022-03-09btrfs-progs: check: add helper to reinit the root based on a keyJosef Bacik1-30/+58
2022-03-09btrfs-progs: check: make free space tree validation extent tree v2 awareJosef Bacik1-59/+31
2022-03-09btrfs-progs: qgroup-verify: scan extents based on block groupsJosef Bacik1-8/+24
2022-03-09btrfs-progs: check: add block group tree supportJosef Bacik2-3/+22
2022-03-09btrfs-progs: check-lowmem: use the btrfs_block_group_root helperJosef Bacik1-4/+4
2022-03-09btrfs-progs: mkfs: use the btrfs_block_group_root helperJosef Bacik1-2/+2
2022-03-09btrfs-progs: make all of the item/key_ptr offset helpers take an ebJosef Bacik1-6/+7
2022-03-09btrfs-progs: remove the _nr from the item helpersJosef Bacik4-47/+47
2022-03-09btrfs-progs: rename btrfs_item_end_nr to btrfs_item_endJosef Bacik1-6/+6
2022-03-09btrfs-progs: change btrfs_file_extent_inline_item_len to take a slotJosef Bacik2-12/+6
2022-03-09btrfs-progs: add btrfs_set_item_*_nr() helpersJosef Bacik1-9/+5
2022-03-09btrfs-progs: btrfs_item_size_nr/btrfs_item_offset_nr everywhereJosef Bacik1-4/+4
2022-03-08btrfs-progs: handle orphan directories properlyJosef Bacik2-3/+18
2022-03-08btrfs-progs: check: fix check_global_roots_uptodateJosef Bacik1-1/+33
2022-02-01btrfs-progs: check: orig: reject bad metadata backref with invalid levelQu Wenruo1-0/+19
2022-02-01btrfs-progs: check: lowmem: fix crash when METADATA_ITEM has invalid levelQu Wenruo1-1/+12
2022-02-01btrfs-progs: check: handle csum generation properly for --init-csum-tree --in...Qu Wenruo1-4/+48
2022-02-01btrfs-progs: check: don't calculate csum for preallocated file extentsQu Wenruo1-1/+105
2022-02-01btrfs-progs: check: move csum tree population into mode-common.[ch]Qu Wenruo3-244/+246
2021-11-30btrfs-progs: check: change commit condition in fixup_extent_refs()Sidong Yang1-1/+1
2021-11-30btrfs-progs: check: fill csum root from all extent rootsJosef Bacik1-4/+20
2021-11-30btrfs-progs: check: check all of the csum rootsJosef Bacik1-3/+23
2021-11-30btrfs-progs: check: check the global roots for uptodate root nodesJosef Bacik1-11/+19
2021-11-30btrfs-progs: check: make reinit work per found root itemJosef Bacik1-3/+49
2021-11-30btrfs-progs: stop accessing ->extent_root directlyJosef Bacik4-68/+92
2021-11-22btrfs-progs: check: move btrfs_mark_used_tree_blocks to commonJosef Bacik1-104/+0
2021-11-22btrfs-progs: check: abstract out the used marking helpersJosef Bacik1-32/+22
2021-11-22btrfs-progs: stop accessing ->csum_root directlyJosef Bacik2-8/+13
2021-11-22btrfs-progs: check: stop passing csum root aroundJosef Bacik1-13/+9
2021-11-22btrfs-progs: stop passing root to csum related functionsJosef Bacik1-2/+2
2021-11-22btrfs-progs: check: don't walk down non fs-trees for qgroup checkJosef Bacik1-0/+4
2021-11-22btrfs-progs: check: fix set_extent_dirty rangeJosef Bacik1-2/+4
2021-11-18btrfs-progs: check: add check for too many csum entriesMark Harmstone1-2/+15
2021-11-05btrfs-progs: cache csum_size and csum_type in btrfs_fs_infoQu Wenruo2-4/+4
2021-11-05btrfs-progs: fix printf formats on 32bit x86Qu Wenruo1-1/+1
2021-11-04btrfs-progs: check: fix a lowmem mode crash where fatal error is not properly...Qu Wenruo1-2/+2
2021-10-08btrfs-progs: libbtrfs: remove unneeded BTRFS_FLAT_INCLUDES protectionsDavid Sterba1-7/+0
2021-10-08btrfs-progs: libbtrfs: drop radix-tree.h from exported headersDavid Sterba1-0/+1
2021-10-08btrfs-progs: remove root argument from btrfs_fixup_low_keysNikolay Borisov1-3/+2
2021-10-06btrfs-progs: check: fix indentation of --clear-ino-cache optionQu Wenruo1-1/+1
2021-09-20btrfs-progs: introduce OPEN_CTREE_ALLOW_TRANSID_MISMATCH flagQu Wenruo1-1/+2
2021-09-07btrfs-progs: move btrfsck.h to check/David Sterba1-0/+203
2021-09-07btrfs-progs: use btrfs_key for btrfs_check_node() and btrfs_check_leaf()Qu Wenruo2-5/+6
2021-08-26btrfs-progs: check: output proper csum values for --check-data-csumQu Wenruo1-4/+8
2021-08-26btrfs-progs: slightly enhance btrfs_format_csum()Qu Wenruo1-0/+17
2021-08-25btrfs-progs: check: detect and fix problems with super_bytes_usedJosef Bacik1-0/+15
2021-08-25btrfs-progs: check: do not infinite loop on corrupt keys with lowmem modeJosef Bacik1-0/+9
2021-08-25btrfs-progs: check: do not double add unaligned extent recordsJosef Bacik1-0/+19
2021-08-25btrfs-progs: check btrfs_super_used in lowmem checkJosef Bacik2-1/+13
2021-08-25btrfs-progs: propagate extent item errors in lowmem modeJosef Bacik1-0/+1
2021-08-25btrfs-progs: propagate fs root errors in lowmem modeJosef Bacik1-1/+1
2021-08-25btrfs-progs: check: detect and fix invalid used for block groupsJosef Bacik2-4/+87
2021-08-20btrfs-progs: require full nodesize alignement for subpage supportQu Wenruo3-11/+15
2021-07-30btrfs-progs: check/original: detect directory inode with nlinks >= 2Qu Wenruo2-0/+8
2021-07-22btrfs-progs: check: batch v1 space cache inodes when clearingQu Wenruo1-10/+42
2021-06-19btrfs-progs: check: add the ability to reset btrfs_dev_item::bytes_usedQu Wenruo4-3/+80
2021-05-12btrfs-progs: check: continue to check space cache if sb cache_generation is 0Su Yue1-0/+5
2021-05-06btrfs-progs: move repair.[ch] to common/David Sterba4-4/+4
2021-05-06btrfs-progs: mkfs: move btrfs_make_root_dir from utils.cDavid Sterba1-0/+1
2021-05-06btrfs-progs: split open/close helpers from utils.cDavid Sterba1-0/+1
2021-03-24btrfs-progs: pass in fs_info to btrfs_csum_dataJohannes Thumshirn1-1/+1
2021-03-24btrfs-progs: factor open_ctree parameters to a structureDavid Sterba1-2/+7
2021-03-23btrfs-progs: check: fix typos in code comment and 1 typo in warningJaak Ristioja1-3/+3
2021-03-15btrfs-progs: fix false alert on tree block crossing 64K page boundaryQu Wenruo1-1/+1
2021-02-19btrfs-progs: check: detect and warn about tree blocks crossing 64K page boundaryQu Wenruo3-0/+22
2021-01-18btrfs-progs: check: only warn if clearing v1 cache and v2 foundQu Wenruo1-6/+4
2021-01-13btrfs-progs: check: properly exclude leaves for lowmem modeJosef Bacik1-2/+6
2020-12-16btrfs-progs: check: add option to remove ino cacheNikolay Borisov1-1/+177
2020-12-16btrfs-progs: only print the parent or ref root for ref mismatchesJosef Bacik1-2/+4
2020-12-10btrfs-progs: check/original: add ability to repair extent item generationQu Wenruo1-4/+69
2020-12-10btrfs-progs: check/original: don't reset extent generation for check_blockQu Wenruo1-1/+2
2020-12-10btrfs-progs: check/lowmem: add ability to repair extent item generationQu Wenruo3-7/+141
2020-08-31btrfs-progs: check: fix error reporting on root inodeNikolay Borisov1-9/+31
2020-08-31btrfs-progs: check/original: add inode transid detect and repair supportQu Wenruo1-3/+5
2020-08-31btrfs-progs: check/lowmem: add inode transid detect and repair supportQu Wenruo1-4/+7
2020-08-31btrfs-progs: make btrfs_lookup_dir_index in parity with kernel codeMarcos Paulo de Souza1-3/+3
2020-08-31btrfs-progs: move volumes.c to kernel-shared/David Sterba2-2/+2
2020-08-31btrfs-progs: move transaction.c to kernel-shared/David Sterba4-4/+4
2020-08-31btrfs-progs: move ctree.c to kernel-shared/David Sterba7-7/+7
2020-08-31btrfs-progs: move disk-io.c to kernel-shared/David Sterba4-4/+4
2020-08-31btrfs-progs: move print-tree.c to kernel-shared/David Sterba2-2/+2
2020-08-31btrfs-progs: move free-space-tree.c to kernel-shared/David Sterba1-1/+1
2020-08-31btrfs-progs: move extent-cache.c to common/David Sterba1-1/+1
2020-08-31btrfs-progs: remove the unused variable in check_chunks_and_extents_lowmem()Qu Wenruo1-9/+6
2020-08-31btrfs-progs: check: drop unused fs_infoDavid Sterba5-224/+162
2020-08-31btrfs-progs: check: replace local fs_info by global fs_info in mode-lowmem.cDavid Sterba1-141/+138
2020-08-31btrfs-progs: check: replace local fs_info by global fs_info in mode-common.cDavid Sterba1-40/+38
2020-08-31btrfs-progs: check: replace local fs_info by global fs_info in main.cDavid Sterba1-250/+235
2020-08-31btrfs-progs: check: rename global_infoDavid Sterba3-16/+16
2020-05-28btrfs-progs: qgroup-verify: allow repair_qgroups to do silent repairQu Wenruo3-10/+13
2020-05-28btrfs-progs: qgroup-verify: move qgroup classification out of report_qgroupsQu Wenruo3-28/+59
2020-05-28btrfs-progs: qgroup-verify: use fs_info::readonly to check if we should repai...Qu Wenruo1-1/+1
2020-05-28btrfs-progs: qgroup-verify: also repair qgroup status versionQu Wenruo1-0/+2
2020-05-28btrfs-progs: qgroup-verify: avoid NULL pointer dereference for later silent q...Qu Wenruo1-1/+2