]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: move and rename xfs_trans_committed_bulk
authorDave Chinner <dchinner@redhat.com>
Tue, 16 Jul 2024 21:50:15 +0000 (14:50 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 30 Jul 2024 00:17:09 +0000 (17:17 -0700)
commit3430d4e15cf7b65a3b577a0bb2736f8e40f99a39
tree9f137c5349e7a4fc7a8c284af5a8d828d979893b
parentc0186497ad05d12a6cbc913a97d06407f7b30add
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