]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: add a couple of queries to iterate free extents in the rtbitmap
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 28 Mar 2017 21:56:36 +0000 (14:56 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 3 Apr 2017 22:18:17 +0000 (15:18 -0700)
commite5b0fce443fcfaf3f9b221005f43cdc9b8afb6c3
tree521081abafe35299f246d9a9498f32a6ee78a43d
parent1800a2e551f30fe5289d59c4022b54f95ffc570b
xfs: add a couple of queries to iterate free extents in the rtbitmap

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>
fs/xfs/libxfs/xfs_rtbitmap.c
fs/xfs/xfs_rtalloc.h