summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_trace.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2016-08-03 11:12:25 +1000
committerDave Chinner <david@fromorbit.com>2016-08-03 11:12:25 +1000
commit4e0cc29b91a8056f902f0974b49084b07491905f (patch)
tree84432b0c120d06e2ad810c31bc37ad7d380ebd97 /fs/xfs/xfs_trace.c
parent28a89567b8bd95f42c17822d276cccb5b085810d (diff)
downloadlwn-4e0cc29b91a8056f902f0974b49084b07491905f.tar.gz
lwn-4e0cc29b91a8056f902f0974b49084b07491905f.zip
xfs: move deferred operations into a separate file
All the code around struct xfs_bmap_free basically implements a deferred operation framework through which we can roll transactions (to unlock buffers and avoid violating lock order rules) while managing all the necessary log redo items. Previously we only used this code to free extents after some sort of mapping operation, but with the advent of rmap and reflink, we suddenly need to do more than that. With that in mind, xfs_bmap_free really becomes a deferred ops control structure. Rename the structure and move the deferred ops into their own file to avoid further bloating of the bmap code. 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/xfs_trace.c')
0 files changed, 0 insertions, 0 deletions