diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2016-10-03 16:11:28 (GMT) |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2016-10-04 18:05:44 (GMT) |
commit | 9f3afb57d5f1e7145986132106c6ca91f8136cc2 (patch) | |
tree | 37792cc32fef4ac1dfdb40049bd041f8259f2dda /fs/xfs/libxfs/xfs_defer.h | |
parent | 4847acf868bb426455c8b703c80ed5fc5e2ee556 (diff) | |
download | linux-9f3afb57d5f1e7145986132106c6ca91f8136cc2.tar.xz |
xfs: implement deferred bmbt map/unmap operations
Implement deferred versions of the inode block map/unmap functions.
These will be used in subsequent patches to make reflink operations
atomic.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/libxfs/xfs_defer.h')
-rw-r--r-- | fs/xfs/libxfs/xfs_defer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/libxfs/xfs_defer.h b/fs/xfs/libxfs/xfs_defer.h index 4d94a86..f6e93ef 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_BMAP, XFS_DEFER_OPS_TYPE_REFCOUNT, XFS_DEFER_OPS_TYPE_RMAP, XFS_DEFER_OPS_TYPE_FREE, |