]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
xfs: enable the xfs_defer mechanism to process extents to free
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 10 Aug 2016 01:29:40 +0000 (11:29 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 10 Aug 2016 01:29:40 +0000 (11:29 +1000)
Source kernel commit: 9749fee83f38fca8dbe67161a033db22e3c4a2dd

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>
libxfs/xfs_defer.h

index a227bd2cece8808ba7174d747ad2ffbc86a7bc07..b9b5a92ffa6cf4c8f2109dffd7cf317c9a094ebd 100644 (file)
@@ -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,
 };