]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - fs/xfs/libxfs/xfs_alloc.c
xfs: provide a query_range function for freespace btrees
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 28 Mar 2017 21:56:35 +0000 (14:56 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 3 Apr 2017 22:18:17 +0000 (15:18 -0700)
commit2d520bfaa28b60401fbfe581f485a0bb952d881c
treea343fc588824a4c60dc5eb1f0f5a9164c3fc92d2
parent08438b1e386b7899e8a2ffef59d6ebf29aac530f
xfs: provide a query_range function for freespace btrees

Implement a query_range function for the bnobt and cntbt.  This will
be used for getfsmap fallback if there is no rmapbt and by the online
scrub and repair code.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
fs/xfs/libxfs/xfs_alloc.c
fs/xfs/libxfs/xfs_alloc.h