summaryrefslogtreecommitdiffstats
path: root/fs/xfs/libxfs/xfs_defer.h
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2016-08-03 11:14:35 +1000
committerDave Chinner <david@fromorbit.com>2016-08-03 11:14:35 +1000
commit9749fee83f38fca8dbe67161a033db22e3c4a2dd (patch)
treea608c9bd96793c2a2d652c480b176fd2d7ae7083 /fs/xfs/libxfs/xfs_defer.h
parentbba61cbf30bebc39c5227e131625de1521d27b18 (diff)
downloadop-kernel-dev-9749fee83f38fca8dbe67161a033db22e3c4a2dd.zip
op-kernel-dev-9749fee83f38fca8dbe67161a033db22e3c4a2dd.tar.gz
xfs: enable the xfs_defer mechanism to process extents to free
Connect the xfs_defer mechanism with the pieces that we'll need to handle deferred extent freeing. We'll wire up the existing code to our new deferred mechanism later. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_defer.h')
-rw-r--r--fs/xfs/libxfs/xfs_defer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/libxfs/xfs_defer.h b/fs/xfs/libxfs/xfs_defer.h
index a227bd2..b9b5a92 100644
--- a/fs/xfs/libxfs/xfs_defer.h
+++ b/fs/xfs/libxfs/xfs_defer.h
@@ -51,6 +51,7 @@ struct xfs_defer_pending {
* find all the space it needs.
*/
enum xfs_defer_ops_type {
+ XFS_DEFER_OPS_TYPE_FREE,
XFS_DEFER_OPS_TYPE_MAX,
};
OpenPOWER on IntegriCloud