diff options
author | Dave Chinner <dchinner@redhat.com> | 2021-08-11 03:00:42 +0200 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-08-16 21:09:29 +0200 |
commit | c45aba40cf5b2988c0bebee8c9b846c88aa651eb (patch) | |
tree | 788256b29e5946fe15d251892fb90c3d9e8fc6ed /.get_maintainer.ignore | |
parent | xfs: move xlog_commit_record to xfs_log_cil.c (diff) | |
download | linux-c45aba40cf5b2988c0bebee8c9b846c88aa651eb.tar.xz linux-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 '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions