]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: create refcount update intent log items
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 25 Oct 2016 01:20:28 +0000 (12:20 +1100)
committerDave Chinner <david@fromorbit.com>
Tue, 25 Oct 2016 01:20:28 +0000 (12:20 +1100)
commita5a35c0d82f35d979b53d491bd2f76bb0a763944
treedbd1735516152f0b760522383532936dc864f5da
parentbc859611285b0edd45c69e1caf93ba650e19ca87
xfs: create refcount update intent log items

Source kernel commit: baf4bcacb715cebd412b2f4bb69989ef24496523

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>
libxfs/xfs_log_format.h