]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_scrub: filesystem counter collection functions
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)
commit604dd3345f350379ded09d4a2218f4478844f245
tree41831efdd3da2f5cfabcc127adaea655cb01419f
parentc6eb0ff20c2a9e115d52a7a98b53984944c43829
xfs_scrub: filesystem counter collection functions

Add a couple of helper functions to estimate the inode and block
counters on the filesystem.

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>
scrub/Makefile
scrub/fscounters.c [new file with mode: 0644]
scrub/fscounters.h [new file with mode: 0644]