diff options
author | Dave Chinner <[email protected]> | 2020-03-25 18:18:21 -0700 |
---|---|---|
committer | Darrick J. Wong <[email protected]> | 2020-03-27 08:32:53 -0700 |
commit | dd401770b0ff68f896002649c593bbb9560f916d (patch) | |
tree | ed4140948323f76287ea759b1c31f4ea55b514bf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9590e9c68449055c97e954118699bc9d470d7e30 (diff) |
xfs: refactor and split xfs_log_done()
xfs_log_done() does two separate things. Firstly, it triggers commit
records to be written for permanent transactions, and secondly it
releases or regrants transaction reservation space.
Since delayed logging was introduced, transactions no longer write
directly to the log, hence they never have the XLOG_TIC_INITED flag
cleared on them. Hence transactions never write commit records to
the log and only need to modify reservation space.
Split up xfs_log_done into two parts, and only call the parts of the
operation needed for the context xfs_log_done() is currently being
called from.
Signed-off-by: Dave Chinner <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Brian Foster <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions