diff options
author | Dave Chinner <david@fromorbit.com> | 2022-04-21 10:34:15 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2022-04-21 10:34:15 +1000 |
commit | 54021b624261fe5b429d7ab4d081c3b2cca153a8 (patch) | |
tree | 049f98a79b34659ea0d37f6dcb64e0184a19de72 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | ffa04c1f2cb047d6a44c3570bfb6e1ca5ba7f489 (diff) |
xfs: embed the xlog_op_header in the commit record
Remove the final case where xlog_write() has to prepend an opheader
to a log transaction. Similar to the start record, the commit record
is just an empty opheader with a XLOG_COMMIT_TRANS type, so we can
just make this the payload for the region being passed to
xlog_write() and remove the special handling in xlog_write() for
the commit record.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chandan Babu R <chandan.babu@oracle.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions