summaryrefslogtreecommitdiff
path: root/fs/coda/cnode.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2021-08-10 18:00:42 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-08-16 12:09:29 -0700
commitc45aba40cf5b2988c0bebee8c9b846c88aa651eb (patch)
tree788256b29e5946fe15d251892fb90c3d9e8fc6ed /fs/coda/cnode.c
parent2ce82b722de980deef809438603b7e95156d3818 (diff)
downloadlinux-c45aba40cf5b2988c0bebee8c9b846c88aa651eb.tar.gz
linux-c45aba40cf5b2988c0bebee8c9b846c88aa651eb.tar.bz2
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 'fs/coda/cnode.c')
0 files changed, 0 insertions, 0 deletions