]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: add log item method to return related intents
authorDave Chinner <dchinner@redhat.com>
Wed, 4 May 2022 01:46:39 +0000 (11:46 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 4 May 2022 01:46:39 +0000 (11:46 +1000)
commitbe4af90995a1185b096c2dd36e95148d5beac75d
treee85aa1a0a8d8636b0228928a6b05a8fda0a4e693
parentf1dab2d5034d83a72148ce6e5a61ad1f57161648
xfs: add log item method to return related intents

To apply a whiteout to an intent item when an intent done item is
committed, we need to be able to retrieve the intent item from the
the intent done item. Add a log item op method for doing this, and
wire all the intent done items up to it.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Allison Henderson <allison.henderson@oracle.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_bmap_item.c
fs/xfs/xfs_extfree_item.c
fs/xfs/xfs_refcount_item.c
fs/xfs/xfs_rmap_item.c
fs/xfs/xfs_trans.h