]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
libfrog: hoist free space histogram code
authorDarrick J. Wong <djwong@kernel.org>
Mon, 29 Jul 2024 23:23:13 +0000 (16:23 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 30 Jul 2024 00:01:09 +0000 (17:01 -0700)
commitc7a71a26fbd116d62c8aa5da5e9de3f8d2fd7805
treec92359007df44488a1d02ac0af0d6b7439ea8aab
parent5ccdd24dc9987b50333332b7381ff1a305e67ef7
libfrog: hoist free space histogram code

Combine the two free space histograms in xfs_db and xfs_spaceman into a
single implementation.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
db/freesp.c
libfrog/Makefile
libfrog/histogram.c [new file with mode: 0644]
libfrog/histogram.h [new file with mode: 0644]
spaceman/freesp.c