aboutsummaryrefslogtreecommitdiffstats
path: root/scrub
AgeCommit message (Expand)AuthorFilesLines
2019-11-11xfs_scrub: fix complaint about uninitialized retDarrick J. Wong1-1/+1
2019-11-06libfrog: convert workqueue.c functions to negative error codesDarrick J. Wong7-24/+24
2019-11-06libfrog: convert scrub.c functions to negative error codesDarrick J. Wong1-97/+99
2019-11-06libfrog: convert ptvar.c functions to negative error codesDarrick J. Wong4-12/+12
2019-11-06libfrog: convert bulkstat.c functions to negative error codesDarrick J. Wong2-14/+14
2019-11-06libfrog: convert fsgeom.c functions to negative error codesDarrick J. Wong1-2/+2
2019-11-06libfrog: convert bitmap.c to negative error codesDarrick J. Wong1-6/+6
2019-11-06xfs_scrub: remove moveon from main programDarrick J. Wong9-152/+73
2019-11-06xfs_scrub: remove XFS_ITERATE_INODES_ABORT from inode iteratorDarrick J. Wong2-3/+4
2019-11-06xfs_scrub: remove moveon from phase 1 functionsDarrick J. Wong3-24/+32
2019-11-06xfs_scrub: remove moveon from phase 2 functionsDarrick J. Wong1-33/+55
2019-11-06xfs_scrub: remove moveon from phase 3 functionsDarrick J. Wong1-25/+48
2019-11-06xfs_scrub: remove moveon from phase 4 functionsDarrick J. Wong1-37/+49
2019-11-06xfs_scrub: remove moveon from phase 5 functionsDarrick J. Wong1-87/+97
2019-11-06xfs_scrub: remove moveon from phase 6 functionsDarrick J. Wong1-72/+82
2019-11-06xfs_scrub: remove moveon from phase 7 functionsDarrick J. Wong1-20/+20
2019-11-06xfs_scrub: remove moveon from repair action list helpersDarrick J. Wong10-140/+142
2019-11-06xfs_scrub: remove moveon from scrub ioctl wrappersDarrick J. Wong8-87/+102
2019-11-06xfs_scrub: remove moveon from progress report helpersDarrick J. Wong3-10/+18
2019-11-06xfs_scrub: remove moveon from unicode name collision helpersDarrick J. Wong3-60/+80
2019-11-06xfs_scrub: remove moveon from spacemapDarrick J. Wong4-104/+108
2019-11-06xfs_scrub: remove moveon from vfs directory tree iterationDarrick J. Wong3-40/+54
2019-11-06xfs_scrub: remove moveon from inode iterationDarrick J. Wong5-85/+67
2019-11-06xfs_scrub: remove moveon from the fscounters functionsDarrick J. Wong4-92/+68
2019-11-06xfs_scrub: remove moveon from filemap iterationDarrick J. Wong3-95/+74
2019-11-06xfs_scrub: implement background mode for phase 6Darrick J. Wong1-4/+17
2019-11-06xfs_scrub: adapt phase5 to deferred descriptionsDarrick J. Wong3-42/+69
2019-11-06xfs_scrub: implement deferred description string renderingDarrick J. Wong5-32/+186
2019-11-06xfs_scrub: bump work_threads to include the controller threadDarrick J. Wong1-0/+7
2019-11-01xfs_scrub: create a new category for unfixable errorsDarrick J. Wong7-8/+30
2019-11-01xfs_scrub: refactor xfs_scrub_excessive_errorsDarrick J. Wong1-3/+10
2019-11-01xfs_scrub: promote some of the str_info to str_error callsDarrick J. Wong2-11/+10
2019-11-01xfs_scrub: explicitly track corruptions, not just errorsDarrick J. Wong8-19/+34
2019-11-01xfs_scrub: clean up error level tableDarrick J. Wong1-5/+20
2019-11-01xfs_scrub: simplify post-run reporting logicDarrick J. Wong1-11/+7
2019-11-01xfs_scrub: fix misclassified error reportingDarrick J. Wong4-5/+5
2019-11-01xfs_scrub: refactor xfs_iterate_inodes_range_checkDarrick J. Wong1-16/+24
2019-11-01xfs_scrub: clean out the nproc global variableDarrick J. Wong3-9/+2
2019-11-01xfs_scrub: fix media verification thread pool size calculationsDarrick J. Wong1-5/+3
2019-11-01xfs_scrub: request fewer bmaps when we canDarrick J. Wong1-1/+7
2019-11-01xfs_scrub: reduce fsmap activity for media errorsDarrick J. Wong1-53/+114
2019-11-01xfs_scrub: don't report media errors on unwritten extentsDarrick J. Wong1-0/+4
2019-11-01xfs_scrub: improve reporting of file metadata media errorsDarrick J. Wong1-0/+11
2019-11-01xfs_scrub: better reporting of metadata media errorsDarrick J. Wong1-7/+5
2019-11-01xfs_scrub: improve reporting of file data media errorsDarrick J. Wong1-5/+47
2019-11-01xfs_scrub: separate media error reporting for attribute forksDarrick J. Wong1-7/+38
2019-11-01libfrog/xfs_scrub: improve iteration function documentationDarrick J. Wong4-0/+24
2019-11-01xfs_scrub: don't allow zero or negative error injection intervalDarrick J. Wong1-0/+4
2019-11-01xfs_scrub: report repair activities on stdout, not stderrDarrick J. Wong2-2/+2
2019-10-16xfs_scrub: simulate errors in the read-verify phaseDarrick J. Wong2-0/+69
2019-10-16xfs_scrub: fix read verify disk error handling strategyDarrick J. Wong1-12/+74
2019-10-16xfs_scrub: return bytes verified from a SCSI VERIFY commandDarrick J. Wong1-2/+2
2019-10-16xfs_scrub: enforce read verify pool minimum io sizeDarrick J. Wong1-0/+14
2019-10-16xfs_scrub: record disk LBA sizeDarrick J. Wong2-5/+5
2019-10-16xfs_scrub: refactor inode prefix rendering codeDarrick J. Wong7-25/+57
2019-10-16xfs_scrub: only call read_verify_force_io once per poolDarrick J. Wong2-20/+22
2019-10-16xfs_scrub: fix queue-and-stash of non-contiguous verify requestsDarrick J. Wong1-2/+7
2019-10-16xfs_scrub: fix read-verify pool error communication problemsDarrick J. Wong3-79/+105
2019-10-16xfs_scrub: abort all read verification work immediately on errorDarrick J. Wong3-3/+14
2019-10-16xfs_scrub: fix handling of read-verify pool runtime errorsDarrick J. Wong1-4/+23
2019-10-16xfs_scrub: fix error handling problems in vfs.cDarrick J. Wong1-6/+21
2019-10-16xfs_scrub: move all the queue_subdir error reporting to callersDarrick J. Wong1-13/+16
2019-10-16xfs_scrub: check progress bar timedwait failuresDarrick J. Wong1-1/+3
2019-10-16xfs_scrub: report all progressbar creation failuresDarrick J. Wong1-1/+3
2019-10-16xfs_scrub: fix per-thread counter error communication problemsDarrick J. Wong5-30/+53
2019-10-16libfrog: fix bitmap error communication problemsDarrick J. Wong1-9/+11
2019-10-16libfrog: fix per-thread variable error communication problemsDarrick J. Wong3-18/+35
2019-10-15xfs_scrub: redistribute read verify pool flush and destroy responsibilitiesDarrick J. Wong2-3/+8
2019-10-15libfrog: split workqueue destroy functionsDarrick J. Wong7-1/+37
2019-10-15libfrog: fix workqueue error communication problemsDarrick J. Wong7-25/+16
2019-09-30xfs_scrub: batch inumbers calls during fscounters calculationDarrick J. Wong1-2/+4
2019-09-30xfs_scrub: convert to per-ag inode bulkstat operationsDarrick J. Wong2-30/+12
2019-09-30misc: convert from XFS_IOC_FSINUMBERS to XFS_IOC_INUMBERSDarrick J. Wong2-28/+39
2019-09-30misc: convert xfrog_bulkstat functions to have v5 semanticsDarrick J. Wong7-32/+35
2019-09-26xfs_scrub: remove unnecessary wakeup wait in scan_fs_treeDarrick J. Wong1-1/+2
2019-09-26xfs_scrub: fix nr_dirs accounting problemsDarrick J. Wong1-13/+29
2019-09-26xfs_scrub: refactor queueing of subdir scan work itemDarrick J. Wong1-42/+67
2019-09-26xfs_scrub: check summary countersDarrick J. Wong5-0/+43
2019-09-26xfs_scrub: separate internal metadata scrub functionsDarrick J. Wong1-49/+52
2019-09-26libfrog: add online scrub/repair for superblock countersDarrick J. Wong1-0/+2
2019-09-26libfrog: share scrub headersDarrick J. Wong1-101/+40
2019-09-26xfs_scrub: remove unnecessary fd parameter from file scrubbersDarrick J. Wong3-35/+25
2019-09-09libfrog: move libfrog.h to libfrog/util.hDarrick J. Wong2-2/+2
2019-09-09libfrog: move path.h to libfrog/Darrick J. Wong20-20/+20
2019-09-09libfrog: move workqueue.h to libfrog/Darrick J. Wong11-11/+11
2019-09-09libfrog: move ptvar.h to libfrog/Darrick J. Wong3-3/+3
2019-09-09libfrog: move fsgeom.h to libfrog/Darrick J. Wong3-3/+3
2019-09-09libfrog: move bitmap.h to libfrog/Darrick J. Wong1-1/+1
2019-09-09libfrog: move avl64.h to libfrog/Darrick J. Wong1-1/+1
2019-09-09libfrog: refactor open-coded INUMBERS callsDarrick J. Wong2-23/+14
2019-09-09libfrog: create xfd_open functionDarrick J. Wong1-17/+8
2019-09-09libfrog: refactor open-coded bulkstat callsDarrick J. Wong1-24/+15
2019-09-09libfrog: create online fs geometry convertersDarrick J. Wong6-13/+14
2019-09-09libfrog: store more inode and block geometry in struct xfs_fdDarrick J. Wong8-22/+13
2019-09-09libfrog: introduce xfs_fd to wrap an fd to a file on an xfs filesystemDarrick J. Wong14-65/+67
2019-09-09libfrog: refactor online geometry queriesDarrick J. Wong2-2/+5
2019-06-06xfs_scrub: fix background-mode sleep throttlingDarrick J. Wong1-5/+7
2019-06-06libfrog: fix bitmap return valuesDarrick J. Wong1-11/+7
2019-04-26scrub: fix Makefile targets which depend on builddefsDarrick J. Wong1-5/+6
2019-04-26xfs_scrub: remove redundant function declarationsDarrick J. Wong1-2/+0
2019-04-26xfs_scrub: remove pointless xfs_verify_error_info structDarrick J. Wong1-17/+7
2019-04-26xfs_scrub: rename confusing structureDarrick J. Wong1-35/+35
2019-04-26xfs_scrub: remove xfs_ prefixes from structure namesDarrick J. Wong2-37/+37
2019-04-26xfs_scrub: include unicrash.h in unicrash.cDarrick J. Wong1-0/+1
2019-04-26libfrog: hoist bitmap out of scrubDarrick J. Wong3-419/+0
2019-04-18xfs_scrub: fix typo in unicrash header fileEric Sandeen1-1/+1
2019-03-28xfs_scrub: check label for misleading charactersDarrick J. Wong3-0/+83
2019-03-28xfs_scrub: don't close mnt_fd when mnt_fd open failsDarrick J. Wong1-3/+5
2019-03-28xfs_scrub: one read/verify pool per diskDarrick J. Wong3-51/+98
2019-03-28xfs_scrub: don't expose internal pool stateDarrick J. Wong3-34/+45
2019-03-28xfs_scrub: use datadev parallelization estimates for thread countDarrick J. Wong1-7/+7
2019-03-28xfs_scrub: rename the global nr_threadsDarrick J. Wong4-8/+8
2019-03-28xfs_scrub_all.timer: activate after most of the system is upDarrick J. Wong1-0/+1
2019-03-28xfs_scrub_all: walk the lsblk device/fs hierarchy correctlyDarrick J. Wong1-11/+17
2019-01-28xfsprogs: remove generated scrub files under clean targetEric Sandeen1-0/+2
2018-12-12xfs_scrub: move everything to /usr/sbinDarrick J. Wong1-6/+6
2018-12-12xfs_scrub: fix fractional reporting of single inodesDarrick J. Wong3-18/+23
2018-12-12xfs_scrub: handle totally empty inode chunksDarrick J. Wong1-0/+6
2018-10-30xfs_scrub: lack of kernel support is not a service failureDarrick J. Wong1-0/+6
2018-10-17xfs_scrub: remove shadow var from run_scrub_phases()Eric Sandeen1-4/+5
2018-10-17xfsprogs: misc static function warning fixesEric Sandeen1-0/+2
2018-10-10xfs_scrub_all: fix systemd escaping againDarrick J. Wong1-2/+7
2018-10-09xfsprogs: make static things staticEric Sandeen1-1/+1
2018-10-09xfsprogs: don't use 0 as pointerEric Sandeen2-4/+4
2018-10-09scrub: remove redundant debug testEric Sandeen1-1/+1
2018-10-09xfsprogs: remove PKG_PLATFORM macroEric Sandeen1-2/+2
2018-08-01xfs_scrub: only retry non-permanent repair failuresDarrick J. Wong1-11/+26
2018-08-01xfs_scrub: rename NOFIX_COMPLAIN to be less confusingDarrick J. Wong4-6/+6
2018-08-01xfs_scrub: don't error out if an optimize-only repair isn't supportedDarrick J. Wong1-3/+4
2018-08-01xfs_scrub: allow developers to force repairsDarrick J. Wong1-2/+6
2018-08-01xfs_scrub: schedule and manage optimizations/repairs to the filesystemDarrick J. Wong11-75/+656
2018-08-01xfs_scrub: destroy workqueues when erroring outDarrick J. Wong2-2/+4
2018-07-23xfsprogs: convert to SPDX license tagsDave Chinner37-542/+39
2018-05-31xfs_scrub: actually check for errors coming from close()Darrick J. Wong5-9/+46
2018-04-12xfs_scrub_all: use system encoding for lsblk output decodingDarrick J. Wong1-1/+1
2018-04-12xfs_scrub_all: escape paths being passed to systemd service instancesDarrick J. Wong1-1/+23
2018-04-12xfs_scrub: disable private /tmp for scrub serviceDarrick J. Wong1-1/+2
2018-04-12xfs_scrub_all: report versionDarrick J. Wong2-0/+12
2018-04-12xfs_scrub: refactor mountpoint finding code to use libfrog path codeDarrick J. Wong5-93/+9
2018-04-12xfs_scrub: don't warn about confusing names if dir/file only writable by rootDarrick J. Wong1-3/+31
2018-04-12xfs_scrub: use Unicode skeleton function to find confusing namesDarrick J. Wong1-27/+120
2018-04-12xfs_scrub: check name for suspicious charactersDarrick J. Wong1-0/+110
2018-04-12xfs_scrub: transition from libunistring to libicu for Unicode processingDarrick J. Wong3-21/+55
2018-04-12xfs_scrub: make name_entry a first class structureDarrick J. Wong1-107/+157
2018-04-12xfs_scrub: communicate name problems via flagset instead of booleansDarrick J. Wong1-13/+30
2018-04-12xfs_scrub: don't complain about different normalizationDarrick J. Wong1-10/+3
2018-04-12xfs_scrub: only run ascii name checks if unicode name checkerDarrick J. Wong1-11/+13
2018-04-12xfs_scrub: avoid buffer overflow when scanning attributesDarrick J. Wong1-3/+3
2018-03-27xfs_scrub: initialize movon in xfs_scrub_connectionsEric Sandeen1-1/+1
2018-03-27xfs_scrub: synchronize error levels & loggingEric Sandeen1-16/+13
2018-03-26xfs_scrub: add missing paths headerBaruch Siach1-0/+1
2018-03-08xfs_scrub: don't try to scan xattrs if bstat says there aren't anyDarrick J. Wong1-3/+6
2018-03-08xfs_scrub: fix #include ordering to avoid build failureDarrick J. Wong21-90/+21
2018-03-08xfs_scrub: don't ask user to run xfs_repair for only warningsDarrick J. Wong3-3/+8
2018-03-08xfs_scrub: log operational messages when interactiveDarrick J. Wong5-5/+74
2018-03-08xfs_scrub: make interpreter explicit to python3Luis R. Rodriguez1-1/+1
2018-02-23Add xfs_scrub_fail systemd service file docs entryNathan Scott1-0/+1
2018-02-13xfs_scrub: refactor outcome display into a separate helperDarrick J. Wong1-18/+28
2018-02-12xfs_scrub: always init phase informationDarrick J. Wong1-5/+5
2018-02-12xfs_scrub: reclassify some of the warning messagesDarrick J. Wong2-5/+5
2018-02-12xfs_scrub: reclassify runtime errorsDarrick J. Wong10-25/+25
2018-02-12xfs_scrub: classify lack of ioctl support as a runtime errorDarrick J. Wong1-2/+2
2018-02-12xfs_scrub: remove preen modeDarrick J. Wong5-54/+9
2018-02-05xfs_scrub: kill dead codeDarrick J. Wong1-1/+0
2018-02-05xfs_scrub: close dir_fd if we don't get a DIR pointerDarrick J. Wong1-0/+2
2018-02-02xfs_scrub: handle scrub-only kernels more helpfullyEric Sandeen1-3/+3
2018-02-02xfs_scrub: wire up repair ioctlDarrick J. Wong9-0/+188
2018-02-02xfs_scrub: integrate services with systemdDarrick J. Wong9-1/+194
2018-02-02xfs_scrub: create a script to scrub all xfs filesystemsDarrick J. Wong2-3/+166
2018-02-02xfs_scrub: progress indicatorDarrick J. Wong13-7/+450
2018-02-02xfs_scrub: fstrim the free areas if there are no errors on the filesystemDarrick J. Wong6-2/+128
2018-02-02xfs_scrub: check summary countersDarrick J. Wong6-1/+302
2018-02-02xfs_scrub: optionally use SCSI READ VERIFY commands to scrub data blocks on diskDarrick J. Wong3-1/+154
2018-02-02xfs_scrub: scrub file data blocksDarrick J. Wong6-2/+783
2018-02-02xfs_scrub: create infrastructure to read verify data blocksDarrick J. Wong4-0/+323
2018-02-02xfs_scrub: create a bitmap data structureDarrick J. Wong3-0/+450
2018-02-02xfs_scrub: warn about normalized Unicode name collisionsDarrick J. Wong5-25/+489
2018-02-02xfs_scrub: warn about suspicious characters in directory/xattr namesDarrick J. Wong5-0/+257
2018-02-02xfs_scrub: check directory connectivityDarrick J. Wong4-0/+104
2018-02-02xfs_scrub: scan inodesDarrick J. Wong4-0/+156
2018-02-02xfs_scrub: thread-safe stats counterDarrick J. Wong3-0/+135
2018-02-02xfs_scrub: scan filesystem and AG metadataDarrick J. Wong4-0/+136
2018-02-02xfs_scrub: wrap the scrub ioctlDarrick J. Wong6-0/+716
2018-02-02xfs_scrub: filesystem counter collection functionsDarrick J. Wong3-0/+243
2018-02-02xfs_scrub: add file space map iteration functionsDarrick J. Wong3-0/+198
2018-02-02xfs_scrub: add space map iteration functionsDarrick J. Wong3-0/+289
2018-02-02xfs_scrub: add inode iteration functionsDarrick J. Wong3-0/+331
2018-02-02xfs_scrub: find XFS filesystem geometryDarrick J. Wong7-1/+376
2018-02-02xfs_scrub: create an abstraction for a block deviceDarrick J. Wong3-0/+209
2018-02-02xfs_scrub: figure out how many threads we're going to needDarrick J. Wong3-0/+31
2018-02-02xfs_scrub: dispatch the various phases of the scrub programDarrick J. Wong4-0/+351
2018-02-02xfs_scrub: set up command line argument parsingDarrick J. Wong3-1/+266
2018-02-02xfs_scrub: common error handlingDarrick J. Wong4-0/+133
2018-02-02xfs_scrub: create online filesystem scrub programDarrick J. Wong5-0/+217