]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: teach rmapbt to support interval queries
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 10 Aug 2016 04:38:58 +0000 (14:38 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 10 Aug 2016 04:38:58 +0000 (14:38 +1000)
commit890e11746925e83ee06fcf27d676cf71b2301380
tree6c59529cf6e482f6d42ac53c3c696463ec8c6dc3
parent634b234e33361d61ad4229a40f77b33ed7fbe31c
xfs: teach rmapbt to support interval queries

Source kernel commit: c543838a1e00a5f8791e59ae570b1030d70906f2

Now that the generic btree code supports querying all records within a
range of keys, use that functionality to allow us to ask for all the
extents mapped to a range of physical blocks.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
libxfs/xfs_rmap.c
libxfs/xfs_rmap.h