diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2016-10-03 09:11:20 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2016-10-03 09:11:20 -0700 |
commit | baf4bcacb715cebd412b2f4bb69989ef24496523 (patch) | |
tree | 90fd4fc2e4b7c1972c96fae9b5f872159b21ad39 /fs/xfs/xfs_trans_refcount.c | |
parent | bdf28630b72154e5766cbad5874576b6f22e7237 (diff) | |
download | linux-baf4bcacb715cebd412b2f4bb69989ef24496523.tar.bz2 |
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>
Diffstat (limited to 'fs/xfs/xfs_trans_refcount.c')
0 files changed, 0 insertions, 0 deletions