Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | xfs: log refcount intent items | Darrick J. Wong | 2016-10-03 | 1 | -0/+1 |
| | | | | | | | | | Provide a mechanism for higher levels to create CUI/CUD items, submit them to the log, and a stub function to deal with recovered CUI items. These parts will be connected to the refcountbt in a later patch. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> | ||||
* | xfs: create refcount update intent log items | Darrick J. Wong | 2016-10-03 | 1 | -0/+100 |
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> |