From: Darrick J. Wong Date: Wed, 10 Aug 2016 04:49:44 +0000 (+1000) Subject: xfs: enable the xfs_defer mechanism to process rmaps to update X-Git-Tag: v4.8.0-rc1~63 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=589b52d6814a97b95143c5ec4b67e8451b996f7c;p=thirdparty%2Fxfsprogs-dev.git xfs: enable the xfs_defer mechanism to process rmaps to update 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 Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner --- diff --git a/libxfs/xfs_defer.h b/libxfs/xfs_defer.h index b9b5a92ff..cc3981c48 100644 --- a/libxfs/xfs_defer.h +++ b/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_RMAP, XFS_DEFER_OPS_TYPE_FREE, XFS_DEFER_OPS_TYPE_MAX, };