]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: create bmbt update intent log items
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 25 Oct 2016 01:29:43 +0000 (12:29 +1100)
committerDave Chinner <david@fromorbit.com>
Tue, 25 Oct 2016 01:29:43 +0000 (12:29 +1100)
commit0f7dadcf5bc9153dc13c2c09bf8985001625bf4d
tree577c3bc752a4bba673fe0fb37d36cdf2af309ebf
parent940973309b87fec90131052342756bd9b6ea69e3
xfs: create bmbt update intent log items

Source kernel commit: 6413a01420c2fbf03b3d059795f541caeb962e86

Create bmbt update intent/done log items to record redo information in
the log.  Because we roll transactions multiple times for reflink
operations, we also have to track the status of the metadata updates
that will be recorded in the post-roll transactions 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>
libxfs/xfs_log_format.h