aboutsummaryrefslogtreecommitdiffstats
path: root/repair
AgeCommit message (Expand)AuthorFilesLines
2024-04-23xfs_repair: Dump both inode details in Phase 6 duplicate file checkfor-nextSrikanth C S1-21/+30
2024-04-23xfs_repair: catch strtol() errorsAndrey Albershteyn1-1/+39
2024-04-23xfs_repair: make duration take time_tAndrey Albershteyn5-8/+9
2024-04-17xfs_repair: support more than INT_MAX block mapsDarrick J. Wong4-16/+18
2024-04-17xfs_repair: don't create block maps for data filesDarrick J. Wong1-2/+8
2024-04-17xfs_repair: constrain attr fork extent countDarrick J. Wong1-0/+6
2024-04-17xfs_repair: clean up lock resourcesDarrick J. Wong1-0/+9
2024-04-17xfs_repair: support more than 2^32 owners per physical blockDarrick J. Wong2-10/+9
2024-04-17xfs_repair: support more than 2^32 rmapbt records per AGDarrick J. Wong2-5/+5
2024-04-17xfs_repair: slab and bag structs need to track more than 2^32 itemsDarrick J. Wong2-35/+37
2024-04-17xfs_repair: rebuild block mappings from rmapbt dataDarrick J. Wong9-10/+1041
2024-04-17xfs_repair: sync bulkload data structures with kernel newbt codeDarrick J. Wong4-31/+68
2024-04-17xfs_repair: push inode buf and dinode pointers all the way to inode fork proc...Darrick J. Wong3-43/+57
2024-04-17libxfs: refactor the fs_topology structureChristoph Hellwig1-1/+1
2024-04-17xfs_repair: double-check with shortform attr verifiersDarrick J. Wong1-0/+17
2024-04-17xfs_repair: bulk load records into new btree blocksDarrick J. Wong1-65/+84
2024-04-17xfs_repair: adjust btree bulkloading slack computations to match online repairDarrick J. Wong1-4/+5
2024-04-17xfs: remove xfs_attr_sf_hdr_tChristoph Hellwig2-5/+5
2024-04-17xfs: remove struct xfs_attr_shortformChristoph Hellwig2-34/+31
2024-04-17xfs: make if_data a void pointerChristoph Hellwig1-5/+4
2024-04-17xfs: remove rt-wrappers from xfs_format.hChristoph Hellwig1-4/+2
2024-04-17xfs: constrain dirty buffers while formatting a staged btreeDarrick J. Wong1-0/+1
2024-04-17xfs: move btree bulkload record initialization to ->get_record implementationsDarrick J. Wong1-14/+42
2024-04-17xfs: don't allow overly small or large realtime volumesDarrick J. Wong1-0/+3
2024-04-17xfs: make rextslog computation consistent with mkfsDarrick J. Wong1-2/+1
2024-04-17xfs_{db,repair}: use m_blockwsize instead of sb_blocksize for rt blocksDarrick J. Wong2-6/+7
2024-04-17xfs_{db,repair}: use accessor functions for summary info wordsDarrick J. Wong5-10/+29
2024-04-17xfs_{db,repair}: use helpers for rtsummary block/wordcount computationsDarrick J. Wong1-1/+4
2024-04-17xfs_{db,repair}: use accessor functions for bitmap wordsDarrick J. Wong5-13/+21
2024-04-17xfs_repair: convert helpers for rtbitmap block/wordcount computationsDarrick J. Wong1-5/+5
2024-04-17xfs_{db,repair}: convert open-coded xfs_rtword_t pointer accesses to helperDarrick J. Wong1-2/+10
2024-04-17xfs_repair: convert utility to use new rt extent helpers and typesDarrick J. Wong8-31/+34
2024-04-17xfs_repair: fix confusing rt space units in the duplicate detection codeDarrick J. Wong4-58/+59
2024-04-17libxfs: fix incorrect porting to 6.7Darrick J. Wong1-1/+0
2024-03-13repair: refactor the BLKMAP_NEXTS_MAX checkChristoph Hellwig2-21/+15
2024-02-16Remove use of LFS64 interfacesViolet Purcell1-1/+1
2024-02-15xfs: convert rt summary macros to helpersDarrick J. Wong1-2/+3
2023-12-18libxfs: split out a libxfs_dev structure from struct libxfs_initChristoph Hellwig4-21/+19
2023-12-18libxfs: stash away the device fd in struct xfs_buftargChristoph Hellwig1-1/+1
2023-12-18xfs_repair: remove various libxfs_device_to_fd callsChristoph Hellwig1-8/+5
2023-12-18libxfs: making passing flags to libxfs_init less confusingChristoph Hellwig1-7/+8
2023-12-18libxfs: pass a struct libxfs_init to libxfs_mountChristoph Hellwig1-1/+1
2023-12-18libxfs: rename struct libxfs_xinit to libxfs_initChristoph Hellwig4-6/+6
2023-12-18libxlog: remove the global libxfs_xinit x structureChristoph Hellwig2-0/+4
2023-12-18libxlog: don't require a libxfs_xinit structure for xlog_initChristoph Hellwig1-1/+1
2023-12-18libxlog: add a helper to initialize a xlog without clobbering the x structureChristoph Hellwig1-22/+1
2023-12-18libxfs: remove the volname conceptChristoph Hellwig1-9/+2
2023-11-21repair: fix the call to search_rt_dup_extent in scan_bmapbtChristoph Hellwig1-2/+4
2023-10-05xfs_repair: set aformat and anextents correctly when clearing the attr forkDarrick J. Wong1-2/+0
2023-08-02xfs_repair: fix the problem of repair failure caused by dirty flag being abno...Wu Guanghao1-1/+1
2023-07-12xfs_repair: warn about unwritten bits set in rmap btree keysDarrick J. Wong1-0/+28
2023-07-12xfs_repair: check low keys of rmap btreesDarrick J. Wong1-1/+31
2023-07-12xfs_repair: always perform extended xattr checks on uncertain inodesDarrick J. Wong1-2/+4
2023-07-12xfs_repair: don't add junked entries to the rebuilt directoryDarrick J. Wong1-1/+2
2023-07-12xfs_repair: fix messaging when fixing imap due to sparse clusterDarrick J. Wong1-1/+1
2023-07-12xfs_repair: fix messaging in longform_dir2_entry_check_dataDarrick J. Wong1-2/+1
2023-07-12xfs_repair: fix messaging when shortform_dir2_junk is calledDarrick J. Wong1-10/+7
2023-07-12xfs_repair: don't log inode problems without printing resolutionDarrick J. Wong1-13/+10
2023-07-12xfs_repair: don't spray correcting imap all by itselfDarrick J. Wong1-4/+2
2023-06-09xfs: pass per-ag references to xfs_free_extentDarrick J. Wong1-1/+9
2023-05-10xfs_repair: dont leak buffer when discarding directoriesDarrick J. Wong1-1/+5
2023-05-10xfs_repair: estimate per-AG btree slack betterDarrick J. Wong5-16/+143
2023-05-10xfs: perags need atomic operational stateDave Chinner1-2/+2
2023-05-10xfs: inobt can use perags in many more places than it doesDave Chinner1-4/+4
2023-04-21misc: test the dir/attr hash before formatting or repairing fsDarrick J. Wong1-0/+5
2023-03-17xfs_repair: fix incorrect dabtree hashval comparisonDarrick J. Wong1-1/+1
2022-12-09xfs_repair: Fix rmaps_verify_btree() error pathorigin/for-next_2022-12-13Carlos Maiolino1-11/+10
2022-12-09xfs_repair: Fix check_refcount() error pathCarlos Maiolino1-12/+10
2022-12-09xfs_{db,repair}: fix XFS_REFC_COW_START usageDarrick J. Wong1-6/+16
2022-12-09xfs_repair: retain superblock buffer to avoid write hook deadlockDarrick J. Wong3-9/+75
2022-12-09xfs_repair: don't crash on unknown inode parents in dry run modeDarrick J. Wong1-1/+8
2022-12-09misc: add static to various sourcefile-local functionsDarrick J. Wong1-1/+1
2022-11-21xfs: rename XFS_REFC_COW_START to _COWFLAGDarrick J. Wong1-3/+3
2022-11-21xfs: track cow/shared record domains explicitly in xfs_refcount_irecDarrick J. Wong1-4/+14
2022-11-21xfs: rearrange the logic and remove the broken comment for xfs_dir2_isxxShida Zhang1-3/+3
2022-08-30xfs: use XFS_IFORK_Q to determine the presence of an xattr forkDarrick J. Wong1-6/+3
2022-08-30xfs: make inode attribute forks a permanent part of struct xfs_inodeDarrick J. Wong1-6/+6
2022-08-30xfs: convert XFS_IFORK_PTR to a static inline helperDarrick J. Wong2-3/+3
2022-08-30xfs: Pre-calculate per-AG agino geometryDave Chinner3-7/+20
2022-08-30xfs: Pre-calculate per-AG agbno geometryDave Chinner1-15/+45
2022-08-30xfs: pass perag to xfs_alloc_read_agf()Dave Chinner1-7/+9
2022-08-12xfs_repair: fix printf format specifiers on 32-bit platformsDarrick J. Wong1-4/+4
2022-08-04xfs_repair: Add support for upgrading to large extent countersChandan Babu R4-0/+37
2022-08-04xfs_repair: check filesystem geometry before allowing upgradesDarrick J. Wong1-9/+104
2022-07-13xfs_repair: Search for conflicts in inode_tree_ptrs[] when processing uncerta...Chandan Babu R1-2/+1
2022-07-13xfs_repair: ignore empty xattr leaf blocksDarrick J. Wong1-0/+20
2022-07-13xfs_repair: check the rt summary against observationsDarrick J. Wong3-75/+8
2022-07-13xfs_repair: check the rt bitmap against observationsDarrick J. Wong3-94/+86
2022-07-13xfs_repair: check free rt extent countDarrick J. Wong4-4/+20
2022-07-12xfs_repair: detect and fix padding fields that changed with nrext64Darrick J. Wong1-0/+20
2022-07-12xfs_repair: clear DIFLAG2_NREXT64 when filesystem doesn't support nrext64Darrick J. Wong1-0/+13
2022-07-12xfs_repair: don't flag log_incompat inconsistencies as corruptionsDarrick J. Wong1-3/+12
2022-07-12xfs_repair: always rewrite secondary supers when needsrepair is setDarrick J. Wong1-0/+8
2022-07-12misc: fix unsigned integer comparison complaintsDarrick J. Wong1-4/+10
2022-06-22xfs: simplify xfs_rmap_lookup_le call sitesDarrick J. Wong1-10/+2
2022-06-22xfs: Introduce per-inode 64-bit extent countersChandan Babu R1-3/+13
2022-06-22xfs: Introduce macros to represent new maximum extent counts for data/attr forksChandan Babu R1-2/+6
2022-06-22xfs: Promote xfs_extnum_t and xfs_aextnum_t to 64 and 32-bits respectivelyChandan Babu R2-13/+13
2022-06-22xfs: Introduce xfs_dfork_nextents() helperChandan Babu R3-22/+25
2022-06-22xfs: Use xfs_extnum_t instead of basic data typesChandan Babu R4-24/+24
2022-06-22xfs: Introduce xfs_iext_max_nextents() helperChandan Babu R1-2/+2
2022-06-22xfs: Define max extent length based on on-disk format definitionChandan Babu R1-1/+1
2022-05-17xfs_repair: check the ftype of dot and dotdot directory entriesDarrick J. Wong1-25/+54
2022-05-17xfs_repair: improve error reporting when checking rmap and refcount btreesDarrick J. Wong3-37/+52
2022-05-17xfs_repair: detect v5 featureset mismatches in secondary supersDarrick J. Wong1-0/+92
2022-05-17xfs_repair: fix sizing of the incore rt space usage map calculationDarrick J. Wong1-1/+1
2022-05-17xfs_repair: warn about suspicious btree levels in AG headersDarrick J. Wong1-3/+26
2022-04-28xfs_repair: stop using XFS_BTREE_MAXLEVELSDarrick J. Wong1-2/+2
2022-04-28xfs: remove the xfs_dqblk_t typedefChristoph Hellwig1-2/+2
2022-04-28xfs: remove the xfs_dsb_t typedefChristoph Hellwig1-3/+3
2022-04-28xfs: remove the xfs_dinode_t typedefChristoph Hellwig12-243/+255
2022-04-27xfs_repair: fix AG header btree level comparisonsDarrick J. Wong1-2/+2
2022-03-10xfs_repair: don't guess about failure reason in phase6Eric Sandeen1-21/+9
2022-02-25xfs_repair: update secondary superblocks after changing featuresDarrick J. Wong4-0/+18
2022-02-25xfs_repair: fix indentation problems in upgrade_filesystemDarrick J. Wong1-19/+18
2022-02-25xfs_repair: use format specifier for directory inode numbers in do_warnDarrick J. Wong1-1/+1
2022-02-25xfs_repair: explicitly cast resource usage counts in do_warnDarrick J. Wong1-3/+6
2022-02-25misc: add a crc32c self test to mkfs and repairDarrick J. Wong1-0/+5
2022-02-03xfs: convert bp->b_bn references to xfs_buf_daddr()Dave Chinner3-9/+9
2022-01-31xfs: introduce xfs_buf_daddr()Dave Chinner2-12/+12
2022-01-31libxfs: use opstate flags and functions for libxfs mount optionsDarrick J. Wong1-1/+1
2022-01-31xfs: kill xfs_sb_version_has_v3inode()Dave Chinner2-2/+2
2022-01-31xfs_{copy,db,logprint,repair}: replace xfs_sb_version checks with feature fla...Darrick J. Wong16-97/+97
2022-01-31xfs: replace xfs_sb_version checks with feature flag checksDave Chinner1-1/+1
2022-01-31xfs: reflect sb features in xfs_mountDave Chinner2-1/+7
2022-01-31xfs_{copy,db,logprint,repair}: pass xfs_mount pointers instead of xfs_sb poin...Darrick J. Wong3-46/+44
2022-01-31xfsprogs: fix static build problems caused by liburcuTheodore Ts'o1-1/+1
2021-12-02libxfs: fix atomic64_t poorly for 32-bit architecturesDarrick J. Wong1-1/+1
2021-10-15xfs: remove agno from btree cursorDave Chinner1-2/+2
2021-10-15xfs: use perag for ialloc btree cursorsDave Chinner3-5/+6
2021-10-15xfs: convert allocbt cursors to use peragsDave Chinner3-5/+6
2021-10-15xfs: convert refcount btree cursor to use peragsDave Chinner4-5/+6
2021-10-15xfs: convert rmap btree cursor to using a peragDave Chinner4-9/+15
2021-10-15xfs: add a perag to the btree cursorDave Chinner1-18/+20
2021-10-01misc: convert utilities to use "fallthrough;"Darrick J. Wong3-13/+13
2021-09-29libfrog: move topology.[ch] to libxfsDarrick J. Wong1-1/+0
2021-09-29xfsprogs: introduce liburcu supportDave Chinner3-4/+11
2021-07-28xfs_repair: invalidate dirhash entry when junking direntDarrick J. Wong1-0/+18
2021-07-28xfs_repair: validate alignment of inherited rt extent hintsDarrick J. Wong1-20/+51
2021-06-30xfs: remove XFS_IFEXTENTSChristoph Hellwig2-24/+16
2021-06-30xfs: move the di_crtime field to struct xfs_inodeChristoph Hellwig1-1/+2
2021-06-30xfs: move the di_flags2 field to struct xfs_inodeChristoph Hellwig1-3/+4
2021-06-30xfs: move the di_flags field to struct xfs_inodeChristoph Hellwig1-0/+1
2021-06-30xfs: move the di_forkoff field to struct xfs_inodeChristoph Hellwig1-0/+1
2021-06-30xfs: move the di_flushiter field to struct xfs_inodeChristoph Hellwig1-0/+1
2021-06-30xfs: move the di_cowextsize field to struct xfs_inodeChristoph Hellwig1-0/+1
2021-06-30xfs: move the di_extsize field to struct xfs_inodeChristoph Hellwig1-0/+1
2021-06-30xfs: move the di_nblocks field to struct xfs_inodeChristoph Hellwig2-1/+2
2021-06-30xfs: move the di_size field to struct xfs_inodeChristoph Hellwig1-14/+15
2021-06-30xfs: move the di_projid field to struct xfs_inodeChristoph Hellwig2-1/+2
2021-06-30xfs_repair: refactor resetting incore dinode fields to zeroDarrick J. Wong1-3/+9
2021-04-23repair: fix an uninitialized variable issueGao Xiang1-1/+1
2021-04-15repair: scale duplicate name checking in phase 6.Dave Chinner1-6/+24
2021-04-15repair: convert the dir byaddr hash to a radix treeDave Chinner1-120/+102
2021-04-15repair: don't duplicate names in phase 6Dave Chinner1-72/+29
2021-04-15repair: parallelise phase 6Dave Chinner1-8/+34
2021-04-15repair: protect inode chunk tree records with a mutexDave Chinner2-0/+38
2021-04-15repair: Protect bad inode list with mutexDave Chinner2-13/+23
2021-02-23xfs_repair: enable bigtime upgrade via repairDarrick J. Wong4-0/+36
2021-02-23xfs_repair: enable inobtcount upgrade via repairDarrick J. Wong4-0/+43
2021-02-23xfs_repair: allow upgrades on v5 filesystemsDarrick J. Wong1-0/+40
2021-02-23xfs_repair: add post-phase error injection pointsDarrick J. Wong3-0/+14
2021-02-23xfs_repair: factor phase transitions into a helperDarrick J. Wong1-8/+14
2021-02-23xfs_repair: set NEEDSREPAIR the first time we write to a filesystemDarrick J. Wong1-0/+102
2021-02-23xfs_repair: clear the needsrepair flagDarrick J. Wong2-0/+63
2021-02-23xfs_repair: clear quota CHKD flags on the incore superblock tooDarrick J. Wong1-8/+4
2021-02-23xfs_repair: fix unmount error message to have a newlineDarrick J. Wong1-1/+1
2021-02-12xfs_repair: check dquot id and typeDarrick J. Wong1-3/+55
2021-01-07xfs: remove xfs_buf_t typedeflibxfs-5.11-syncDave Chinner11-23/+23
2021-01-07libxfs: cosmetic changes to libxfs_inode_allocEric Sandeen1-1/+1
2020-12-09xfs_repair: remove obsolete code for handling mountpoint inodesAnthony Iliopoulos2-13/+0
2020-11-24libxfs: get rid of b_bcount from xfs_bufDave Chinner3-9/+11
2020-11-23repair: simplify bmap_next_offsetChristoph Hellwig1-29/+25
2020-11-20libxfs: rename buftarg->dev to btdevDave Chinner1-1/+1
2020-11-20xfs_repair: directly compare refcount recordsDarrick J. Wong1-2/+2
2020-11-20xfs_repair: correctly detect partially written extentsDarrick J. Wong1-61/+105
2020-11-20xfs_repair: skip the rmap and refcount btree checks when the levels are garbageDarrick J. Wong1-10/+26
2020-11-20xfs_repair: support bigtime timestamp checkingDarrick J. Wong2-5/+39
2020-11-20xfs_repair: regenerate inode btree block counters in AGIDarrick J. Wong1-0/+5
2020-11-20xfs_repair: check inode btree block counters in AGIDarrick J. Wong1-3/+26
2020-11-12xfs: Convert xfs_attr_sf macros to inline functionsCarlos Maiolino1-4/+4
2020-11-12xfs: Remove typedef xfs_attr_shortform_tCarlos Maiolino2-13/+13
2020-11-12xfs: remove typedef xfs_attr_sf_entry_tCarlos Maiolino1-10/+10
2020-11-10xfs: redefine xfs_timestamp_tDarrick J. Wong1-1/+4
2020-11-10libxfs: refactor NSEC_PER_SECDarrick J. Wong1-1/+1
2020-10-12xfs_repair: coordinate parallel updates to the rt bitmapDarrick J. Wong4-8/+11
2020-09-30xfs_repair: don't flag RTINHERIT files when no rt volumeDarrick J. Wong1-9/+6
2020-09-30xfs_repair: use libxfs_verify_rtbno to verify rt extentsDarrick J. Wong1-9/+10
2020-09-30xfs_repair: throw away totally bad clustersDarrick J. Wong1-1/+34
2020-09-28xfs_repair: fix handling of data blocks colliding with existing metadataDarrick J. Wong1-22/+11
2020-09-28xfs_repair: complain about unwritten extents when they're not appropriateDarrick J. Wong1-0/+22
2020-09-28xfs_repair: junk corrupt xattr root blocksDarrick J. Wong1-0/+9
2020-09-28xfs_repair: fix error in process_sf_dir2_fixi8Darrick J. Wong1-1/+1
2020-09-28xfs_repair: don't crash on partially sparse inode clustersDarrick J. Wong1-0/+19
2020-09-15xfs: rename the ondisk dquot d_flags to d_typeDarrick J. Wong1-1/+1
2020-09-04xfs: create xfs_dqtype_t to represent quota typesDarrick J. Wong2-6/+6
2020-09-04xfs: rename XFS_DQ_{USER,GROUP,PROJ} to XFS_DQTYPE_*Darrick J. Wong3-23/+23
2020-09-04xfs: drop the type parameter from xfs_dquot_verifyDarrick J. Wong1-2/+4
2020-08-10xfs: move the fork format fields into struct xfs_iforkChristoph Hellwig1-15/+20
2020-08-10xfs: remove the XFS_DFORK_Q macroChristoph Hellwig1-1/+1