]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_scrub: thread-safe stats counter
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 2 Feb 2018 15:32:46 +0000 (09:32 -0600)
committerEric Sandeen <sandeen@redhat.com>
Fri, 2 Feb 2018 15:32:46 +0000 (09:32 -0600)
commitd11cc69eb14eea967463d6f76a4f55b09598fa7e
tree6f201a59b6232d9b1551b99ae97408e279b04715
parente758ad0198760fcb4daaf3560feb7292d314b344
xfs_scrub: thread-safe stats counter

Create a threaded stats counter that we'll use to track scan progress.
This includes things like how much of the disk blocks we've scanned,
or later how much progress we've made in each phase.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
include/ptvar.h [new file with mode: 0644]
libfrog/Makefile
libfrog/ptvar.c [new file with mode: 0644]
scrub/Makefile
scrub/counter.c [new file with mode: 0644]
scrub/counter.h [new file with mode: 0644]