]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: introduce rmap extent operation stubs
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 10 Aug 2016 01:53:23 +0000 (11:53 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 10 Aug 2016 01:53:23 +0000 (11:53 +1000)
commit631ac87acb0cba6ff4c7ab141925a898eba6facb
tree0329fda0c2fea64ef02491e7fc3323713c91fcf6
parent85aec44f17054ef4e8ed14a89b266459c958dfe2
xfs: introduce rmap extent operation stubs

Source kernel commit: 673930c34a4500c616cf9b2bbe1ae131ead2e155

Originally-From: Dave Chinner <dchinner@redhat.com>

Add the stubs into the extent allocation and freeing paths that the
rmap btree implementation will hook into. While doing this, add the
trace points that will be used to track rmap btree extent
manipulations.

[darrick.wong@oracle.com: Extend the stubs to take full owner info.]

Signed-off-by: Dave Chinner <dchinner@redhat.com>
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>
include/libxfs.h
include/xfs_trace.h
libxfs/Makefile
libxfs/xfs_alloc.c
libxfs/xfs_rmap.c [new file with mode: 0644]
libxfs/xfs_rmap.h
libxfs/xfs_rmap_btree.h [new file with mode: 0644]