xfs: introduce rmap extent operation stubs
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 3 Aug 2016 01:33:43 +0000 (11:33 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 3 Aug 2016 01:33:43 +0000 (11:33 +1000)
commit673930c34a4500c616cf9b2bbe1ae131ead2e155
tree954b737dbb42276aeb669f8eabca8bf71a592276
parent340785cca16246f82ccaf11740d885017a9e9341
xfs: introduce rmap extent operation stubs

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>
fs/xfs/Makefile
fs/xfs/libxfs/xfs_alloc.c
fs/xfs/libxfs/xfs_rmap.c [new file with mode: 0644]
fs/xfs/libxfs/xfs_rmap.h
fs/xfs/xfs_trace.h