]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
xfs: enable the xfs_defer mechanism to process rmaps to update
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 10 Aug 2016 04:49:44 +0000 (14:49 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 10 Aug 2016 04:49:44 +0000 (14:49 +1000)
Source kernel commit: f8dbebef98f0b960a0e91d6b8d45c288c377797b

Connect the xfs_defer mechanism with the pieces that we'll need to
handle deferred rmap updates.  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: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
libxfs/xfs_defer.h

index b9b5a92ffa6cf4c8f2109dffd7cf317c9a094ebd..cc3981c482968bb0d16276402637bf16d769fdf4 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_RMAP,
        XFS_DEFER_OPS_TYPE_FREE,
        XFS_DEFER_OPS_TYPE_MAX,
 };