aboutsummaryrefslogtreecommitdiffstats
path: root/repair
AgeCommit message (Expand)AuthorFilesLines
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
2020-08-10xfs: remove xfs_ifork_opsChristoph Hellwig4-23/+14
2020-08-05repair: remove custom dir2 sf fork verifier from phase6Brian Foster1-54/+2
2020-08-05repair: use fs rootino for dummy parent value instead of zeroBrian Foster1-3/+2
2020-08-05repair: don't double check dir2 sf parent in phase 4Brian Foster1-0/+9
2020-08-05repair: set the in-core inode parent in phase 3Brian Foster1-8/+1
2020-07-29xfs_repair: skip mount time quotacheck if our quotacheck was okDarrick J. Wong3-1/+12
2020-07-29xfs_repair: check quota values if quota was loadedDarrick J. Wong5-4/+582
2020-07-29xfs_repair: fix clearing of quota CHKD flagsDarrick J. Wong1-2/+5
2020-07-29xfs_repair: alphabetize HFILES and CFILESDarrick J. Wong1-10/+59
2020-07-10xfs_repair: try to fill the AGFL before we fix the freelistDarrick J. Wong1-8/+44
2020-07-10xfs_repair: simplify free space btree calculations in init_freespace_cursorsDarrick J. Wong3-16/+22
2020-07-10xfs_repair: complain about ag header crc errorsDarrick J. Wong1-0/+6
2020-07-10xfs_repair: use bitmap to track blocks lost during btree constructionDarrick J. Wong3-55/+42
2020-07-10xfs_repair: remove old btree rebuild support codeDarrick J. Wong1-242/+0
2020-07-10xfs_repair: rebuild refcount btrees with bulk loaderDarrick J. Wong3-325/+92
2020-07-10xfs_repair: rebuild reverse mapping btrees with bulk loaderDarrick J. Wong3-415/+95
2020-07-10xfs_repair: rebuild inode btrees with bulk loaderDarrick J. Wong3-460/+246
2020-07-10xfs_repair: rebuild free space btrees with bulk loaderDarrick J. Wong3-601/+251
2020-07-10xfs_repair: create a new class of btree rebuild cursorsDarrick J. Wong5-2/+226
2020-07-10xfs_repair: inject lost blocks back into the fs no matter the ownerDarrick J. Wong1-2/+2
2020-07-10xfs_repair: remove gratuitous code block in phase5Eric Sandeen1-154/+138
2020-07-10xfs_repair: make container for btree bulkload root and block reservationDarrick J. Wong4-2/+173
2020-07-10xfs_repair: rename the agfl index loop variable in build_agf_agflDarrick J. Wong1-13/+15
2020-07-10xfs_repair: drop lostblocks from build_agf_agflDarrick J. Wong1-4/+3
2020-07-10xfs_repair: complain about any nonzero inprogress value, not just 1Darrick J. Wong1-2/+1
2020-07-10xfs_repair: complain about extents in unknown stateDarrick J. Wong1-2/+2
2020-07-10xfs_repair: complain about free space only seen by one btreeDarrick J. Wong1-1/+6
2020-07-10xfs_repair: mark entire free space btree record as free1Darrick J. Wong1-1/+1
2020-07-10xfs_repair: remove verify_aginumDarrick J. Wong4-61/+5
2020-07-10xfs_repair: remove verify_dfsbnoDarrick J. Wong5-30/+8
2020-07-10xfs_repair: refactor verify_dfsbno_rangeDarrick J. Wong1-17/+9
2020-07-10xfs_repair: convert to libxfs_verify_agbnoDarrick J. Wong3-29/+23
2020-07-10xfs_repair: complain about bad interior btree pointersDarrick J. Wong1-15/+40
2020-07-10xfs_repair: tag inobt vs finobt errors properlyDarrick J. Wong1-10/+26
2020-07-10xfs_repair: fix rmapbt record order checkDarrick J. Wong1-5/+7
2020-07-10xfs_repair: check for out-of-order inobt recordsDarrick J. Wong1-0/+10
2020-07-10xfs_repair: fix bnobt and refcountbt record order checksDarrick J. Wong1-2/+2
2020-07-10xfs_repair: check for AG btree records that would wrap aroundDarrick J. Wong1-3/+6
2020-07-10xfs_repair: warn when we would have rebuilt a directoryDarrick J. Wong1-0/+3
2020-07-10xfs_repair: fix missing dir buffer corruption checksDarrick J. Wong2-9/+37
2020-07-10xfs_repair: fix rebuilding btree block less than minrecsGao Xiang1-89/+63
2020-05-26xfs_repair: fix progress reportingEric Sandeen3-31/+41
2020-05-11repair: cleanup build_agf_agflChristoph Hellwig1-5/+2
2020-05-09xfsprogs: remove xfs_dir_opsChristoph Hellwig1-1/+0
2020-05-01xfs: remove the di_version field from struct icdinodeChristoph Hellwig1-12/+3
2020-05-01xfs: only check the superblock version for dinode size calculationChristoph Hellwig2-9/+7
2020-05-01xfs: add a new xfs_sb_version_has_v3inode helperChristoph Hellwig2-2/+2
2020-05-01xfs: remove XFS_BUF_TO_SBPChristoph Hellwig4-6/+6
2020-05-01xfs: remove XFS_BUF_TO_AGFChristoph Hellwig2-2/+2
2020-05-01xfs: remove XFS_BUF_TO_AGIChristoph Hellwig3-3/+3
2020-05-01xfs: remove the xfs_agfl_t typedefChristoph Hellwig1-1/+1
2020-05-01xfs: remove the agfl_bno member from struct xfs_agflChristoph Hellwig2-3/+6
2020-04-08xfs_repair: fix dir_read_buf use of libxfs_da_read_bufDarrick J. Wong1-12/+9
2020-04-08xfsprogs: fix silently broken option parsingDave Chinner1-1/+1
2020-03-13xfs: make xfs_buf_read return an error codeDarrick J. Wong7-63/+118
2020-03-13xfs: make xfs_buf_get return an error codeDarrick J. Wong1-38/+100
2020-03-13libxfs: make libxfs_buf_read_map return an error codeDarrick J. Wong1-1/+2
2020-03-13libxfs: make libxfs_buf_get_map return an error codeDarrick J. Wong1-2/+4
2020-03-01libxfs: convert buffer priority get/set macros to functionsDarrick J. Wong1-11/+12
2020-03-01libxfs: rename libxfs_getbuf_map to libxfs_buf_get_mapDarrick J. Wong1-1/+1
2020-03-01libxfs: rename libxfs_readbuf_map to libxfs_buf_read_mapDarrick J. Wong1-1/+1
2020-03-01libxfs: remove unused flags parameter to libxfs_buf_mark_dirtyDarrick J. Wong10-33/+32
2020-03-01libxfs: straighten out libxfs_writebuf naming confusionDarrick J. Wong10-46/+86
2020-03-01libxfs: make libxfs_readbuf_verify return an error codeDarrick J. Wong1-2/+3
2020-03-01libxfs: replace libxfs_readbuf with libxfs_buf_readDarrick J. Wong7-18/+18
2020-03-01libxfs: replace libxfs_getbuf with libxfs_buf_getDarrick J. Wong1-15/+15
2020-03-01libxfs: replace libxfs_putbuf with libxfs_buf_relseDarrick J. Wong12-78/+78
2020-03-01xfs_repair: check that metadata updates have been committedDarrick J. Wong1-1/+8
2020-02-27xfs_repair: join realtime inodes to transaction only onceEric Sandeen1-2/+2
2020-02-27libxfs: clean up libxfs_destroyDarrick J. Wong1-6/+1
2020-02-27xfs_repair: try to correct sb_unit value from secondariesDarrick J. Wong1-0/+79
2020-02-27xfs_repair: check plausibility of root dir pointer before trashing itDarrick J. Wong1-0/+45
2020-02-27xfs_repair: use libxfs function to calculate root inode locationDarrick J. Wong3-77/+11
2020-02-27xfs_repair: refactor fixed inode location checksDarrick J. Wong1-69/+37
2020-02-27xfs_repair: enforce that inode btree chunks can't point to AG headersDarrick J. Wong4-32/+0
2020-02-27xfs_repair: replace verify_inum with libxfs inode validatorsDarrick J. Wong6-48/+14
2020-02-27xfs_repair: don't corrupt a attr fork da3 node when clearing forw/backDarrick J. Wong1-64/+117
2020-02-27xfs_repair: refactor attr root block pointer checkDarrick J. Wong1-6/+6
2020-02-27xfs_repair: fix bad next_unlinked fieldEric Sandeen1-0/+18
2020-01-30xfs_repair: fix totally broken unit conversion in directory invalidationDarrick J. Wong1-6/+4
2020-01-30xfs_repair: don't search for libxfs.h in system headersEric Sandeen2-2/+2