]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: move and rename xfs_trans_committed_bulk
authorDave Chinner <dchinner@redhat.com>
Thu, 20 Jun 2024 07:21:19 +0000 (09:21 +0200)
committerChandan Babu R <chandanbabu@kernel.org>
Thu, 4 Jul 2024 07:16:46 +0000 (12:46 +0530)
commit613e2fdbbc7b4bd0cd324e3a025b3061eb8c947d
tree47a61b57b4d5a7ec8b52c02254c1394ce325b42b
parent9ff4490e2ab364ec433f15668ef3f5edfb53feca
xfs: move and rename xfs_trans_committed_bulk

Ever since the CIL and delayed logging was introduced,
xfs_trans_committed_bulk() has been a purely CIL checkpoint
completion function and not a transaction commit completion
function. Now that we are adding log specific updates to this
function, it really does not have anything to do with the
transaction subsystem - it is really log and log item level
functionality.

This should be part of the CIL code as it is the callback
that moves log items from the CIL checkpoint to the AIL. Move it
and rename it to xlog_cil_ail_insert().

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: Chandan Babu R <chandanbabu@kernel.org>
fs/xfs/xfs_log_cil.c
fs/xfs/xfs_trans.c
fs/xfs/xfs_trans_priv.h