]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: get rid of the log item descriptor
authorDave Chinner <dchinner@redhat.com>
Thu, 28 Jun 2018 20:11:55 +0000 (15:11 -0500)
committerEric Sandeen <sandeen@redhat.com>
Thu, 28 Jun 2018 20:11:55 +0000 (15:11 -0500)
commit2fdd378ad0b31a16e66ede25d352c4b5ed88c714
tree8ac2ab999980a615b5f01d421e45999694d22655
parentf11d5eddbc48abf599687a124e37b57812d10f39
xfs: get rid of the log item descriptor

Source kernel commit: e6631f85546c8ff8842f62c73be44ff502d4287a

It's just a connector between a transaction and a log item. There's
a 1:1 relationship between a log item descriptor and a log item,
and a 1:1 relationship between a log item descriptor and a
transaction. Both relationships are created and terminated at the
same time, so why do we even have the descriptor?

Replace it with a specific list_head in the log item and a new
log item dirtied flag to replace the XFS_LID_DIRTY flag.

Signed-Off-By: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
[darrick: fix up deferred agfl intent finish_item use of LID_DIRTY]
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
include/xfs_trans.h
libxfs/init.c
libxfs/libxfs_priv.h
libxfs/logitem.c
libxfs/trans.c
libxfs/xfs_bmap.c
libxfs/xfs_shared.h