]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: move ->iop_relog to struct xfs_defer_op_type
authorDarrick J. Wong <djwong@kernel.org>
Mon, 15 Apr 2024 23:07:32 +0000 (16:07 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 17 Apr 2024 21:06:24 +0000 (14:06 -0700)
commitcaa1ab41c71ec318c22193c73a5bfdaa1b8be203
treec5fad3a7d67af6347a57d50c449954104cf8d36d
parentb315a11ddcb25a7b47b5ed2d47ca5e4b3b7ac53f
xfs: move ->iop_relog to struct xfs_defer_op_type

Source kernel commit: a49c708f9a445457f6a5905732081871234f61c6

The only log items that need relogging are the ones created for deferred
work operations, and the only part of the code base that relogs log
items is the deferred work machinery.  Move the function pointers.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bill O'Donnell <bodonnel@redhat.com>
include/xfs_trans.h
libxfs/xfs_defer.c
libxfs/xfs_defer.h