xfs: create refcount update intent log items
Create refcount update intent/done log items to record redo information in the log. Because we need to roll transactions between updating the bmbt mapping and updating the reverse mapping, we also have to track the status of the metadata updates that will be recorded in the post-roll transactions, just in case we crash before committing the final transaction. This mechanism enables log recovery to finish what was already started. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Showing
fs/xfs/xfs_refcount_item.c
0 → 100644
This diff is collapsed.
fs/xfs/xfs_refcount_item.h
0 → 100644
Please register or sign in to comment