]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: add a couple of queries to iterate free extents in the rtbitmap
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 11 May 2017 19:01:07 +0000 (14:01 -0500)
committerEric Sandeen <sandeen@redhat.com>
Thu, 11 May 2017 19:01:07 +0000 (14:01 -0500)
commit0b10a7f446749273495ea3f29e98a68cd9ba0b0e
treed579c3d2f2f44f79b8e1fd17b662e45f9c6245f1
parent7e05e85693ed924dab2578a1b1e70497ac4c4231
xfs: add a couple of queries to iterate free extents in the rtbitmap

Source kernel commit: fb3c3de2f65c007f3ee50538ea131f5c4603c7bc

Add _query_range and _query_all functions to the realtime bitmap
allocator.  These two functions are similar in usage to the btree
functions with the same name and will be used for getfsmap and scrub.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/libxfs_priv.h
libxfs/xfs_rtbitmap.c