diff options
author | 2021-08-10 18:00:42 -0700 | |
---|---|---|
committer | 2021-08-16 12:09:29 -0700 | |
commit | c45aba40cf5b2988c0bebee8c9b846c88aa651eb (patch) | |
tree | 788256b29e5946fe15d251892fb90c3d9e8fc6ed /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xfs: move xlog_commit_record to xfs_log_cil.c (diff) | |
download | linux-dev-c45aba40cf5b2988c0bebee8c9b846c88aa651eb.tar.xz linux-dev-c45aba40cf5b2988c0bebee8c9b846c88aa651eb.zip |
xfs: pass a CIL context to xlog_write()
Pass the CIL context to xlog_write() rather than a pointer to a LSN
variable. Only the CIL checkpoint calls to xlog_write() need to know
about the start LSN of the writes, so rework xlog_write to directly
write the LSNs into the CIL context structure.
This removes the commit_lsn variable from xlog_cil_push_work(), so
now we only have to issue the commit record ordering wakeup from
there.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions